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
@@ -0,0 +1,405 @@
|
|
1
|
+
require 'date'
|
2
|
+
require 'microsoft_kiota_abstractions'
|
3
|
+
require_relative '../microsoft_graph'
|
4
|
+
require_relative './models'
|
5
|
+
|
6
|
+
module MicrosoftGraph
|
7
|
+
module Models
|
8
|
+
class LearningContent < MicrosoftGraph::Models::Entity
|
9
|
+
include MicrosoftKiotaAbstractions::Parsable
|
10
|
+
##
|
11
|
+
# Keywords, topics, and other tags associated with the learning content. Optional.
|
12
|
+
@additional_tags
|
13
|
+
##
|
14
|
+
# The content web URL for the learning content. Required.
|
15
|
+
@content_web_url
|
16
|
+
##
|
17
|
+
# The authors, creators, or contributors of the learning content. Optional.
|
18
|
+
@contributors
|
19
|
+
##
|
20
|
+
# The date and time when the learning content was created. 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. Optional.
|
21
|
+
@created_date_time
|
22
|
+
##
|
23
|
+
# The description or summary for the learning content. Optional.
|
24
|
+
@description
|
25
|
+
##
|
26
|
+
# The duration of the learning content in seconds. The value is represented in ISO 8601 format for durations. Optional.
|
27
|
+
@duration
|
28
|
+
##
|
29
|
+
# Unique external content ID for the learning content. Required.
|
30
|
+
@external_id
|
31
|
+
##
|
32
|
+
# The format of the learning content. For example, Course, Video, Book, Book Summary, Audiobook Summary. Optional.
|
33
|
+
@format
|
34
|
+
##
|
35
|
+
# Indicates whether the content is active or not. Inactive content doesn't show up in the UI. The default value is true. Optional.
|
36
|
+
@is_active
|
37
|
+
##
|
38
|
+
# Indicates whether the learning content requires the user to sign-in on the learning provider platform or not. The default value is false. Optional.
|
39
|
+
@is_premium
|
40
|
+
##
|
41
|
+
# Indicates whether the learning content is searchable or not. The default value is true. Optional.
|
42
|
+
@is_searchable
|
43
|
+
##
|
44
|
+
# The language of the learning content, for example, en-us or fr-fr. Required.
|
45
|
+
@language_tag
|
46
|
+
##
|
47
|
+
# The date and time when the learning content was last modified. 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. Optional.
|
48
|
+
@last_modified_date_time
|
49
|
+
##
|
50
|
+
# The number of pages of the learning content, for example, 9. Optional.
|
51
|
+
@number_of_pages
|
52
|
+
##
|
53
|
+
# The skills tags associated with the learning content. Optional.
|
54
|
+
@skill_tags
|
55
|
+
##
|
56
|
+
# The source name of the learning content, such as LinkedIn Learning or Coursera. Optional.
|
57
|
+
@source_name
|
58
|
+
##
|
59
|
+
# The URL of learning content thumbnail image. Optional.
|
60
|
+
@thumbnail_web_url
|
61
|
+
##
|
62
|
+
# The title of the learning content. Required.
|
63
|
+
@title
|
64
|
+
##
|
65
|
+
## Gets the additionalTags property value. Keywords, topics, and other tags associated with the learning content. Optional.
|
66
|
+
## @return a string
|
67
|
+
##
|
68
|
+
def additional_tags
|
69
|
+
return @additional_tags
|
70
|
+
end
|
71
|
+
##
|
72
|
+
## Sets the additionalTags property value. Keywords, topics, and other tags associated with the learning content. Optional.
|
73
|
+
## @param value Value to set for the additional_tags property.
|
74
|
+
## @return a void
|
75
|
+
##
|
76
|
+
def additional_tags=(value)
|
77
|
+
@additional_tags = value
|
78
|
+
end
|
79
|
+
##
|
80
|
+
## Instantiates a new learningContent and sets the default values.
|
81
|
+
## @return a void
|
82
|
+
##
|
83
|
+
def initialize()
|
84
|
+
super
|
85
|
+
end
|
86
|
+
##
|
87
|
+
## Gets the contentWebUrl property value. The content web URL for the learning content. Required.
|
88
|
+
## @return a string
|
89
|
+
##
|
90
|
+
def content_web_url
|
91
|
+
return @content_web_url
|
92
|
+
end
|
93
|
+
##
|
94
|
+
## Sets the contentWebUrl property value. The content web URL for the learning content. Required.
|
95
|
+
## @param value Value to set for the content_web_url property.
|
96
|
+
## @return a void
|
97
|
+
##
|
98
|
+
def content_web_url=(value)
|
99
|
+
@content_web_url = value
|
100
|
+
end
|
101
|
+
##
|
102
|
+
## Gets the contributors property value. The authors, creators, or contributors of the learning content. Optional.
|
103
|
+
## @return a string
|
104
|
+
##
|
105
|
+
def contributors
|
106
|
+
return @contributors
|
107
|
+
end
|
108
|
+
##
|
109
|
+
## Sets the contributors property value. The authors, creators, or contributors of the learning content. Optional.
|
110
|
+
## @param value Value to set for the contributors property.
|
111
|
+
## @return a void
|
112
|
+
##
|
113
|
+
def contributors=(value)
|
114
|
+
@contributors = value
|
115
|
+
end
|
116
|
+
##
|
117
|
+
## Gets the createdDateTime property value. The date and time when the learning content was created. 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. Optional.
|
118
|
+
## @return a date_time
|
119
|
+
##
|
120
|
+
def created_date_time
|
121
|
+
return @created_date_time
|
122
|
+
end
|
123
|
+
##
|
124
|
+
## Sets the createdDateTime property value. The date and time when the learning content was created. 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. Optional.
|
125
|
+
## @param value Value to set for the created_date_time property.
|
126
|
+
## @return a void
|
127
|
+
##
|
128
|
+
def created_date_time=(value)
|
129
|
+
@created_date_time = value
|
130
|
+
end
|
131
|
+
##
|
132
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
133
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
134
|
+
## @return a learning_content
|
135
|
+
##
|
136
|
+
def self.create_from_discriminator_value(parse_node)
|
137
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
138
|
+
return LearningContent.new
|
139
|
+
end
|
140
|
+
##
|
141
|
+
## Gets the description property value. The description or summary for the learning content. Optional.
|
142
|
+
## @return a string
|
143
|
+
##
|
144
|
+
def description
|
145
|
+
return @description
|
146
|
+
end
|
147
|
+
##
|
148
|
+
## Sets the description property value. The description or summary for the learning content. Optional.
|
149
|
+
## @param value Value to set for the description property.
|
150
|
+
## @return a void
|
151
|
+
##
|
152
|
+
def description=(value)
|
153
|
+
@description = value
|
154
|
+
end
|
155
|
+
##
|
156
|
+
## Gets the duration property value. The duration of the learning content in seconds. The value is represented in ISO 8601 format for durations. Optional.
|
157
|
+
## @return a microsoft_kiota_abstractions::_i_s_o_duration
|
158
|
+
##
|
159
|
+
def duration
|
160
|
+
return @duration
|
161
|
+
end
|
162
|
+
##
|
163
|
+
## Sets the duration property value. The duration of the learning content in seconds. The value is represented in ISO 8601 format for durations. Optional.
|
164
|
+
## @param value Value to set for the duration property.
|
165
|
+
## @return a void
|
166
|
+
##
|
167
|
+
def duration=(value)
|
168
|
+
@duration = value
|
169
|
+
end
|
170
|
+
##
|
171
|
+
## Gets the externalId property value. Unique external content ID for the learning content. Required.
|
172
|
+
## @return a string
|
173
|
+
##
|
174
|
+
def external_id
|
175
|
+
return @external_id
|
176
|
+
end
|
177
|
+
##
|
178
|
+
## Sets the externalId property value. Unique external content ID for the learning content. Required.
|
179
|
+
## @param value Value to set for the external_id property.
|
180
|
+
## @return a void
|
181
|
+
##
|
182
|
+
def external_id=(value)
|
183
|
+
@external_id = value
|
184
|
+
end
|
185
|
+
##
|
186
|
+
## Gets the format property value. The format of the learning content. For example, Course, Video, Book, Book Summary, Audiobook Summary. Optional.
|
187
|
+
## @return a string
|
188
|
+
##
|
189
|
+
def format
|
190
|
+
return @format
|
191
|
+
end
|
192
|
+
##
|
193
|
+
## Sets the format property value. The format of the learning content. For example, Course, Video, Book, Book Summary, Audiobook Summary. Optional.
|
194
|
+
## @param value Value to set for the format property.
|
195
|
+
## @return a void
|
196
|
+
##
|
197
|
+
def format=(value)
|
198
|
+
@format = value
|
199
|
+
end
|
200
|
+
##
|
201
|
+
## The deserialization information for the current model
|
202
|
+
## @return a i_dictionary
|
203
|
+
##
|
204
|
+
def get_field_deserializers()
|
205
|
+
return super.merge({
|
206
|
+
"additionalTags" => lambda {|n| @additional_tags = n.get_collection_of_primitive_values(String) },
|
207
|
+
"contentWebUrl" => lambda {|n| @content_web_url = n.get_string_value() },
|
208
|
+
"contributors" => lambda {|n| @contributors = n.get_collection_of_primitive_values(String) },
|
209
|
+
"createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() },
|
210
|
+
"description" => lambda {|n| @description = n.get_string_value() },
|
211
|
+
"duration" => lambda {|n| @duration = n.get_duration_value() },
|
212
|
+
"externalId" => lambda {|n| @external_id = n.get_string_value() },
|
213
|
+
"format" => lambda {|n| @format = n.get_string_value() },
|
214
|
+
"isActive" => lambda {|n| @is_active = n.get_boolean_value() },
|
215
|
+
"isPremium" => lambda {|n| @is_premium = n.get_boolean_value() },
|
216
|
+
"isSearchable" => lambda {|n| @is_searchable = n.get_boolean_value() },
|
217
|
+
"languageTag" => lambda {|n| @language_tag = n.get_string_value() },
|
218
|
+
"lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() },
|
219
|
+
"numberOfPages" => lambda {|n| @number_of_pages = n.get_number_value() },
|
220
|
+
"skillTags" => lambda {|n| @skill_tags = n.get_collection_of_primitive_values(String) },
|
221
|
+
"sourceName" => lambda {|n| @source_name = n.get_string_value() },
|
222
|
+
"thumbnailWebUrl" => lambda {|n| @thumbnail_web_url = n.get_string_value() },
|
223
|
+
"title" => lambda {|n| @title = n.get_string_value() },
|
224
|
+
})
|
225
|
+
end
|
226
|
+
##
|
227
|
+
## Gets the isActive property value. Indicates whether the content is active or not. Inactive content doesn't show up in the UI. The default value is true. Optional.
|
228
|
+
## @return a boolean
|
229
|
+
##
|
230
|
+
def is_active
|
231
|
+
return @is_active
|
232
|
+
end
|
233
|
+
##
|
234
|
+
## Sets the isActive property value. Indicates whether the content is active or not. Inactive content doesn't show up in the UI. The default value is true. Optional.
|
235
|
+
## @param value Value to set for the is_active property.
|
236
|
+
## @return a void
|
237
|
+
##
|
238
|
+
def is_active=(value)
|
239
|
+
@is_active = value
|
240
|
+
end
|
241
|
+
##
|
242
|
+
## Gets the isPremium property value. Indicates whether the learning content requires the user to sign-in on the learning provider platform or not. The default value is false. Optional.
|
243
|
+
## @return a boolean
|
244
|
+
##
|
245
|
+
def is_premium
|
246
|
+
return @is_premium
|
247
|
+
end
|
248
|
+
##
|
249
|
+
## Sets the isPremium property value. Indicates whether the learning content requires the user to sign-in on the learning provider platform or not. The default value is false. Optional.
|
250
|
+
## @param value Value to set for the is_premium property.
|
251
|
+
## @return a void
|
252
|
+
##
|
253
|
+
def is_premium=(value)
|
254
|
+
@is_premium = value
|
255
|
+
end
|
256
|
+
##
|
257
|
+
## Gets the isSearchable property value. Indicates whether the learning content is searchable or not. The default value is true. Optional.
|
258
|
+
## @return a boolean
|
259
|
+
##
|
260
|
+
def is_searchable
|
261
|
+
return @is_searchable
|
262
|
+
end
|
263
|
+
##
|
264
|
+
## Sets the isSearchable property value. Indicates whether the learning content is searchable or not. The default value is true. Optional.
|
265
|
+
## @param value Value to set for the is_searchable property.
|
266
|
+
## @return a void
|
267
|
+
##
|
268
|
+
def is_searchable=(value)
|
269
|
+
@is_searchable = value
|
270
|
+
end
|
271
|
+
##
|
272
|
+
## Gets the languageTag property value. The language of the learning content, for example, en-us or fr-fr. Required.
|
273
|
+
## @return a string
|
274
|
+
##
|
275
|
+
def language_tag
|
276
|
+
return @language_tag
|
277
|
+
end
|
278
|
+
##
|
279
|
+
## Sets the languageTag property value. The language of the learning content, for example, en-us or fr-fr. Required.
|
280
|
+
## @param value Value to set for the language_tag property.
|
281
|
+
## @return a void
|
282
|
+
##
|
283
|
+
def language_tag=(value)
|
284
|
+
@language_tag = value
|
285
|
+
end
|
286
|
+
##
|
287
|
+
## Gets the lastModifiedDateTime property value. The date and time when the learning content was last modified. 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. Optional.
|
288
|
+
## @return a date_time
|
289
|
+
##
|
290
|
+
def last_modified_date_time
|
291
|
+
return @last_modified_date_time
|
292
|
+
end
|
293
|
+
##
|
294
|
+
## Sets the lastModifiedDateTime property value. The date and time when the learning content was last modified. 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. Optional.
|
295
|
+
## @param value Value to set for the last_modified_date_time property.
|
296
|
+
## @return a void
|
297
|
+
##
|
298
|
+
def last_modified_date_time=(value)
|
299
|
+
@last_modified_date_time = value
|
300
|
+
end
|
301
|
+
##
|
302
|
+
## Gets the numberOfPages property value. The number of pages of the learning content, for example, 9. Optional.
|
303
|
+
## @return a integer
|
304
|
+
##
|
305
|
+
def number_of_pages
|
306
|
+
return @number_of_pages
|
307
|
+
end
|
308
|
+
##
|
309
|
+
## Sets the numberOfPages property value. The number of pages of the learning content, for example, 9. Optional.
|
310
|
+
## @param value Value to set for the number_of_pages property.
|
311
|
+
## @return a void
|
312
|
+
##
|
313
|
+
def number_of_pages=(value)
|
314
|
+
@number_of_pages = value
|
315
|
+
end
|
316
|
+
##
|
317
|
+
## Serializes information the current object
|
318
|
+
## @param writer Serialization writer to use to serialize this model
|
319
|
+
## @return a void
|
320
|
+
##
|
321
|
+
def serialize(writer)
|
322
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
323
|
+
super
|
324
|
+
writer.write_collection_of_primitive_values("additionalTags", @additional_tags)
|
325
|
+
writer.write_string_value("contentWebUrl", @content_web_url)
|
326
|
+
writer.write_collection_of_primitive_values("contributors", @contributors)
|
327
|
+
writer.write_date_time_value("createdDateTime", @created_date_time)
|
328
|
+
writer.write_string_value("description", @description)
|
329
|
+
writer.write_duration_value("duration", @duration)
|
330
|
+
writer.write_string_value("externalId", @external_id)
|
331
|
+
writer.write_string_value("format", @format)
|
332
|
+
writer.write_boolean_value("isActive", @is_active)
|
333
|
+
writer.write_boolean_value("isPremium", @is_premium)
|
334
|
+
writer.write_boolean_value("isSearchable", @is_searchable)
|
335
|
+
writer.write_string_value("languageTag", @language_tag)
|
336
|
+
writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time)
|
337
|
+
writer.write_number_value("numberOfPages", @number_of_pages)
|
338
|
+
writer.write_collection_of_primitive_values("skillTags", @skill_tags)
|
339
|
+
writer.write_string_value("sourceName", @source_name)
|
340
|
+
writer.write_string_value("thumbnailWebUrl", @thumbnail_web_url)
|
341
|
+
writer.write_string_value("title", @title)
|
342
|
+
end
|
343
|
+
##
|
344
|
+
## Gets the skillTags property value. The skills tags associated with the learning content. Optional.
|
345
|
+
## @return a string
|
346
|
+
##
|
347
|
+
def skill_tags
|
348
|
+
return @skill_tags
|
349
|
+
end
|
350
|
+
##
|
351
|
+
## Sets the skillTags property value. The skills tags associated with the learning content. Optional.
|
352
|
+
## @param value Value to set for the skill_tags property.
|
353
|
+
## @return a void
|
354
|
+
##
|
355
|
+
def skill_tags=(value)
|
356
|
+
@skill_tags = value
|
357
|
+
end
|
358
|
+
##
|
359
|
+
## Gets the sourceName property value. The source name of the learning content, such as LinkedIn Learning or Coursera. Optional.
|
360
|
+
## @return a string
|
361
|
+
##
|
362
|
+
def source_name
|
363
|
+
return @source_name
|
364
|
+
end
|
365
|
+
##
|
366
|
+
## Sets the sourceName property value. The source name of the learning content, such as LinkedIn Learning or Coursera. Optional.
|
367
|
+
## @param value Value to set for the source_name property.
|
368
|
+
## @return a void
|
369
|
+
##
|
370
|
+
def source_name=(value)
|
371
|
+
@source_name = value
|
372
|
+
end
|
373
|
+
##
|
374
|
+
## Gets the thumbnailWebUrl property value. The URL of learning content thumbnail image. Optional.
|
375
|
+
## @return a string
|
376
|
+
##
|
377
|
+
def thumbnail_web_url
|
378
|
+
return @thumbnail_web_url
|
379
|
+
end
|
380
|
+
##
|
381
|
+
## Sets the thumbnailWebUrl property value. The URL of learning content thumbnail image. Optional.
|
382
|
+
## @param value Value to set for the thumbnail_web_url property.
|
383
|
+
## @return a void
|
384
|
+
##
|
385
|
+
def thumbnail_web_url=(value)
|
386
|
+
@thumbnail_web_url = value
|
387
|
+
end
|
388
|
+
##
|
389
|
+
## Gets the title property value. The title of the learning content. Required.
|
390
|
+
## @return a string
|
391
|
+
##
|
392
|
+
def title
|
393
|
+
return @title
|
394
|
+
end
|
395
|
+
##
|
396
|
+
## Sets the title property value. The title of the learning content. Required.
|
397
|
+
## @param value Value to set for the title property.
|
398
|
+
## @return a void
|
399
|
+
##
|
400
|
+
def title=(value)
|
401
|
+
@title = value
|
402
|
+
end
|
403
|
+
end
|
404
|
+
end
|
405
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph
|
6
|
+
module Models
|
7
|
+
class LearningContentCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse
|
8
|
+
include MicrosoftKiotaAbstractions::Parsable
|
9
|
+
##
|
10
|
+
# The value property
|
11
|
+
@value
|
12
|
+
##
|
13
|
+
## Instantiates a new LearningContentCollectionResponse and sets the default values.
|
14
|
+
## @return a void
|
15
|
+
##
|
16
|
+
def initialize()
|
17
|
+
super
|
18
|
+
end
|
19
|
+
##
|
20
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
21
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
22
|
+
## @return a learning_content_collection_response
|
23
|
+
##
|
24
|
+
def self.create_from_discriminator_value(parse_node)
|
25
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
26
|
+
return LearningContentCollectionResponse.new
|
27
|
+
end
|
28
|
+
##
|
29
|
+
## The deserialization information for the current model
|
30
|
+
## @return a i_dictionary
|
31
|
+
##
|
32
|
+
def get_field_deserializers()
|
33
|
+
return super.merge({
|
34
|
+
"value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::LearningContent.create_from_discriminator_value(pn) }) },
|
35
|
+
})
|
36
|
+
end
|
37
|
+
##
|
38
|
+
## Serializes information the current object
|
39
|
+
## @param writer Serialization writer to use to serialize this model
|
40
|
+
## @return a void
|
41
|
+
##
|
42
|
+
def serialize(writer)
|
43
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
44
|
+
super
|
45
|
+
writer.write_collection_of_object_values("value", @value)
|
46
|
+
end
|
47
|
+
##
|
48
|
+
## Gets the value property value. The value property
|
49
|
+
## @return a learning_content
|
50
|
+
##
|
51
|
+
def value
|
52
|
+
return @value
|
53
|
+
end
|
54
|
+
##
|
55
|
+
## Sets the value property value. The value property
|
56
|
+
## @param value Value to set for the value property.
|
57
|
+
## @return a void
|
58
|
+
##
|
59
|
+
def value=(value)
|
60
|
+
@value = value
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,184 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph
|
6
|
+
module Models
|
7
|
+
class LearningProvider < MicrosoftGraph::Models::Entity
|
8
|
+
include MicrosoftKiotaAbstractions::Parsable
|
9
|
+
##
|
10
|
+
# The display name that appears in Viva Learning. Required.
|
11
|
+
@display_name
|
12
|
+
##
|
13
|
+
# Learning catalog items for the provider.
|
14
|
+
@learning_contents
|
15
|
+
##
|
16
|
+
# Authentication URL to access the courses for the provider. Optional.
|
17
|
+
@login_web_url
|
18
|
+
##
|
19
|
+
# The long logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
20
|
+
@long_logo_web_url_for_dark_theme
|
21
|
+
##
|
22
|
+
# The long logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
23
|
+
@long_logo_web_url_for_light_theme
|
24
|
+
##
|
25
|
+
# The square logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
26
|
+
@square_logo_web_url_for_dark_theme
|
27
|
+
##
|
28
|
+
# The square logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
29
|
+
@square_logo_web_url_for_light_theme
|
30
|
+
##
|
31
|
+
## Instantiates a new learningProvider and sets the default values.
|
32
|
+
## @return a void
|
33
|
+
##
|
34
|
+
def initialize()
|
35
|
+
super
|
36
|
+
end
|
37
|
+
##
|
38
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
39
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
40
|
+
## @return a learning_provider
|
41
|
+
##
|
42
|
+
def self.create_from_discriminator_value(parse_node)
|
43
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
44
|
+
return LearningProvider.new
|
45
|
+
end
|
46
|
+
##
|
47
|
+
## Gets the displayName property value. The display name that appears in Viva Learning. Required.
|
48
|
+
## @return a string
|
49
|
+
##
|
50
|
+
def display_name
|
51
|
+
return @display_name
|
52
|
+
end
|
53
|
+
##
|
54
|
+
## Sets the displayName property value. The display name that appears in Viva Learning. Required.
|
55
|
+
## @param value Value to set for the display_name property.
|
56
|
+
## @return a void
|
57
|
+
##
|
58
|
+
def display_name=(value)
|
59
|
+
@display_name = value
|
60
|
+
end
|
61
|
+
##
|
62
|
+
## The deserialization information for the current model
|
63
|
+
## @return a i_dictionary
|
64
|
+
##
|
65
|
+
def get_field_deserializers()
|
66
|
+
return super.merge({
|
67
|
+
"displayName" => lambda {|n| @display_name = n.get_string_value() },
|
68
|
+
"learningContents" => lambda {|n| @learning_contents = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::LearningContent.create_from_discriminator_value(pn) }) },
|
69
|
+
"loginWebUrl" => lambda {|n| @login_web_url = n.get_string_value() },
|
70
|
+
"longLogoWebUrlForDarkTheme" => lambda {|n| @long_logo_web_url_for_dark_theme = n.get_string_value() },
|
71
|
+
"longLogoWebUrlForLightTheme" => lambda {|n| @long_logo_web_url_for_light_theme = n.get_string_value() },
|
72
|
+
"squareLogoWebUrlForDarkTheme" => lambda {|n| @square_logo_web_url_for_dark_theme = n.get_string_value() },
|
73
|
+
"squareLogoWebUrlForLightTheme" => lambda {|n| @square_logo_web_url_for_light_theme = n.get_string_value() },
|
74
|
+
})
|
75
|
+
end
|
76
|
+
##
|
77
|
+
## Gets the learningContents property value. Learning catalog items for the provider.
|
78
|
+
## @return a learning_content
|
79
|
+
##
|
80
|
+
def learning_contents
|
81
|
+
return @learning_contents
|
82
|
+
end
|
83
|
+
##
|
84
|
+
## Sets the learningContents property value. Learning catalog items for the provider.
|
85
|
+
## @param value Value to set for the learning_contents property.
|
86
|
+
## @return a void
|
87
|
+
##
|
88
|
+
def learning_contents=(value)
|
89
|
+
@learning_contents = value
|
90
|
+
end
|
91
|
+
##
|
92
|
+
## Gets the loginWebUrl property value. Authentication URL to access the courses for the provider. Optional.
|
93
|
+
## @return a string
|
94
|
+
##
|
95
|
+
def login_web_url
|
96
|
+
return @login_web_url
|
97
|
+
end
|
98
|
+
##
|
99
|
+
## Sets the loginWebUrl property value. Authentication URL to access the courses for the provider. Optional.
|
100
|
+
## @param value Value to set for the login_web_url property.
|
101
|
+
## @return a void
|
102
|
+
##
|
103
|
+
def login_web_url=(value)
|
104
|
+
@login_web_url = value
|
105
|
+
end
|
106
|
+
##
|
107
|
+
## Gets the longLogoWebUrlForDarkTheme property value. The long logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
108
|
+
## @return a string
|
109
|
+
##
|
110
|
+
def long_logo_web_url_for_dark_theme
|
111
|
+
return @long_logo_web_url_for_dark_theme
|
112
|
+
end
|
113
|
+
##
|
114
|
+
## Sets the longLogoWebUrlForDarkTheme property value. The long logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
115
|
+
## @param value Value to set for the long_logo_web_url_for_dark_theme property.
|
116
|
+
## @return a void
|
117
|
+
##
|
118
|
+
def long_logo_web_url_for_dark_theme=(value)
|
119
|
+
@long_logo_web_url_for_dark_theme = value
|
120
|
+
end
|
121
|
+
##
|
122
|
+
## Gets the longLogoWebUrlForLightTheme property value. The long logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
123
|
+
## @return a string
|
124
|
+
##
|
125
|
+
def long_logo_web_url_for_light_theme
|
126
|
+
return @long_logo_web_url_for_light_theme
|
127
|
+
end
|
128
|
+
##
|
129
|
+
## Sets the longLogoWebUrlForLightTheme property value. The long logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
130
|
+
## @param value Value to set for the long_logo_web_url_for_light_theme property.
|
131
|
+
## @return a void
|
132
|
+
##
|
133
|
+
def long_logo_web_url_for_light_theme=(value)
|
134
|
+
@long_logo_web_url_for_light_theme = value
|
135
|
+
end
|
136
|
+
##
|
137
|
+
## Serializes information the current object
|
138
|
+
## @param writer Serialization writer to use to serialize this model
|
139
|
+
## @return a void
|
140
|
+
##
|
141
|
+
def serialize(writer)
|
142
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
143
|
+
super
|
144
|
+
writer.write_string_value("displayName", @display_name)
|
145
|
+
writer.write_collection_of_object_values("learningContents", @learning_contents)
|
146
|
+
writer.write_string_value("loginWebUrl", @login_web_url)
|
147
|
+
writer.write_string_value("longLogoWebUrlForDarkTheme", @long_logo_web_url_for_dark_theme)
|
148
|
+
writer.write_string_value("longLogoWebUrlForLightTheme", @long_logo_web_url_for_light_theme)
|
149
|
+
writer.write_string_value("squareLogoWebUrlForDarkTheme", @square_logo_web_url_for_dark_theme)
|
150
|
+
writer.write_string_value("squareLogoWebUrlForLightTheme", @square_logo_web_url_for_light_theme)
|
151
|
+
end
|
152
|
+
##
|
153
|
+
## Gets the squareLogoWebUrlForDarkTheme property value. The square logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
154
|
+
## @return a string
|
155
|
+
##
|
156
|
+
def square_logo_web_url_for_dark_theme
|
157
|
+
return @square_logo_web_url_for_dark_theme
|
158
|
+
end
|
159
|
+
##
|
160
|
+
## Sets the squareLogoWebUrlForDarkTheme property value. The square logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
161
|
+
## @param value Value to set for the square_logo_web_url_for_dark_theme property.
|
162
|
+
## @return a void
|
163
|
+
##
|
164
|
+
def square_logo_web_url_for_dark_theme=(value)
|
165
|
+
@square_logo_web_url_for_dark_theme = value
|
166
|
+
end
|
167
|
+
##
|
168
|
+
## Gets the squareLogoWebUrlForLightTheme property value. The square logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
169
|
+
## @return a string
|
170
|
+
##
|
171
|
+
def square_logo_web_url_for_light_theme
|
172
|
+
return @square_logo_web_url_for_light_theme
|
173
|
+
end
|
174
|
+
##
|
175
|
+
## Sets the squareLogoWebUrlForLightTheme property value. The square logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
|
176
|
+
## @param value Value to set for the square_logo_web_url_for_light_theme property.
|
177
|
+
## @return a void
|
178
|
+
##
|
179
|
+
def square_logo_web_url_for_light_theme=(value)
|
180
|
+
@square_logo_web_url_for_light_theme = value
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
184
|
+
end
|