microsoft_graph 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/auto-merge-dependabot.yml +32 -0
- data/CHANGELOG.md +6 -0
- data/lib/chats/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/communications/calls/item/participants/invite/invite_request_builder.rb +2 -2
- data/lib/drives/item/bundles/bundles_request_builder.rb +49 -0
- data/lib/drives/item/items/item/workbook/functions/beta_dist/beta_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/beta_dist/beta_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/beta_inv/beta_inv_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/beta_inv/beta_inv_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/binom_dist/binom_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/binom_dist/binom_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/binom_inv/binom_inv_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/binom_inv/binom_inv_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/confidence_t/confidence_t_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/confidence_t/confidence_t_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/erf_precise/erf_precise_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/erf_precise/erf_precise_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/error_type/error_type_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/error_type/error_type_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/expon_dist/expon_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/expon_dist/expon_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/f_dist/f_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/f_dist/f_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/f_inv/f_inv_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/f_inv/f_inv_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/floor_math/floor_math_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/floor_math/floor_math_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/floor_precise/floor_precise_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/floor_precise/floor_precise_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/functions_request_builder.rb +61 -61
- data/lib/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/norm_dist/norm_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/norm_dist/norm_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/norm_inv/norm_inv_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/norm_inv/norm_inv_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/rank_avg/rank_avg_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/rank_avg/rank_avg_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/rank_eq/rank_eq_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/rank_eq/rank_eq_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/skew_p/skew_p_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/skew_p/skew_p_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/t_dist/t_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/t_dist/t_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/t_dist_2_t/{t_dist_2_t_post_request_body.rb → t_dist2_t_post_request_body.rb} +4 -4
- data/lib/drives/item/items/item/workbook/functions/t_dist_2_t/{t_dist_2_t_request_builder.rb → t_dist2_t_request_builder.rb} +2 -2
- data/lib/drives/item/items/item/workbook/functions/t_dist_2_t/t_dist_2_t.rb +1 -1
- data/lib/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/t_inv/t_inv_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/t_inv/t_inv_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/t_inv_2_t/{t_inv_2_t_post_request_body.rb → t_inv2_t_post_request_body.rb} +4 -4
- data/lib/drives/item/items/item/workbook/functions/t_inv_2_t/{t_inv_2_t_request_builder.rb → t_inv2_t_request_builder.rb} +2 -2
- data/lib/drives/item/items/item/workbook/functions/t_inv_2_t/t_inv_2_t.rb +1 -1
- data/lib/drives/item/items/item/workbook/functions/var_p/var_p_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/var_p/var_p_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/var_s/var_s_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/var_s/var_s_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/functions/z_test/z_test_post_request_body.rb +3 -3
- data/lib/drives/item/items/item/workbook/functions/z_test/z_test_request_builder.rb +2 -2
- data/lib/employee_experience/employee_experience.rb +0 -0
- data/lib/employee_experience/employee_experience_request_builder.rb +179 -0
- data/lib/employee_experience/learning_providers/count/count.rb +0 -0
- data/lib/employee_experience/learning_providers/count/count_request_builder.rb +118 -0
- data/lib/employee_experience/learning_providers/item/item.rb +0 -0
- data/lib/employee_experience/learning_providers/item/learning_contents/count/count.rb +0 -0
- data/lib/employee_experience/learning_providers/item/learning_contents/count/count_request_builder.rb +124 -0
- data/lib/employee_experience/learning_providers/item/learning_contents/item/item.rb +0 -0
- data/lib/employee_experience/learning_providers/item/learning_contents/item/learning_content_item_request_builder.rb +215 -0
- data/lib/employee_experience/learning_providers/item/learning_contents/learning_contents.rb +0 -0
- data/lib/employee_experience/learning_providers/item/learning_contents/learning_contents_request_builder.rb +207 -0
- data/lib/employee_experience/learning_providers/item/learning_provider_item_request_builder.rb +227 -0
- data/lib/employee_experience/learning_providers/learning_providers.rb +0 -0
- data/lib/employee_experience/learning_providers/learning_providers_request_builder.rb +201 -0
- data/lib/graph_base_service_client.rb +6 -0
- data/lib/groups/item/group_item_request_builder.rb +2 -2
- data/lib/groups/item/sites/item/permissions/permissions_request_builder.rb +2 -2
- data/lib/groups/item/team/channels/item/members/members_request_builder.rb +2 -2
- data/lib/groups/item/team/channels/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/groups/item/team/primary_channel/members/members_request_builder.rb +2 -2
- data/lib/groups/item/team/primary_channel/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/kiota-lock.json +2 -2
- data/lib/me/chats/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/me/joined_teams/item/channels/item/members/members_request_builder.rb +2 -2
- data/lib/me/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/me/joined_teams/item/primary_channel/members/members_request_builder.rb +2 -2
- data/lib/me/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb +2 -2
- data/lib/me/mail_folders/item/messages/item/attachments/attachments_request_builder.rb +2 -2
- data/lib/me/me_request_builder.rb +3 -3
- data/lib/me/messages/item/attachments/attachments_request_builder.rb +2 -2
- data/lib/models/access_review_instance.rb +1 -1
- data/lib/models/access_review_schedule_definition.rb +1 -1
- data/lib/models/agreement_file_data.rb +2 -2
- data/lib/models/alternative_security_id.rb +2 -2
- data/lib/models/application.rb +2 -2
- data/lib/models/attachment_session.rb +2 -2
- data/lib/models/audit_event.rb +1 -3
- data/lib/models/authentication_method_configuration.rb +1 -1
- data/lib/models/certificate_authority.rb +2 -2
- data/lib/models/conditional_access_all_external_tenants.rb +45 -0
- data/lib/models/conditional_access_enumerated_external_tenants.rb +65 -0
- data/lib/models/conditional_access_external_tenants.rb +112 -0
- data/lib/models/conditional_access_external_tenants_membership_kind.rb +9 -0
- data/lib/models/conditional_access_guest_or_external_user_types.rb +14 -0
- data/lib/models/conditional_access_guests_or_external_users.rb +122 -0
- data/lib/models/conditional_access_users.rb +40 -0
- data/lib/models/data_policy_operation.rb +1 -1
- data/lib/models/device.rb +1 -1
- data/lib/models/device_and_app_management_data.rb +2 -2
- data/lib/models/device_category.rb +2 -0
- data/lib/models/directory_object_partner_reference.rb +1 -1
- data/lib/models/directory_role.rb +1 -1
- data/lib/models/drive.rb +1 -1
- data/lib/models/drive_item.rb +2 -2
- data/lib/models/drive_item_version.rb +2 -2
- data/lib/models/education_assignment_defaults.rb +1 -1
- data/lib/models/education_assignment_settings.rb +1 -1
- data/lib/models/education_class.rb +1 -1
- data/lib/models/employee_experience.rb +102 -0
- data/lib/models/enterprise_code_signing_certificate.rb +2 -2
- data/lib/models/entity.rb +4 -0
- data/lib/models/file_attachment.rb +2 -2
- data/lib/models/group.rb +1 -1
- data/lib/models/imported_windows_autopilot_device_identity.rb +2 -2
- data/lib/models/ios_custom_configuration.rb +2 -2
- data/lib/models/ios_mobile_app_configuration.rb +2 -2
- data/lib/models/key_credential.rb +4 -4
- data/lib/models/learning_content.rb +405 -0
- data/lib/models/learning_content_collection_response.rb +64 -0
- data/lib/models/learning_provider.rb +184 -0
- data/lib/models/learning_provider_collection_response.rb +64 -0
- data/lib/models/mac_o_s_custom_configuration.rb +3 -5
- data/lib/models/mac_o_s_general_device_configuration.rb +3 -1
- data/lib/models/message.rb +2 -2
- data/lib/models/mime_content.rb +2 -2
- data/lib/models/mobile_app_content_file.rb +2 -2
- data/lib/models/mobile_threat_defense_connector.rb +36 -36
- data/lib/models/models.rb +11 -0
- data/lib/models/offer_shift_request.rb +1 -1
- data/lib/models/oma_setting_string_xml.rb +2 -2
- data/lib/models/onenote_page.rb +2 -2
- data/lib/models/onenote_resource.rb +2 -2
- data/lib/models/online_meeting.rb +3 -3
- data/lib/models/organizational_branding_properties.rb +6 -6
- data/lib/models/password_authentication_method.rb +1 -1
- data/lib/models/password_credential.rb +2 -2
- data/lib/models/phone_authentication_method.rb +1 -1
- data/lib/models/post.rb +1 -1
- data/lib/models/print_service.rb +1 -1
- data/lib/models/report.rb +2 -2
- data/lib/models/risk_detection.rb +1 -1
- data/lib/models/role_definition.rb +0 -2
- data/lib/models/schedule_change_request.rb +1 -1
- data/lib/models/scheduling_group.rb +1 -1
- data/lib/models/schema_extension.rb +1 -1
- data/lib/models/security/ediscovery_noncustodial_data_source.rb +1 -1
- data/lib/models/self_signed_certificate.rb +4 -4
- data/lib/models/service_announcement_attachment.rb +2 -2
- data/lib/models/service_principal_risk_detection.rb +1 -1
- data/lib/models/service_update_message.rb +2 -2
- data/lib/models/shift.rb +1 -1
- data/lib/models/site.rb +1 -1
- data/lib/models/software_oath_authentication_method.rb +1 -1
- data/lib/models/subscribed_sku.rb +1 -1
- data/lib/models/task_file_attachment.rb +2 -2
- data/lib/models/teamwork_hosted_content.rb +2 -2
- data/lib/models/temporary_access_pass_authentication_method.rb +1 -1
- data/lib/models/thumbnail.rb +2 -2
- data/lib/models/time_off.rb +1 -1
- data/lib/models/time_off_reason.rb +1 -1
- data/lib/models/user_activity.rb +1 -1
- data/lib/models/windows10_endpoint_protection_configuration.rb +2 -2
- data/lib/models/windows10_general_configuration.rb +4 -4
- data/lib/models/windows_hello_for_business_authentication_method.rb +1 -1
- data/lib/models/windows_information_protection_app_locker_file.rb +2 -2
- data/lib/models/windows_information_protection_data_recovery_certificate.rb +2 -2
- data/lib/models/workbook_range_view.rb +1 -1
- data/lib/security/alerts_v2/alerts_v2_request_builder.rb +4 -4
- data/lib/security/security_request_builder.rb +1 -1
- data/lib/sites/item/permissions/permissions_request_builder.rb +2 -2
- data/lib/teams/item/channels/item/members/members_request_builder.rb +2 -2
- data/lib/teams/item/channels/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/teams/item/primary_channel/members/members_request_builder.rb +2 -2
- data/lib/teams/item/primary_channel/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/teams/item/team_item_request_builder.rb +3 -3
- data/lib/teams/teams_request_builder.rb +1 -107
- data/lib/teamwork/deleted_teams/item/channels/item/members/members_request_builder.rb +2 -2
- data/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/users/item/chats/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/users/item/joined_teams/item/channels/item/members/members_request_builder.rb +2 -2
- data/lib/users/item/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/users/item/joined_teams/item/primary_channel/members/members_request_builder.rb +2 -2
- data/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb +2 -2
- data/lib/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.rb +2 -2
- data/lib/users/item/messages/item/attachments/attachments_request_builder.rb +2 -2
- data/lib/users/users_request_builder.rb +3 -3
- data/lib/version_information.rb +2 -1
- metadata +32 -6
@@ -69,7 +69,7 @@ module MicrosoftGraph
|
|
69
69
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ConversationMemberCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
70
70
|
end
|
71
71
|
##
|
72
|
-
## Add a conversationMember to a channel.
|
72
|
+
## Add a conversationMember to a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`.
|
73
73
|
## @param body The request body
|
74
74
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
75
75
|
## @return a Fiber of conversation_member
|
@@ -103,7 +103,7 @@ module MicrosoftGraph
|
|
103
103
|
return request_info
|
104
104
|
end
|
105
105
|
##
|
106
|
-
## Add a conversationMember to a channel.
|
106
|
+
## Add a conversationMember to a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`.
|
107
107
|
## @param body The request body
|
108
108
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
109
109
|
## @return a request_information
|
data/lib/me/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb
CHANGED
@@ -73,7 +73,7 @@ module MicrosoftGraph
|
|
73
73
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ChatMessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
74
74
|
end
|
75
75
|
##
|
76
|
-
##
|
76
|
+
## Create a new reply to a chatMessage in a specified channel.
|
77
77
|
## @param body The request body
|
78
78
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
79
79
|
## @return a Fiber of chat_message
|
@@ -107,7 +107,7 @@ module MicrosoftGraph
|
|
107
107
|
return request_info
|
108
108
|
end
|
109
109
|
##
|
110
|
-
##
|
110
|
+
## Create a new reply to a chatMessage in a specified channel.
|
111
111
|
## @param body The request body
|
112
112
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
113
113
|
## @return a request_information
|
@@ -75,7 +75,7 @@ module MicrosoftGraph
|
|
75
75
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
76
76
|
end
|
77
77
|
##
|
78
|
-
## Use this API to
|
78
|
+
## Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
|
79
79
|
## @param body The request body
|
80
80
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
81
81
|
## @return a Fiber of attachment
|
@@ -109,7 +109,7 @@ module MicrosoftGraph
|
|
109
109
|
return request_info
|
110
110
|
end
|
111
111
|
##
|
112
|
-
## Use this API to
|
112
|
+
## Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
|
113
113
|
## @param body The request body
|
114
114
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
115
115
|
## @return a request_information
|
@@ -71,7 +71,7 @@ module MicrosoftGraph
|
|
71
71
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
72
72
|
end
|
73
73
|
##
|
74
|
-
## Use this API to
|
74
|
+
## Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
|
75
75
|
## @param body The request body
|
76
76
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
77
77
|
## @return a Fiber of attachment
|
@@ -105,7 +105,7 @@ module MicrosoftGraph
|
|
105
105
|
return request_info
|
106
106
|
end
|
107
107
|
##
|
108
|
-
## Use this API to
|
108
|
+
## Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
|
109
109
|
## @param body The request body
|
110
110
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
111
111
|
## @return a request_information
|
@@ -651,7 +651,7 @@ module MicrosoftGraph
|
|
651
651
|
return MicrosoftGraph::Me::FollowedSites::Item::SiteItemRequestBuilder.new(url_tpl_params, @request_adapter)
|
652
652
|
end
|
653
653
|
##
|
654
|
-
##
|
654
|
+
## 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.
|
655
655
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
656
656
|
## @return a Fiber of user
|
657
657
|
##
|
@@ -857,7 +857,7 @@ module MicrosoftGraph
|
|
857
857
|
return MicrosoftGraph::Me::ScopedRoleMemberOf::Item::ScopedRoleMembershipItemRequestBuilder.new(url_tpl_params, @request_adapter)
|
858
858
|
end
|
859
859
|
##
|
860
|
-
##
|
860
|
+
## 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.
|
861
861
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
862
862
|
## @return a request_information
|
863
863
|
##
|
@@ -907,7 +907,7 @@ module MicrosoftGraph
|
|
907
907
|
end
|
908
908
|
|
909
909
|
##
|
910
|
-
#
|
910
|
+
# 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.
|
911
911
|
class MeRequestBuilderGetQueryParameters
|
912
912
|
|
913
913
|
##
|
@@ -67,7 +67,7 @@ module MicrosoftGraph
|
|
67
67
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
68
68
|
end
|
69
69
|
##
|
70
|
-
## Use this API to
|
70
|
+
## Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
|
71
71
|
## @param body The request body
|
72
72
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
73
73
|
## @return a Fiber of attachment
|
@@ -101,7 +101,7 @@ module MicrosoftGraph
|
|
101
101
|
return request_info
|
102
102
|
end
|
103
103
|
##
|
104
|
-
## Use this API to
|
104
|
+
## Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
|
105
105
|
## @param body The request body
|
106
106
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
107
107
|
## @return a request_information
|
@@ -35,7 +35,7 @@ module MicrosoftGraph
|
|
35
35
|
# Specifies the status of an accessReview. Possible values: Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Supports $select, $orderby, and $filter (eq only). Read-only.
|
36
36
|
@status
|
37
37
|
##
|
38
|
-
## Instantiates a new
|
38
|
+
## Instantiates a new accessReviewInstance and sets the default values.
|
39
39
|
## @return a void
|
40
40
|
##
|
41
41
|
def initialize()
|
@@ -68,7 +68,7 @@ module MicrosoftGraph
|
|
68
68
|
@additional_notification_recipients = value
|
69
69
|
end
|
70
70
|
##
|
71
|
-
## Instantiates a new
|
71
|
+
## Instantiates a new accessReviewScheduleDefinition and sets the default values.
|
72
72
|
## @return a void
|
73
73
|
##
|
74
74
|
def initialize()
|
@@ -48,7 +48,7 @@ module MicrosoftGraph
|
|
48
48
|
end
|
49
49
|
##
|
50
50
|
## Gets the data property value. Data that represents the terms of use PDF document. Read-only.
|
51
|
-
## @return a
|
51
|
+
## @return a base64url
|
52
52
|
##
|
53
53
|
def data
|
54
54
|
return @data
|
@@ -67,7 +67,7 @@ module MicrosoftGraph
|
|
67
67
|
##
|
68
68
|
def get_field_deserializers()
|
69
69
|
return {
|
70
|
-
"data" => lambda {|n| @data = n.
|
70
|
+
"data" => lambda {|n| @data = n.get_object_value(lambda {|pn| Base64url.create_from_discriminator_value(pn) }) },
|
71
71
|
"@odata.type" => lambda {|n| @odata_type = n.get_string_value() },
|
72
72
|
}
|
73
73
|
end
|
@@ -59,7 +59,7 @@ module MicrosoftGraph
|
|
59
59
|
def get_field_deserializers()
|
60
60
|
return {
|
61
61
|
"identityProvider" => lambda {|n| @identity_provider = n.get_string_value() },
|
62
|
-
"key" => lambda {|n| @key = n.
|
62
|
+
"key" => lambda {|n| @key = n.get_object_value(lambda {|pn| Base64url.create_from_discriminator_value(pn) }) },
|
63
63
|
"@odata.type" => lambda {|n| @odata_type = n.get_string_value() },
|
64
64
|
"type" => lambda {|n| @type = n.get_number_value() },
|
65
65
|
}
|
@@ -81,7 +81,7 @@ module MicrosoftGraph
|
|
81
81
|
end
|
82
82
|
##
|
83
83
|
## Gets the key property value. For internal use only
|
84
|
-
## @return a
|
84
|
+
## @return a base64url
|
85
85
|
##
|
86
86
|
def key
|
87
87
|
return @key
|
data/lib/models/application.rb
CHANGED
@@ -406,7 +406,7 @@ module MicrosoftGraph
|
|
406
406
|
"isDeviceOnlyAuthSupported" => lambda {|n| @is_device_only_auth_supported = n.get_boolean_value() },
|
407
407
|
"isFallbackPublicClient" => lambda {|n| @is_fallback_public_client = n.get_boolean_value() },
|
408
408
|
"keyCredentials" => lambda {|n| @key_credentials = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::KeyCredential.create_from_discriminator_value(pn) }) },
|
409
|
-
"logo" => lambda {|n| @logo = n.
|
409
|
+
"logo" => lambda {|n| @logo = n.get_object_value(lambda {|pn| Base64url.create_from_discriminator_value(pn) }) },
|
410
410
|
"notes" => lambda {|n| @notes = n.get_string_value() },
|
411
411
|
"oauth2RequirePostResponse" => lambda {|n| @oauth2_require_post_response = n.get_boolean_value() },
|
412
412
|
"optionalClaims" => lambda {|n| @optional_claims = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::OptionalClaims.create_from_discriminator_value(pn) }) },
|
@@ -536,7 +536,7 @@ module MicrosoftGraph
|
|
536
536
|
end
|
537
537
|
##
|
538
538
|
## Gets the logo property value. The main logo for the application. Not nullable.
|
539
|
-
## @return a
|
539
|
+
## @return a base64url
|
540
540
|
##
|
541
541
|
def logo
|
542
542
|
return @logo
|
@@ -25,7 +25,7 @@ module MicrosoftGraph
|
|
25
25
|
end
|
26
26
|
##
|
27
27
|
## Gets the content property value. The content streams that are uploaded.
|
28
|
-
## @return a
|
28
|
+
## @return a base64url
|
29
29
|
##
|
30
30
|
def content
|
31
31
|
return @content
|
@@ -68,7 +68,7 @@ module MicrosoftGraph
|
|
68
68
|
##
|
69
69
|
def get_field_deserializers()
|
70
70
|
return super.merge({
|
71
|
-
"content" => lambda {|n| @content = n.
|
71
|
+
"content" => lambda {|n| @content = n.get_object_value(lambda {|pn| Base64url.create_from_discriminator_value(pn) }) },
|
72
72
|
"expirationDateTime" => lambda {|n| @expiration_date_time = n.get_date_time_value() },
|
73
73
|
"nextExpectedRanges" => lambda {|n| @next_expected_ranges = n.get_collection_of_primitive_values(String) },
|
74
74
|
})
|
data/lib/models/audit_event.rb
CHANGED
@@ -5,8 +5,6 @@ require_relative './models'
|
|
5
5
|
|
6
6
|
module MicrosoftGraph
|
7
7
|
module Models
|
8
|
-
##
|
9
|
-
# A class containing the properties for Audit Event.
|
10
8
|
class AuditEvent < MicrosoftGraph::Models::Entity
|
11
9
|
include MicrosoftKiotaAbstractions::Parsable
|
12
10
|
##
|
@@ -163,7 +161,7 @@ module MicrosoftGraph
|
|
163
161
|
@component_name = value
|
164
162
|
end
|
165
163
|
##
|
166
|
-
## Instantiates a new
|
164
|
+
## Instantiates a new AuditEvent and sets the default values.
|
167
165
|
## @return a void
|
168
166
|
##
|
169
167
|
def initialize()
|
@@ -10,7 +10,7 @@ module MicrosoftGraph
|
|
10
10
|
# The state of the policy. Possible values are: enabled, disabled.
|
11
11
|
@state
|
12
12
|
##
|
13
|
-
## Instantiates a new
|
13
|
+
## Instantiates a new AuthenticationMethodConfiguration and sets the default values.
|
14
14
|
## @return a void
|
15
15
|
##
|
16
16
|
def initialize()
|
@@ -47,7 +47,7 @@ module MicrosoftGraph
|
|
47
47
|
end
|
48
48
|
##
|
49
49
|
## Gets the certificate property value. Required. The base64 encoded string representing the public certificate.
|
50
|
-
## @return a
|
50
|
+
## @return a base64url
|
51
51
|
##
|
52
52
|
def certificate
|
53
53
|
return @certificate
|
@@ -112,7 +112,7 @@ module MicrosoftGraph
|
|
112
112
|
##
|
113
113
|
def get_field_deserializers()
|
114
114
|
return {
|
115
|
-
"certificate" => lambda {|n| @certificate = n.
|
115
|
+
"certificate" => lambda {|n| @certificate = n.get_object_value(lambda {|pn| Base64url.create_from_discriminator_value(pn) }) },
|
116
116
|
"certificateRevocationListUrl" => lambda {|n| @certificate_revocation_list_url = n.get_string_value() },
|
117
117
|
"deltaCertificateRevocationListUrl" => lambda {|n| @delta_certificate_revocation_list_url = n.get_string_value() },
|
118
118
|
"isRootAuthority" => lambda {|n| @is_root_authority = n.get_boolean_value() },
|
@@ -0,0 +1,45 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph
|
6
|
+
module Models
|
7
|
+
class ConditionalAccessAllExternalTenants < MicrosoftGraph::Models::ConditionalAccessExternalTenants
|
8
|
+
include MicrosoftKiotaAbstractions::Parsable
|
9
|
+
##
|
10
|
+
## Instantiates a new ConditionalAccessAllExternalTenants and sets the default values.
|
11
|
+
## @return a void
|
12
|
+
##
|
13
|
+
def initialize()
|
14
|
+
super
|
15
|
+
@odata_type = "#microsoft.graph.conditionalAccessAllExternalTenants"
|
16
|
+
end
|
17
|
+
##
|
18
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
19
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
20
|
+
## @return a conditional_access_all_external_tenants
|
21
|
+
##
|
22
|
+
def self.create_from_discriminator_value(parse_node)
|
23
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
24
|
+
return ConditionalAccessAllExternalTenants.new
|
25
|
+
end
|
26
|
+
##
|
27
|
+
## The deserialization information for the current model
|
28
|
+
## @return a i_dictionary
|
29
|
+
##
|
30
|
+
def get_field_deserializers()
|
31
|
+
return super.merge({
|
32
|
+
})
|
33
|
+
end
|
34
|
+
##
|
35
|
+
## Serializes information the current object
|
36
|
+
## @param writer Serialization writer to use to serialize this model
|
37
|
+
## @return a void
|
38
|
+
##
|
39
|
+
def serialize(writer)
|
40
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
41
|
+
super
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph
|
6
|
+
module Models
|
7
|
+
class ConditionalAccessEnumeratedExternalTenants < MicrosoftGraph::Models::ConditionalAccessExternalTenants
|
8
|
+
include MicrosoftKiotaAbstractions::Parsable
|
9
|
+
##
|
10
|
+
# The members property
|
11
|
+
@members
|
12
|
+
##
|
13
|
+
## Instantiates a new ConditionalAccessEnumeratedExternalTenants and sets the default values.
|
14
|
+
## @return a void
|
15
|
+
##
|
16
|
+
def initialize()
|
17
|
+
super
|
18
|
+
@odata_type = "#microsoft.graph.conditionalAccessEnumeratedExternalTenants"
|
19
|
+
end
|
20
|
+
##
|
21
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
22
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
23
|
+
## @return a conditional_access_enumerated_external_tenants
|
24
|
+
##
|
25
|
+
def self.create_from_discriminator_value(parse_node)
|
26
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
27
|
+
return ConditionalAccessEnumeratedExternalTenants.new
|
28
|
+
end
|
29
|
+
##
|
30
|
+
## The deserialization information for the current model
|
31
|
+
## @return a i_dictionary
|
32
|
+
##
|
33
|
+
def get_field_deserializers()
|
34
|
+
return super.merge({
|
35
|
+
"members" => lambda {|n| @members = n.get_collection_of_primitive_values(String) },
|
36
|
+
})
|
37
|
+
end
|
38
|
+
##
|
39
|
+
## Gets the members property value. The members property
|
40
|
+
## @return a string
|
41
|
+
##
|
42
|
+
def members
|
43
|
+
return @members
|
44
|
+
end
|
45
|
+
##
|
46
|
+
## Sets the members property value. The members property
|
47
|
+
## @param value Value to set for the members property.
|
48
|
+
## @return a void
|
49
|
+
##
|
50
|
+
def members=(value)
|
51
|
+
@members = value
|
52
|
+
end
|
53
|
+
##
|
54
|
+
## Serializes information the current object
|
55
|
+
## @param writer Serialization writer to use to serialize this model
|
56
|
+
## @return a void
|
57
|
+
##
|
58
|
+
def serialize(writer)
|
59
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
60
|
+
super
|
61
|
+
writer.write_collection_of_primitive_values("members", @members)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph
|
6
|
+
module Models
|
7
|
+
class ConditionalAccessExternalTenants
|
8
|
+
include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
|
9
|
+
##
|
10
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
11
|
+
@additional_data
|
12
|
+
##
|
13
|
+
# The membershipKind property
|
14
|
+
@membership_kind
|
15
|
+
##
|
16
|
+
# The OdataType property
|
17
|
+
@odata_type
|
18
|
+
##
|
19
|
+
## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
20
|
+
## @return a i_dictionary
|
21
|
+
##
|
22
|
+
def additional_data
|
23
|
+
return @additional_data
|
24
|
+
end
|
25
|
+
##
|
26
|
+
## Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
27
|
+
## @param value Value to set for the AdditionalData property.
|
28
|
+
## @return a void
|
29
|
+
##
|
30
|
+
def additional_data=(value)
|
31
|
+
@additional_data = value
|
32
|
+
end
|
33
|
+
##
|
34
|
+
## Instantiates a new conditionalAccessExternalTenants and sets the default values.
|
35
|
+
## @return a void
|
36
|
+
##
|
37
|
+
def initialize()
|
38
|
+
@additional_data = Hash.new
|
39
|
+
end
|
40
|
+
##
|
41
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
42
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
43
|
+
## @return a conditional_access_external_tenants
|
44
|
+
##
|
45
|
+
def self.create_from_discriminator_value(parse_node)
|
46
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
47
|
+
mapping_value_node = parse_node.get_child_node("@odata.type")
|
48
|
+
unless mapping_value_node.nil? then
|
49
|
+
mapping_value = mapping_value_node.get_string_value
|
50
|
+
case mapping_value
|
51
|
+
when "#microsoft.graph.conditionalAccessAllExternalTenants"
|
52
|
+
return ConditionalAccessAllExternalTenants.new
|
53
|
+
when "#microsoft.graph.conditionalAccessEnumeratedExternalTenants"
|
54
|
+
return ConditionalAccessEnumeratedExternalTenants.new
|
55
|
+
end
|
56
|
+
end
|
57
|
+
return ConditionalAccessExternalTenants.new
|
58
|
+
end
|
59
|
+
##
|
60
|
+
## The deserialization information for the current model
|
61
|
+
## @return a i_dictionary
|
62
|
+
##
|
63
|
+
def get_field_deserializers()
|
64
|
+
return {
|
65
|
+
"membershipKind" => lambda {|n| @membership_kind = n.get_enum_value(MicrosoftGraph::Models::ConditionalAccessExternalTenantsMembershipKind) },
|
66
|
+
"@odata.type" => lambda {|n| @odata_type = n.get_string_value() },
|
67
|
+
}
|
68
|
+
end
|
69
|
+
##
|
70
|
+
## Gets the membershipKind property value. The membershipKind property
|
71
|
+
## @return a conditional_access_external_tenants_membership_kind
|
72
|
+
##
|
73
|
+
def membership_kind
|
74
|
+
return @membership_kind
|
75
|
+
end
|
76
|
+
##
|
77
|
+
## Sets the membershipKind property value. The membershipKind property
|
78
|
+
## @param value Value to set for the membership_kind property.
|
79
|
+
## @return a void
|
80
|
+
##
|
81
|
+
def membership_kind=(value)
|
82
|
+
@membership_kind = value
|
83
|
+
end
|
84
|
+
##
|
85
|
+
## Gets the @odata.type property value. The OdataType property
|
86
|
+
## @return a string
|
87
|
+
##
|
88
|
+
def odata_type
|
89
|
+
return @odata_type
|
90
|
+
end
|
91
|
+
##
|
92
|
+
## Sets the @odata.type property value. The OdataType property
|
93
|
+
## @param value Value to set for the odata_type property.
|
94
|
+
## @return a void
|
95
|
+
##
|
96
|
+
def odata_type=(value)
|
97
|
+
@odata_type = value
|
98
|
+
end
|
99
|
+
##
|
100
|
+
## Serializes information the current object
|
101
|
+
## @param writer Serialization writer to use to serialize this model
|
102
|
+
## @return a void
|
103
|
+
##
|
104
|
+
def serialize(writer)
|
105
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
106
|
+
writer.write_enum_value("membershipKind", @membership_kind)
|
107
|
+
writer.write_string_value("@odata.type", @odata_type)
|
108
|
+
writer.write_additional_data(@additional_data)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module MicrosoftGraph
|
2
|
+
module Models
|
3
|
+
ConditionalAccessGuestOrExternalUserTypes = {
|
4
|
+
None: :None,
|
5
|
+
InternalGuest: :InternalGuest,
|
6
|
+
B2bCollaborationGuest: :B2bCollaborationGuest,
|
7
|
+
B2bCollaborationMember: :B2bCollaborationMember,
|
8
|
+
B2bDirectConnectUser: :B2bDirectConnectUser,
|
9
|
+
OtherExternalUser: :OtherExternalUser,
|
10
|
+
ServiceProvider: :ServiceProvider,
|
11
|
+
UnknownFutureValue: :UnknownFutureValue,
|
12
|
+
}
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,122 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph
|
6
|
+
module Models
|
7
|
+
class ConditionalAccessGuestsOrExternalUsers
|
8
|
+
include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
|
9
|
+
##
|
10
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
11
|
+
@additional_data
|
12
|
+
##
|
13
|
+
# The externalTenants property
|
14
|
+
@external_tenants
|
15
|
+
##
|
16
|
+
# The guestOrExternalUserTypes property
|
17
|
+
@guest_or_external_user_types
|
18
|
+
##
|
19
|
+
# The OdataType property
|
20
|
+
@odata_type
|
21
|
+
##
|
22
|
+
## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
23
|
+
## @return a i_dictionary
|
24
|
+
##
|
25
|
+
def additional_data
|
26
|
+
return @additional_data
|
27
|
+
end
|
28
|
+
##
|
29
|
+
## Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
30
|
+
## @param value Value to set for the AdditionalData property.
|
31
|
+
## @return a void
|
32
|
+
##
|
33
|
+
def additional_data=(value)
|
34
|
+
@additional_data = value
|
35
|
+
end
|
36
|
+
##
|
37
|
+
## Instantiates a new conditionalAccessGuestsOrExternalUsers and sets the default values.
|
38
|
+
## @return a void
|
39
|
+
##
|
40
|
+
def initialize()
|
41
|
+
@additional_data = Hash.new
|
42
|
+
end
|
43
|
+
##
|
44
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
45
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
46
|
+
## @return a conditional_access_guests_or_external_users
|
47
|
+
##
|
48
|
+
def self.create_from_discriminator_value(parse_node)
|
49
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
50
|
+
return ConditionalAccessGuestsOrExternalUsers.new
|
51
|
+
end
|
52
|
+
##
|
53
|
+
## Gets the externalTenants property value. The externalTenants property
|
54
|
+
## @return a conditional_access_external_tenants
|
55
|
+
##
|
56
|
+
def external_tenants
|
57
|
+
return @external_tenants
|
58
|
+
end
|
59
|
+
##
|
60
|
+
## Sets the externalTenants property value. The externalTenants property
|
61
|
+
## @param value Value to set for the external_tenants property.
|
62
|
+
## @return a void
|
63
|
+
##
|
64
|
+
def external_tenants=(value)
|
65
|
+
@external_tenants = value
|
66
|
+
end
|
67
|
+
##
|
68
|
+
## The deserialization information for the current model
|
69
|
+
## @return a i_dictionary
|
70
|
+
##
|
71
|
+
def get_field_deserializers()
|
72
|
+
return {
|
73
|
+
"externalTenants" => lambda {|n| @external_tenants = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ConditionalAccessExternalTenants.create_from_discriminator_value(pn) }) },
|
74
|
+
"guestOrExternalUserTypes" => lambda {|n| @guest_or_external_user_types = n.get_enum_value(MicrosoftGraph::Models::ConditionalAccessGuestOrExternalUserTypes) },
|
75
|
+
"@odata.type" => lambda {|n| @odata_type = n.get_string_value() },
|
76
|
+
}
|
77
|
+
end
|
78
|
+
##
|
79
|
+
## Gets the guestOrExternalUserTypes property value. The guestOrExternalUserTypes property
|
80
|
+
## @return a conditional_access_guest_or_external_user_types
|
81
|
+
##
|
82
|
+
def guest_or_external_user_types
|
83
|
+
return @guest_or_external_user_types
|
84
|
+
end
|
85
|
+
##
|
86
|
+
## Sets the guestOrExternalUserTypes property value. The guestOrExternalUserTypes property
|
87
|
+
## @param value Value to set for the guest_or_external_user_types property.
|
88
|
+
## @return a void
|
89
|
+
##
|
90
|
+
def guest_or_external_user_types=(value)
|
91
|
+
@guest_or_external_user_types = value
|
92
|
+
end
|
93
|
+
##
|
94
|
+
## Gets the @odata.type property value. The OdataType property
|
95
|
+
## @return a string
|
96
|
+
##
|
97
|
+
def odata_type
|
98
|
+
return @odata_type
|
99
|
+
end
|
100
|
+
##
|
101
|
+
## Sets the @odata.type property value. The OdataType property
|
102
|
+
## @param value Value to set for the odata_type property.
|
103
|
+
## @return a void
|
104
|
+
##
|
105
|
+
def odata_type=(value)
|
106
|
+
@odata_type = value
|
107
|
+
end
|
108
|
+
##
|
109
|
+
## Serializes information the current object
|
110
|
+
## @param writer Serialization writer to use to serialize this model
|
111
|
+
## @return a void
|
112
|
+
##
|
113
|
+
def serialize(writer)
|
114
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
115
|
+
writer.write_object_value("externalTenants", @external_tenants)
|
116
|
+
writer.write_enum_value("guestOrExternalUserTypes", @guest_or_external_user_types)
|
117
|
+
writer.write_string_value("@odata.type", @odata_type)
|
118
|
+
writer.write_additional_data(@additional_data)
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|