microsoft_graph 0.17.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (382) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/auto-merge-dependabot.yml +32 -0
  3. data/CHANGELOG.md +12 -0
  4. data/lib/chats/item/messages/messages_request_builder.rb +2 -2
  5. data/lib/communications/calls/item/participants/invite/invite_request_builder.rb +2 -2
  6. data/lib/contacts/item/member_of/graph_administrative_unit/count/count.rb +0 -0
  7. data/lib/contacts/item/member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
  8. data/lib/contacts/item/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  9. data/lib/contacts/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
  10. data/lib/contacts/item/member_of/item/directory_object_item_request_builder.rb +6 -0
  11. data/lib/contacts/item/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  12. data/lib/contacts/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
  13. data/lib/contacts/item/member_of/member_of_request_builder.rb +6 -0
  14. data/lib/contacts/item/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
  15. data/lib/contacts/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
  16. data/lib/contacts/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  17. data/lib/contacts/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
  18. data/lib/contacts/item/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
  19. data/lib/contacts/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  20. data/lib/contacts/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
  21. data/lib/contacts/item/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
  22. data/lib/devices/item/member_of/graph_administrative_unit/count/count.rb +0 -0
  23. data/lib/devices/item/member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
  24. data/lib/devices/item/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  25. data/lib/devices/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
  26. data/lib/devices/item/member_of/item/directory_object_item_request_builder.rb +6 -0
  27. data/lib/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  28. data/lib/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
  29. data/lib/devices/item/member_of/member_of_request_builder.rb +6 -0
  30. data/lib/devices/item/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
  31. data/lib/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
  32. data/lib/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  33. data/lib/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
  34. data/lib/devices/item/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
  35. data/lib/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  36. data/lib/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
  37. data/lib/devices/item/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
  38. data/lib/drives/item/bundles/bundles_request_builder.rb +49 -0
  39. data/lib/drives/item/items/item/workbook/functions/beta_dist/beta_dist_post_request_body.rb +3 -3
  40. data/lib/drives/item/items/item/workbook/functions/beta_dist/beta_dist_request_builder.rb +2 -2
  41. data/lib/drives/item/items/item/workbook/functions/beta_inv/beta_inv_post_request_body.rb +3 -3
  42. data/lib/drives/item/items/item/workbook/functions/beta_inv/beta_inv_request_builder.rb +2 -2
  43. data/lib/drives/item/items/item/workbook/functions/binom_dist/binom_dist_post_request_body.rb +3 -3
  44. data/lib/drives/item/items/item/workbook/functions/binom_dist/binom_dist_request_builder.rb +2 -2
  45. data/lib/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_post_request_body.rb +3 -3
  46. data/lib/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_request_builder.rb +2 -2
  47. data/lib/drives/item/items/item/workbook/functions/binom_inv/binom_inv_post_request_body.rb +3 -3
  48. data/lib/drives/item/items/item/workbook/functions/binom_inv/binom_inv_request_builder.rb +2 -2
  49. data/lib/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_post_request_body.rb +3 -3
  50. data/lib/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_request_builder.rb +2 -2
  51. data/lib/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_post_request_body.rb +3 -3
  52. data/lib/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_request_builder.rb +2 -2
  53. data/lib/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_post_request_body.rb +3 -3
  54. data/lib/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_request_builder.rb +2 -2
  55. data/lib/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_post_request_body.rb +3 -3
  56. data/lib/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_request_builder.rb +2 -2
  57. data/lib/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_post_request_body.rb +3 -3
  58. data/lib/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_request_builder.rb +2 -2
  59. data/lib/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_post_request_body.rb +3 -3
  60. data/lib/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_request_builder.rb +2 -2
  61. data/lib/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_post_request_body.rb +3 -3
  62. data/lib/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_request_builder.rb +2 -2
  63. data/lib/drives/item/items/item/workbook/functions/confidence_t/confidence_t_post_request_body.rb +3 -3
  64. data/lib/drives/item/items/item/workbook/functions/confidence_t/confidence_t_request_builder.rb +2 -2
  65. data/lib/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_post_request_body.rb +3 -3
  66. data/lib/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_request_builder.rb +2 -2
  67. data/lib/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_post_request_body.rb +3 -3
  68. data/lib/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_request_builder.rb +2 -2
  69. data/lib/drives/item/items/item/workbook/functions/erf_precise/erf_precise_post_request_body.rb +3 -3
  70. data/lib/drives/item/items/item/workbook/functions/erf_precise/erf_precise_request_builder.rb +2 -2
  71. data/lib/drives/item/items/item/workbook/functions/error_type/error_type_post_request_body.rb +3 -3
  72. data/lib/drives/item/items/item/workbook/functions/error_type/error_type_request_builder.rb +2 -2
  73. data/lib/drives/item/items/item/workbook/functions/expon_dist/expon_dist_post_request_body.rb +3 -3
  74. data/lib/drives/item/items/item/workbook/functions/expon_dist/expon_dist_request_builder.rb +2 -2
  75. data/lib/drives/item/items/item/workbook/functions/f_dist/f_dist_post_request_body.rb +3 -3
  76. data/lib/drives/item/items/item/workbook/functions/f_dist/f_dist_request_builder.rb +2 -2
  77. data/lib/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_post_request_body.rb +3 -3
  78. data/lib/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_request_builder.rb +2 -2
  79. data/lib/drives/item/items/item/workbook/functions/f_inv/f_inv_post_request_body.rb +3 -3
  80. data/lib/drives/item/items/item/workbook/functions/f_inv/f_inv_request_builder.rb +2 -2
  81. data/lib/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_post_request_body.rb +3 -3
  82. data/lib/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_request_builder.rb +2 -2
  83. data/lib/drives/item/items/item/workbook/functions/floor_math/floor_math_post_request_body.rb +3 -3
  84. data/lib/drives/item/items/item/workbook/functions/floor_math/floor_math_request_builder.rb +2 -2
  85. data/lib/drives/item/items/item/workbook/functions/floor_precise/floor_precise_post_request_body.rb +3 -3
  86. data/lib/drives/item/items/item/workbook/functions/floor_precise/floor_precise_request_builder.rb +2 -2
  87. data/lib/drives/item/items/item/workbook/functions/functions_request_builder.rb +61 -61
  88. data/lib/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_post_request_body.rb +3 -3
  89. data/lib/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_request_builder.rb +2 -2
  90. data/lib/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_post_request_body.rb +3 -3
  91. data/lib/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_request_builder.rb +2 -2
  92. data/lib/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_post_request_body.rb +3 -3
  93. data/lib/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_request_builder.rb +2 -2
  94. data/lib/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_post_request_body.rb +3 -3
  95. data/lib/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_request_builder.rb +2 -2
  96. data/lib/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_post_request_body.rb +3 -3
  97. data/lib/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_request_builder.rb +2 -2
  98. data/lib/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_post_request_body.rb +3 -3
  99. data/lib/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_request_builder.rb +2 -2
  100. data/lib/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_post_request_body.rb +3 -3
  101. data/lib/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_request_builder.rb +2 -2
  102. data/lib/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_post_request_body.rb +3 -3
  103. data/lib/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_request_builder.rb +2 -2
  104. data/lib/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_post_request_body.rb +3 -3
  105. data/lib/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_request_builder.rb +2 -2
  106. data/lib/drives/item/items/item/workbook/functions/norm_dist/norm_dist_post_request_body.rb +3 -3
  107. data/lib/drives/item/items/item/workbook/functions/norm_dist/norm_dist_request_builder.rb +2 -2
  108. data/lib/drives/item/items/item/workbook/functions/norm_inv/norm_inv_post_request_body.rb +3 -3
  109. data/lib/drives/item/items/item/workbook/functions/norm_inv/norm_inv_request_builder.rb +2 -2
  110. data/lib/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_post_request_body.rb +3 -3
  111. data/lib/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_request_builder.rb +2 -2
  112. data/lib/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_post_request_body.rb +3 -3
  113. data/lib/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_request_builder.rb +2 -2
  114. data/lib/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_post_request_body.rb +3 -3
  115. data/lib/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_request_builder.rb +2 -2
  116. data/lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb +3 -3
  117. data/lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_request_builder.rb +2 -2
  118. data/lib/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_post_request_body.rb +3 -3
  119. data/lib/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_request_builder.rb +2 -2
  120. data/lib/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_post_request_body.rb +3 -3
  121. data/lib/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_request_builder.rb +2 -2
  122. data/lib/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_post_request_body.rb +3 -3
  123. data/lib/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_request_builder.rb +2 -2
  124. data/lib/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_post_request_body.rb +3 -3
  125. data/lib/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_request_builder.rb +2 -2
  126. data/lib/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_post_request_body.rb +3 -3
  127. data/lib/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_request_builder.rb +2 -2
  128. data/lib/drives/item/items/item/workbook/functions/rank_avg/rank_avg_post_request_body.rb +3 -3
  129. data/lib/drives/item/items/item/workbook/functions/rank_avg/rank_avg_request_builder.rb +2 -2
  130. data/lib/drives/item/items/item/workbook/functions/rank_eq/rank_eq_post_request_body.rb +3 -3
  131. data/lib/drives/item/items/item/workbook/functions/rank_eq/rank_eq_request_builder.rb +2 -2
  132. data/lib/drives/item/items/item/workbook/functions/skew_p/skew_p_post_request_body.rb +3 -3
  133. data/lib/drives/item/items/item/workbook/functions/skew_p/skew_p_request_builder.rb +2 -2
  134. data/lib/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_post_request_body.rb +3 -3
  135. data/lib/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_request_builder.rb +2 -2
  136. data/lib/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_post_request_body.rb +3 -3
  137. data/lib/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_request_builder.rb +2 -2
  138. data/lib/drives/item/items/item/workbook/functions/t_dist/t_dist_post_request_body.rb +3 -3
  139. data/lib/drives/item/items/item/workbook/functions/t_dist/t_dist_request_builder.rb +2 -2
  140. 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
  141. 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
  142. data/lib/drives/item/items/item/workbook/functions/t_dist_2_t/t_dist_2_t.rb +1 -1
  143. data/lib/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_post_request_body.rb +3 -3
  144. data/lib/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_request_builder.rb +2 -2
  145. data/lib/drives/item/items/item/workbook/functions/t_inv/t_inv_post_request_body.rb +3 -3
  146. data/lib/drives/item/items/item/workbook/functions/t_inv/t_inv_request_builder.rb +2 -2
  147. 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
  148. 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
  149. data/lib/drives/item/items/item/workbook/functions/t_inv_2_t/t_inv_2_t.rb +1 -1
  150. data/lib/drives/item/items/item/workbook/functions/var_p/var_p_post_request_body.rb +3 -3
  151. data/lib/drives/item/items/item/workbook/functions/var_p/var_p_request_builder.rb +2 -2
  152. data/lib/drives/item/items/item/workbook/functions/var_s/var_s_post_request_body.rb +3 -3
  153. data/lib/drives/item/items/item/workbook/functions/var_s/var_s_request_builder.rb +2 -2
  154. data/lib/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_post_request_body.rb +3 -3
  155. data/lib/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_request_builder.rb +2 -2
  156. data/lib/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_post_request_body.rb +3 -3
  157. data/lib/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_request_builder.rb +2 -2
  158. data/lib/drives/item/items/item/workbook/functions/z_test/z_test_post_request_body.rb +3 -3
  159. data/lib/drives/item/items/item/workbook/functions/z_test/z_test_request_builder.rb +2 -2
  160. data/lib/drives/item/items/item/workbook/names/item/range/range_request_builder.rb +2 -2
  161. data/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/points_request_builder.rb +3 -3
  162. data/lib/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.rb +2 -2
  163. data/lib/employee_experience/employee_experience.rb +0 -0
  164. data/lib/employee_experience/employee_experience_request_builder.rb +179 -0
  165. data/lib/employee_experience/learning_providers/count/count.rb +0 -0
  166. data/lib/employee_experience/learning_providers/count/count_request_builder.rb +118 -0
  167. data/lib/employee_experience/learning_providers/item/item.rb +0 -0
  168. data/lib/employee_experience/learning_providers/item/learning_contents/count/count.rb +0 -0
  169. data/lib/employee_experience/learning_providers/item/learning_contents/count/count_request_builder.rb +124 -0
  170. data/lib/employee_experience/learning_providers/item/learning_contents/item/item.rb +0 -0
  171. data/lib/employee_experience/learning_providers/item/learning_contents/item/learning_content_item_request_builder.rb +215 -0
  172. data/lib/employee_experience/learning_providers/item/learning_contents/learning_contents.rb +0 -0
  173. data/lib/employee_experience/learning_providers/item/learning_contents/learning_contents_request_builder.rb +207 -0
  174. data/lib/employee_experience/learning_providers/item/learning_provider_item_request_builder.rb +227 -0
  175. data/lib/employee_experience/learning_providers/learning_providers.rb +0 -0
  176. data/lib/employee_experience/learning_providers/learning_providers_request_builder.rb +201 -0
  177. data/lib/graph_base_service_client.rb +6 -0
  178. data/lib/groups/item/conversations/conversations_request_builder.rb +2 -2
  179. data/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb +2 -2
  180. data/lib/groups/item/conversations/item/threads/item/posts/item/reply/reply_request_builder.rb +2 -2
  181. data/lib/groups/item/conversations/item/threads/item/reply/reply_request_builder.rb +2 -2
  182. data/lib/groups/item/group_item_request_builder.rb +2 -2
  183. data/lib/groups/item/member_of/graph_administrative_unit/count/count.rb +0 -0
  184. data/lib/groups/item/member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
  185. data/lib/groups/item/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  186. data/lib/groups/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
  187. data/lib/groups/item/member_of/item/directory_object_item_request_builder.rb +6 -0
  188. data/lib/groups/item/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  189. data/lib/groups/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
  190. data/lib/groups/item/member_of/member_of_request_builder.rb +6 -0
  191. data/lib/groups/item/sites/item/permissions/permissions_request_builder.rb +2 -2
  192. data/lib/groups/item/team/channels/item/members/members_request_builder.rb +2 -2
  193. data/lib/groups/item/team/channels/item/messages/messages_request_builder.rb +2 -2
  194. data/lib/groups/item/team/primary_channel/members/members_request_builder.rb +2 -2
  195. data/lib/groups/item/team/primary_channel/messages/messages_request_builder.rb +2 -2
  196. data/lib/groups/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb +2 -2
  197. data/lib/groups/item/threads/item/posts/item/reply/reply_request_builder.rb +2 -2
  198. data/lib/groups/item/threads/item/reply/reply_request_builder.rb +2 -2
  199. data/lib/groups/item/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
  200. data/lib/groups/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
  201. data/lib/groups/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  202. data/lib/groups/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
  203. data/lib/groups/item/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
  204. data/lib/groups/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  205. data/lib/groups/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
  206. data/lib/groups/item/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
  207. data/lib/identity_protection/risky_users/item/history/history_request_builder.rb +3 -3
  208. data/lib/kiota-lock.json +2 -2
  209. data/lib/me/authentication/methods/item/reset_password/reset_password_request_builder.rb +2 -2
  210. data/lib/me/chats/item/messages/messages_request_builder.rb +2 -2
  211. data/lib/me/joined_teams/item/channels/item/members/members_request_builder.rb +2 -2
  212. data/lib/me/joined_teams/item/channels/item/messages/messages_request_builder.rb +2 -2
  213. data/lib/me/joined_teams/item/primary_channel/members/members_request_builder.rb +2 -2
  214. data/lib/me/joined_teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
  215. data/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb +5 -5
  216. data/lib/me/mail_folders/item/messages/item/attachments/attachments_request_builder.rb +5 -5
  217. data/lib/me/me_request_builder.rb +3 -3
  218. data/lib/me/member_of/graph_administrative_unit/count/count.rb +0 -0
  219. data/lib/me/member_of/graph_administrative_unit/count/count_request_builder.rb +121 -0
  220. data/lib/me/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  221. data/lib/me/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +155 -0
  222. data/lib/me/member_of/item/directory_object_item_request_builder.rb +6 -0
  223. data/lib/me/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  224. data/lib/me/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +122 -0
  225. data/lib/me/member_of/member_of_request_builder.rb +6 -0
  226. data/lib/me/messages/item/attachments/attachments_request_builder.rb +5 -5
  227. data/lib/me/messages/messages_request_builder.rb +3 -3
  228. data/lib/me/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
  229. data/lib/me/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +121 -0
  230. data/lib/me/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  231. data/lib/me/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +155 -0
  232. data/lib/me/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
  233. data/lib/me/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  234. data/lib/me/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +122 -0
  235. data/lib/me/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
  236. data/lib/models/access_review_history_definition.rb +1 -1
  237. data/lib/models/access_review_instance.rb +1 -1
  238. data/lib/models/access_review_schedule_definition.rb +1 -1
  239. data/lib/models/administrative_unit.rb +1 -1
  240. data/lib/models/agreement_file_data.rb +2 -2
  241. data/lib/models/alternative_security_id.rb +2 -2
  242. data/lib/models/application.rb +2 -2
  243. data/lib/models/application_template.rb +1 -1
  244. data/lib/models/attachment_session.rb +2 -2
  245. data/lib/models/authorization_policy.rb +20 -0
  246. data/lib/models/booking_appointment.rb +1 -3
  247. data/lib/models/certificate_authority.rb +2 -2
  248. data/lib/models/conditional_access_all_external_tenants.rb +45 -0
  249. data/lib/models/conditional_access_enumerated_external_tenants.rb +65 -0
  250. data/lib/models/conditional_access_external_tenants.rb +112 -0
  251. data/lib/models/conditional_access_external_tenants_membership_kind.rb +9 -0
  252. data/lib/models/conditional_access_guest_or_external_user_types.rb +14 -0
  253. data/lib/models/conditional_access_guests_or_external_users.rb +122 -0
  254. data/lib/models/conditional_access_users.rb +40 -0
  255. data/lib/models/data_policy_operation.rb +1 -1
  256. data/lib/models/delegated_admin_access_assignment.rb +1 -1
  257. data/lib/models/delegated_admin_relationship.rb +1 -1
  258. data/lib/models/deleted_team.rb +3 -3
  259. data/lib/models/device.rb +1 -1
  260. data/lib/models/device_and_app_management_data.rb +2 -2
  261. data/lib/models/directory_role.rb +1 -1
  262. data/lib/models/drive.rb +1 -1
  263. data/lib/models/drive_item.rb +2 -2
  264. data/lib/models/drive_item_version.rb +2 -2
  265. data/lib/models/employee_experience.rb +102 -0
  266. data/lib/models/enterprise_code_signing_certificate.rb +2 -2
  267. data/lib/models/entity.rb +4 -0
  268. data/lib/models/file_attachment.rb +2 -2
  269. data/lib/models/group.rb +1 -1
  270. data/lib/models/identity_api_connector.rb +1 -1
  271. data/lib/models/imported_windows_autopilot_device_identity.rb +2 -2
  272. data/lib/models/ios_custom_configuration.rb +2 -2
  273. data/lib/models/ios_mobile_app_configuration.rb +2 -2
  274. data/lib/models/key_credential.rb +4 -4
  275. data/lib/models/learning_content.rb +405 -0
  276. data/lib/models/learning_content_collection_response.rb +64 -0
  277. data/lib/models/learning_provider.rb +184 -0
  278. data/lib/models/learning_provider_collection_response.rb +64 -0
  279. data/lib/models/mac_o_s_custom_configuration.rb +3 -5
  280. data/lib/models/message.rb +2 -2
  281. data/lib/models/microsoft_authenticator_authentication_method_configuration.rb +1 -1
  282. data/lib/models/mime_content.rb +2 -2
  283. data/lib/models/mobile_app_content_file.rb +2 -2
  284. data/lib/models/mobile_threat_defense_connector.rb +36 -36
  285. data/lib/models/models.rb +11 -0
  286. data/lib/models/oma_setting_string_xml.rb +2 -2
  287. data/lib/models/onenote_page.rb +2 -2
  288. data/lib/models/onenote_resource.rb +2 -2
  289. data/lib/models/online_meeting.rb +3 -3
  290. data/lib/models/open_shift.rb +1 -1
  291. data/lib/models/organization.rb +1 -1
  292. data/lib/models/organizational_branding_properties.rb +6 -6
  293. data/lib/models/password_authentication_method.rb +1 -1
  294. data/lib/models/password_credential.rb +2 -2
  295. data/lib/models/phone_authentication_method.rb +1 -1
  296. data/lib/models/print_service.rb +1 -1
  297. data/lib/models/report.rb +2 -2
  298. data/lib/models/schedule_change_request.rb +1 -1
  299. data/lib/models/scheduling_group.rb +1 -1
  300. data/lib/models/security/ediscovery_review_tag.rb +1 -1
  301. data/lib/models/self_signed_certificate.rb +4 -4
  302. data/lib/models/service_announcement_attachment.rb +2 -2
  303. data/lib/models/service_principal_risk_detection.rb +1 -1
  304. data/lib/models/service_update_message.rb +2 -2
  305. data/lib/models/shift.rb +1 -1
  306. data/lib/models/site.rb +1 -1
  307. data/lib/models/software_oath_authentication_method.rb +1 -1
  308. data/lib/models/subscribed_sku.rb +1 -1
  309. data/lib/models/task_file_attachment.rb +2 -2
  310. data/lib/models/teamwork.rb +3 -3
  311. data/lib/models/teamwork_hosted_content.rb +2 -2
  312. data/lib/models/temporary_access_pass_authentication_method.rb +1 -1
  313. data/lib/models/thumbnail.rb +2 -2
  314. data/lib/models/time_off.rb +1 -1
  315. data/lib/models/time_off_reason.rb +1 -1
  316. data/lib/models/user_activity.rb +1 -1
  317. data/lib/models/windows10_endpoint_protection_configuration.rb +2 -2
  318. data/lib/models/windows10_general_configuration.rb +4 -4
  319. data/lib/models/windows_hello_for_business_authentication_method.rb +1 -1
  320. data/lib/models/windows_information_protection_app_locker_file.rb +2 -2
  321. data/lib/models/windows_information_protection_data_recovery_certificate.rb +2 -2
  322. data/lib/models/workbook_range_view.rb +1 -1
  323. data/lib/security/alerts_v2/alerts_v2_request_builder.rb +4 -4
  324. data/lib/security/security_request_builder.rb +1 -1
  325. data/lib/service_principals/item/member_of/graph_administrative_unit/count/count.rb +0 -0
  326. data/lib/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
  327. data/lib/service_principals/item/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  328. data/lib/service_principals/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
  329. data/lib/service_principals/item/member_of/item/directory_object_item_request_builder.rb +6 -0
  330. data/lib/service_principals/item/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  331. data/lib/service_principals/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
  332. data/lib/service_principals/item/member_of/member_of_request_builder.rb +6 -0
  333. data/lib/service_principals/item/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
  334. data/lib/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
  335. data/lib/service_principals/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  336. data/lib/service_principals/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
  337. data/lib/service_principals/item/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
  338. data/lib/service_principals/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  339. data/lib/service_principals/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
  340. data/lib/service_principals/item/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
  341. data/lib/sites/item/permissions/permissions_request_builder.rb +2 -2
  342. data/lib/teams/item/channels/item/members/members_request_builder.rb +2 -2
  343. data/lib/teams/item/channels/item/messages/messages_request_builder.rb +2 -2
  344. data/lib/teams/item/primary_channel/members/members_request_builder.rb +2 -2
  345. data/lib/teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
  346. data/lib/teams/item/team_item_request_builder.rb +3 -3
  347. data/lib/teams/teams_request_builder.rb +1 -107
  348. data/lib/teamwork/deleted_teams/deleted_teams_request_builder.rb +3 -3
  349. data/lib/teamwork/deleted_teams/item/channels/channels_request_builder.rb +3 -3
  350. data/lib/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.rb +3 -3
  351. data/lib/teamwork/deleted_teams/item/channels/item/members/members_request_builder.rb +2 -2
  352. data/lib/teamwork/deleted_teams/item/channels/item/messages/messages_request_builder.rb +2 -2
  353. data/lib/teamwork/deleted_teams/item/deleted_team_item_request_builder.rb +3 -3
  354. data/lib/users/item/authentication/methods/item/reset_password/reset_password_request_builder.rb +2 -2
  355. data/lib/users/item/chats/item/messages/messages_request_builder.rb +2 -2
  356. data/lib/users/item/joined_teams/item/channels/item/members/members_request_builder.rb +2 -2
  357. data/lib/users/item/joined_teams/item/channels/item/messages/messages_request_builder.rb +2 -2
  358. data/lib/users/item/joined_teams/item/primary_channel/members/members_request_builder.rb +2 -2
  359. data/lib/users/item/joined_teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
  360. data/lib/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb +5 -5
  361. data/lib/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.rb +5 -5
  362. data/lib/users/item/member_of/graph_administrative_unit/count/count.rb +0 -0
  363. data/lib/users/item/member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
  364. data/lib/users/item/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  365. data/lib/users/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
  366. data/lib/users/item/member_of/item/directory_object_item_request_builder.rb +6 -0
  367. data/lib/users/item/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  368. data/lib/users/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
  369. data/lib/users/item/member_of/member_of_request_builder.rb +6 -0
  370. data/lib/users/item/messages/item/attachments/attachments_request_builder.rb +5 -5
  371. data/lib/users/item/messages/messages_request_builder.rb +3 -3
  372. data/lib/users/item/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
  373. data/lib/users/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
  374. data/lib/users/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  375. data/lib/users/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
  376. data/lib/users/item/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
  377. data/lib/users/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
  378. data/lib/users/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
  379. data/lib/users/item/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
  380. data/lib/users/users_request_builder.rb +3 -3
  381. data/lib/version_information.rb +3 -1
  382. metadata +104 -6
@@ -114,7 +114,7 @@ module MicrosoftGraph
114
114
  return @request_adapter.send_async(request_info, nil, error_mapping)
115
115
  end
116
116
  ##
117
- ## Get channels from teamwork
117
+ ## The channels that are either shared with this deleted team or created in this deleted team.
118
118
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
119
119
  ## @return a Fiber of channel
120
120
  ##
@@ -204,7 +204,7 @@ module MicrosoftGraph
204
204
  return request_info
205
205
  end
206
206
  ##
207
- ## Get channels from teamwork
207
+ ## The channels that are either shared with this deleted team or created in this deleted team.
208
208
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
209
209
  ## @return a request_information
210
210
  ##
@@ -255,7 +255,7 @@ module MicrosoftGraph
255
255
  end
256
256
 
257
257
  ##
258
- # Get channels from teamwork
258
+ # The channels that are either shared with this deleted team or created in this deleted team.
259
259
  class ChannelItemRequestBuilderGetQueryParameters
260
260
 
261
261
  ##
@@ -71,7 +71,7 @@ module MicrosoftGraph
71
71
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ConversationMemberCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
72
72
  end
73
73
  ##
74
- ## Add a conversationMember to a channel.
74
+ ## Add a conversationMember to a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`.
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 conversation_member
@@ -105,7 +105,7 @@ module MicrosoftGraph
105
105
  return request_info
106
106
  end
107
107
  ##
108
- ## Add a conversationMember to a channel.
108
+ ## Add a conversationMember to a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`.
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
@@ -71,7 +71,7 @@ module MicrosoftGraph
71
71
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ChatMessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
72
72
  end
73
73
  ##
74
- ## Send a new chatMessage in the specified channel or a chat.
74
+ ## Send a new chatMessage in the specified channel.
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 chat_message
@@ -105,7 +105,7 @@ module MicrosoftGraph
105
105
  return request_info
106
106
  end
107
107
  ##
108
- ## Send a new chatMessage in the specified channel or a chat.
108
+ ## Send a new chatMessage in the specified channel.
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
@@ -70,7 +70,7 @@ module MicrosoftGraph
70
70
  return @request_adapter.send_async(request_info, nil, error_mapping)
71
71
  end
72
72
  ##
73
- ## Get deletedTeams from teamwork
73
+ ## The deleted team.
74
74
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
75
75
  ## @return a Fiber of deleted_team
76
76
  ##
@@ -116,7 +116,7 @@ module MicrosoftGraph
116
116
  return request_info
117
117
  end
118
118
  ##
119
- ## Get deletedTeams from teamwork
119
+ ## The deleted team.
120
120
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
121
121
  ## @return a request_information
122
122
  ##
@@ -167,7 +167,7 @@ module MicrosoftGraph
167
167
  end
168
168
 
169
169
  ##
170
- # Get deletedTeams from teamwork
170
+ # The deleted team.
171
171
  class DeletedTeamItemRequestBuilderGetQueryParameters
172
172
 
173
173
  ##
@@ -44,7 +44,7 @@ module MicrosoftGraph
44
44
  @path_parameters = path_parameters if path_parameters.is_a? Hash
45
45
  end
46
46
  ##
47
- ## Invoke action resetPassword
47
+ ## Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and cannot be performed on a user's own account. This flow writes the new password to Azure Active Directory and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and will return a **Location** header with a link where the caller can periodically check for the status of the reset operation.
48
48
  ## @param body The request body
49
49
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50
50
  ## @return a Fiber of password_reset_response
@@ -60,7 +60,7 @@ module MicrosoftGraph
60
60
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::PasswordResetResponse.create_from_discriminator_value(pn) }, error_mapping)
61
61
  end
62
62
  ##
63
- ## Invoke action resetPassword
63
+ ## Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and cannot be performed on a user's own account. This flow writes the new password to Azure Active Directory and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and will return a **Location** header with a link where the caller can periodically check for the status of the reset operation.
64
64
  ## @param body The request body
65
65
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
66
66
  ## @return a request_information
@@ -69,7 +69,7 @@ module MicrosoftGraph
69
69
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ChatMessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
70
70
  end
71
71
  ##
72
- ## Send a new chatMessage in the specified channel or a chat.
72
+ ## Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
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 chat_message
@@ -103,7 +103,7 @@ module MicrosoftGraph
103
103
  return request_info
104
104
  end
105
105
  ##
106
- ## Send a new chatMessage in the specified channel or a chat.
106
+ ## Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
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
@@ -73,7 +73,7 @@ module MicrosoftGraph
73
73
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ConversationMemberCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
74
74
  end
75
75
  ##
76
- ## Add a conversationMember to a channel.
76
+ ## Add a conversationMember to a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`.
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 conversation_member
@@ -107,7 +107,7 @@ module MicrosoftGraph
107
107
  return request_info
108
108
  end
109
109
  ##
110
- ## Add a conversationMember to a channel.
110
+ ## Add a conversationMember to a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`.
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
@@ -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
- ## Send a new chatMessage in the specified channel or a chat.
76
+ ## Send a new chatMessage in the 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
- ## Send a new chatMessage in the specified channel or a chat.
110
+ ## Send a new chatMessage in the 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
@@ -71,7 +71,7 @@ module MicrosoftGraph
71
71
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ConversationMemberCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
72
72
  end
73
73
  ##
74
- ## Add a conversationMember to a channel.
74
+ ## Add a conversationMember to a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`.
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 conversation_member
@@ -105,7 +105,7 @@ module MicrosoftGraph
105
105
  return request_info
106
106
  end
107
107
  ##
108
- ## Add a conversationMember to a channel.
108
+ ## Add a conversationMember to a channel. This operation is allowed only for channels with a **membershipType** value of `private` or `shared`.
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
@@ -71,7 +71,7 @@ module MicrosoftGraph
71
71
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ChatMessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
72
72
  end
73
73
  ##
74
- ## Send a new chatMessage in the specified channel or a chat.
74
+ ## Send a new chatMessage in the specified channel.
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 chat_message
@@ -105,7 +105,7 @@ module MicrosoftGraph
105
105
  return request_info
106
106
  end
107
107
  ##
108
- ## Send a new chatMessage in the specified channel or a chat.
108
+ ## Send a new chatMessage in the specified channel.
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
@@ -63,7 +63,7 @@ module MicrosoftGraph
63
63
  @path_parameters = path_parameters if path_parameters.is_a? Hash
64
64
  end
65
65
  ##
66
- ## Retrieve a list of attachment objects attached to a message.
66
+ ## Retrieve a list of attachment objects.
67
67
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
68
68
  ## @return a Fiber of attachment_collection_response
69
69
  ##
@@ -77,7 +77,7 @@ module MicrosoftGraph
77
77
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
78
78
  end
79
79
  ##
80
- ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
80
+ ## 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.
81
81
  ## @param body The request body
82
82
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
83
83
  ## @return a Fiber of attachment
@@ -93,7 +93,7 @@ module MicrosoftGraph
93
93
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Attachment.create_from_discriminator_value(pn) }, error_mapping)
94
94
  end
95
95
  ##
96
- ## Retrieve a list of attachment objects attached to a message.
96
+ ## Retrieve a list of attachment objects.
97
97
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
98
98
  ## @return a request_information
99
99
  ##
@@ -111,7 +111,7 @@ module MicrosoftGraph
111
111
  return request_info
112
112
  end
113
113
  ##
114
- ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
114
+ ## 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.
115
115
  ## @param body The request body
116
116
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
117
117
  ## @return a request_information
@@ -132,7 +132,7 @@ module MicrosoftGraph
132
132
  end
133
133
 
134
134
  ##
135
- # Retrieve a list of attachment objects attached to a message.
135
+ # Retrieve a list of attachment objects.
136
136
  class AttachmentsRequestBuilderGetQueryParameters
137
137
 
138
138
  ##
@@ -59,7 +59,7 @@ module MicrosoftGraph
59
59
  @path_parameters = path_parameters if path_parameters.is_a? Hash
60
60
  end
61
61
  ##
62
- ## Retrieve a list of attachment objects attached to a message.
62
+ ## Retrieve a list of attachment objects.
63
63
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
64
64
  ## @return a Fiber of attachment_collection_response
65
65
  ##
@@ -73,7 +73,7 @@ module MicrosoftGraph
73
73
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
74
74
  end
75
75
  ##
76
- ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
76
+ ## 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.
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 attachment
@@ -89,7 +89,7 @@ module MicrosoftGraph
89
89
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Attachment.create_from_discriminator_value(pn) }, error_mapping)
90
90
  end
91
91
  ##
92
- ## Retrieve a list of attachment objects attached to a message.
92
+ ## Retrieve a list of attachment objects.
93
93
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
94
94
  ## @return a request_information
95
95
  ##
@@ -107,7 +107,7 @@ module MicrosoftGraph
107
107
  return request_info
108
108
  end
109
109
  ##
110
- ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
110
+ ## 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.
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
@@ -128,7 +128,7 @@ module MicrosoftGraph
128
128
  end
129
129
 
130
130
  ##
131
- # Retrieve a list of attachment objects attached to a message.
131
+ # Retrieve a list of attachment objects.
132
132
  class AttachmentsRequestBuilderGetQueryParameters
133
133
 
134
134
  ##
@@ -0,0 +1,124 @@
1
+ require 'microsoft_kiota_abstractions'
2
+ require_relative '../../../../../microsoft_graph'
3
+ require_relative '../../../../../models/o_data_errors/o_data_error'
4
+ require_relative '../../../../users'
5
+ require_relative '../../../item'
6
+ require_relative '../../member_of'
7
+ require_relative '../graph_administrative_unit'
8
+ require_relative './count'
9
+
10
+ module MicrosoftGraph
11
+ module Users
12
+ module Item
13
+ module MemberOf
14
+ module GraphAdministrativeUnit
15
+ module Count
16
+ ##
17
+ # Provides operations to count the resources in the collection.
18
+ class CountRequestBuilder
19
+
20
+ ##
21
+ # Path parameters for the request
22
+ @path_parameters
23
+ ##
24
+ # The request adapter to use to execute the requests.
25
+ @request_adapter
26
+ ##
27
+ # Url template to use to build the URL for the current request builder
28
+ @url_template
29
+ ##
30
+ ## Instantiates a new CountRequestBuilder and sets the default values.
31
+ ## @param pathParameters Path parameters for the request
32
+ ## @param requestAdapter The request adapter to use to execute the requests.
33
+ ## @return a void
34
+ ##
35
+ def initialize(path_parameters, request_adapter)
36
+ raise StandardError, 'path_parameters cannot be null' if path_parameters.nil?
37
+ raise StandardError, 'request_adapter cannot be null' if request_adapter.nil?
38
+ @url_template = "{+baseurl}/users/{user%2Did}/memberOf/graph.administrativeUnit/$count{?%24search,%24filter}"
39
+ @request_adapter = request_adapter
40
+ path_parameters = { "request-raw-url" => path_parameters } if path_parameters.is_a? String
41
+ @path_parameters = path_parameters if path_parameters.is_a? Hash
42
+ end
43
+ ##
44
+ ## Get the number of the resource
45
+ ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ ## @return a Fiber of integer
47
+ ##
48
+ def get(request_configuration=nil)
49
+ request_info = self.to_get_request_information(
50
+ request_configuration
51
+ )
52
+ error_mapping = Hash.new
53
+ error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
54
+ error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
55
+ return @request_adapter.send_async(request_info, number, error_mapping)
56
+ end
57
+ ##
58
+ ## Get the number of the resource
59
+ ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
60
+ ## @return a request_information
61
+ ##
62
+ def to_get_request_information(request_configuration=nil)
63
+ request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
64
+ request_info.url_template = @url_template
65
+ request_info.path_parameters = @path_parameters
66
+ request_info.http_method = :GET
67
+ request_info.headers.add('Accept', 'text/plain')
68
+ unless request_configuration.nil?
69
+ request_info.add_headers_from_raw_object(request_configuration.headers)
70
+ request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters)
71
+ request_info.add_request_options(request_configuration.options)
72
+ end
73
+ return request_info
74
+ end
75
+
76
+ ##
77
+ # Get the number of the resource
78
+ class CountRequestBuilderGetQueryParameters
79
+
80
+ ##
81
+ # Filter items by property values
82
+ attr_accessor :filter
83
+ ##
84
+ # Search items by search phrases
85
+ attr_accessor :search
86
+ ##
87
+ ## Maps the query parameters names to their encoded names for the URI template parsing.
88
+ ## @param originalName The original query parameter name in the class.
89
+ ## @return a string
90
+ ##
91
+ def get_query_parameter(original_name)
92
+ raise StandardError, 'original_name cannot be null' if original_name.nil?
93
+ case original_name
94
+ when "filter"
95
+ return "%24filter"
96
+ when "search"
97
+ return "%24search"
98
+ else
99
+ return original_name
100
+ end
101
+ end
102
+ end
103
+
104
+ ##
105
+ # Configuration for the request such as headers, query parameters, and middleware options.
106
+ class CountRequestBuilderGetRequestConfiguration
107
+
108
+ ##
109
+ # Request headers
110
+ attr_accessor :headers
111
+ ##
112
+ # Request options
113
+ attr_accessor :options
114
+ ##
115
+ # Request query parameters
116
+ attr_accessor :query_parameters
117
+ end
118
+ end
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
124
+ end
@@ -0,0 +1,158 @@
1
+ require 'microsoft_kiota_abstractions'
2
+ require_relative '../../../../microsoft_graph'
3
+ require_relative '../../../../models/administrative_unit_collection_response'
4
+ require_relative '../../../../models/o_data_errors/o_data_error'
5
+ require_relative '../../../users'
6
+ require_relative '../../item'
7
+ require_relative '../member_of'
8
+ require_relative './count/count_request_builder'
9
+ require_relative './graph_administrative_unit'
10
+
11
+ module MicrosoftGraph
12
+ module Users
13
+ module Item
14
+ module MemberOf
15
+ module GraphAdministrativeUnit
16
+ ##
17
+ # Casts the previous resource to administrativeUnit.
18
+ class GraphAdministrativeUnitRequestBuilder
19
+
20
+ ##
21
+ # Provides operations to count the resources in the collection.
22
+ def count()
23
+ return MicrosoftGraph::Users::Item::MemberOf::GraphAdministrativeUnit::Count::CountRequestBuilder.new(@path_parameters, @request_adapter)
24
+ end
25
+ ##
26
+ # Path parameters for the request
27
+ @path_parameters
28
+ ##
29
+ # The request adapter to use to execute the requests.
30
+ @request_adapter
31
+ ##
32
+ # Url template to use to build the URL for the current request builder
33
+ @url_template
34
+ ##
35
+ ## Instantiates a new GraphAdministrativeUnitRequestBuilder and sets the default values.
36
+ ## @param pathParameters Path parameters for the request
37
+ ## @param requestAdapter The request adapter to use to execute the requests.
38
+ ## @return a void
39
+ ##
40
+ def initialize(path_parameters, request_adapter)
41
+ raise StandardError, 'path_parameters cannot be null' if path_parameters.nil?
42
+ raise StandardError, 'request_adapter cannot be null' if request_adapter.nil?
43
+ @url_template = "{+baseurl}/users/{user%2Did}/memberOf/graph.administrativeUnit{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"
44
+ @request_adapter = request_adapter
45
+ path_parameters = { "request-raw-url" => path_parameters } if path_parameters.is_a? String
46
+ @path_parameters = path_parameters if path_parameters.is_a? Hash
47
+ end
48
+ ##
49
+ ## Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
50
+ ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
+ ## @return a Fiber of administrative_unit_collection_response
52
+ ##
53
+ def get(request_configuration=nil)
54
+ request_info = self.to_get_request_information(
55
+ request_configuration
56
+ )
57
+ error_mapping = Hash.new
58
+ error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
59
+ error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
60
+ return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AdministrativeUnitCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
61
+ end
62
+ ##
63
+ ## Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
64
+ ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
65
+ ## @return a request_information
66
+ ##
67
+ def to_get_request_information(request_configuration=nil)
68
+ request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
69
+ request_info.url_template = @url_template
70
+ request_info.path_parameters = @path_parameters
71
+ request_info.http_method = :GET
72
+ request_info.headers.add('Accept', 'application/json')
73
+ unless request_configuration.nil?
74
+ request_info.add_headers_from_raw_object(request_configuration.headers)
75
+ request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters)
76
+ request_info.add_request_options(request_configuration.options)
77
+ end
78
+ return request_info
79
+ end
80
+
81
+ ##
82
+ # Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
83
+ class GraphAdministrativeUnitRequestBuilderGetQueryParameters
84
+
85
+ ##
86
+ # Include count of items
87
+ attr_accessor :count
88
+ ##
89
+ # Expand related entities
90
+ attr_accessor :expand
91
+ ##
92
+ # Filter items by property values
93
+ attr_accessor :filter
94
+ ##
95
+ # Order items by property values
96
+ attr_accessor :orderby
97
+ ##
98
+ # Search items by search phrases
99
+ attr_accessor :search
100
+ ##
101
+ # Select properties to be returned
102
+ attr_accessor :select
103
+ ##
104
+ # Skip the first n items
105
+ attr_accessor :skip
106
+ ##
107
+ # Show only the first n items
108
+ attr_accessor :top
109
+ ##
110
+ ## Maps the query parameters names to their encoded names for the URI template parsing.
111
+ ## @param originalName The original query parameter name in the class.
112
+ ## @return a string
113
+ ##
114
+ def get_query_parameter(original_name)
115
+ raise StandardError, 'original_name cannot be null' if original_name.nil?
116
+ case original_name
117
+ when "count"
118
+ return "%24count"
119
+ when "expand"
120
+ return "%24expand"
121
+ when "filter"
122
+ return "%24filter"
123
+ when "orderby"
124
+ return "%24orderby"
125
+ when "search"
126
+ return "%24search"
127
+ when "select"
128
+ return "%24select"
129
+ when "skip"
130
+ return "%24skip"
131
+ when "top"
132
+ return "%24top"
133
+ else
134
+ return original_name
135
+ end
136
+ end
137
+ end
138
+
139
+ ##
140
+ # Configuration for the request such as headers, query parameters, and middleware options.
141
+ class GraphAdministrativeUnitRequestBuilderGetRequestConfiguration
142
+
143
+ ##
144
+ # Request headers
145
+ attr_accessor :headers
146
+ ##
147
+ # Request options
148
+ attr_accessor :options
149
+ ##
150
+ # Request query parameters
151
+ attr_accessor :query_parameters
152
+ end
153
+ end
154
+ end
155
+ end
156
+ end
157
+ end
158
+ end
@@ -5,6 +5,7 @@ require_relative '../../../../models/o_data_errors/o_data_error'
5
5
  require_relative '../../../users'
6
6
  require_relative '../../item'
7
7
  require_relative '../member_of'
8
+ require_relative './graph_administrative_unit/graph_administrative_unit_request_builder'
8
9
  require_relative './graph_group/graph_group_request_builder'
9
10
  require_relative './item'
10
11
 
@@ -17,6 +18,11 @@ module MicrosoftGraph
17
18
  # Provides operations to manage the memberOf property of the microsoft.graph.user entity.
18
19
  class DirectoryObjectItemRequestBuilder
19
20
 
21
+ ##
22
+ # Casts the previous resource to administrativeUnit.
23
+ def graph_administrative_unit()
24
+ return MicrosoftGraph::Users::Item::MemberOf::Item::GraphAdministrativeUnit::GraphAdministrativeUnitRequestBuilder.new(@path_parameters, @request_adapter)
25
+ end
20
26
  ##
21
27
  # Casts the previous resource to group.
22
28
  def graph_group()