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
@@ -59,7 +59,7 @@ module MicrosoftGraph
59
59
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ConversationCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
60
60
  end
61
61
  ##
62
- ## Use reply thread or reply post to further post to that conversation.
62
+ ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions.
63
63
  ## @param body The request body
64
64
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
65
65
  ## @return a Fiber of conversation
@@ -93,7 +93,7 @@ module MicrosoftGraph
93
93
  return request_info
94
94
  end
95
95
  ##
96
- ## Use reply thread or reply post to further post to that conversation.
96
+ ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions.
97
97
  ## @param body The request body
98
98
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
99
99
  ## @return a request_information
@@ -51,7 +51,7 @@ module MicrosoftGraph
51
51
  @path_parameters = path_parameters if path_parameters.is_a? Hash
52
52
  end
53
53
  ##
54
- ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
54
+ ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions.
55
55
  ## @param body The request body
56
56
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
57
57
  ## @return a Fiber of void
@@ -67,7 +67,7 @@ module MicrosoftGraph
67
67
  return @request_adapter.send_async(request_info, nil, error_mapping)
68
68
  end
69
69
  ##
70
- ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
70
+ ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions.
71
71
  ## @param body The request body
72
72
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
73
73
  ## @return a request_information
@@ -49,7 +49,7 @@ module MicrosoftGraph
49
49
  @path_parameters = path_parameters if path_parameters.is_a? Hash
50
50
  end
51
51
  ##
52
- ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
52
+ ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions.
53
53
  ## @param body The request body
54
54
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
55
55
  ## @return a Fiber of void
@@ -65,7 +65,7 @@ module MicrosoftGraph
65
65
  return @request_adapter.send_async(request_info, nil, error_mapping)
66
66
  end
67
67
  ##
68
- ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
68
+ ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions.
69
69
  ## @param body The request body
70
70
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
71
71
  ## @return a request_information
@@ -45,7 +45,7 @@ module MicrosoftGraph
45
45
  @path_parameters = path_parameters if path_parameters.is_a? Hash
46
46
  end
47
47
  ##
48
- ## Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
48
+ ## Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation.
49
49
  ## @param body The request body
50
50
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
51
  ## @return a Fiber of void
@@ -61,7 +61,7 @@ module MicrosoftGraph
61
61
  return @request_adapter.send_async(request_info, nil, error_mapping)
62
62
  end
63
63
  ##
64
- ## Add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
64
+ ## Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation.
65
65
  ## @param body The request body
66
66
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
67
67
  ## @return a request_information
@@ -462,7 +462,7 @@ module MicrosoftGraph
462
462
  return MicrosoftGraph::Groups::Item::Owners::Item::DirectoryObjectItemRequestBuilder.new(url_tpl_params, @request_adapter)
463
463
  end
464
464
  ##
465
- ## Update the properties of a group object.
465
+ ## Add a member to a security or Microsoft 365 group through the **members** navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups.
466
466
  ## @param body The request body
467
467
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
468
468
  ## @return a Fiber of group
@@ -578,7 +578,7 @@ module MicrosoftGraph
578
578
  return request_info
579
579
  end
580
580
  ##
581
- ## Update the properties of a group object.
581
+ ## Add a member to a security or Microsoft 365 group through the **members** navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups.
582
582
  ## @param body The request body
583
583
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
584
584
  ## @return a request_information
@@ -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 '../../../../groups'
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 Groups
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}/groups/{group%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 '../../../groups'
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 Groups
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::Groups::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}/groups/{group%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 '../../../groups'
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.group entity.
18
19
  class DirectoryObjectItemRequestBuilder
19
20
 
21
+ ##
22
+ # Casts the previous resource to administrativeUnit.
23
+ def graph_administrative_unit()
24
+ return MicrosoftGraph::Groups::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()
@@ -0,0 +1,125 @@
1
+ require 'microsoft_kiota_abstractions'
2
+ require_relative '../../../../../microsoft_graph'
3
+ require_relative '../../../../../models/administrative_unit'
4
+ require_relative '../../../../../models/o_data_errors/o_data_error'
5
+ require_relative '../../../../groups'
6
+ require_relative '../../../item'
7
+ require_relative '../../member_of'
8
+ require_relative '../item'
9
+ require_relative './graph_administrative_unit'
10
+
11
+ module MicrosoftGraph
12
+ module Groups
13
+ module Item
14
+ module MemberOf
15
+ module Item
16
+ module GraphAdministrativeUnit
17
+ ##
18
+ # Casts the previous resource to administrativeUnit.
19
+ class GraphAdministrativeUnitRequestBuilder
20
+
21
+ ##
22
+ # Path parameters for the request
23
+ @path_parameters
24
+ ##
25
+ # The request adapter to use to execute the requests.
26
+ @request_adapter
27
+ ##
28
+ # Url template to use to build the URL for the current request builder
29
+ @url_template
30
+ ##
31
+ ## Instantiates a new GraphAdministrativeUnitRequestBuilder and sets the default values.
32
+ ## @param pathParameters Path parameters for the request
33
+ ## @param requestAdapter The request adapter to use to execute the requests.
34
+ ## @return a void
35
+ ##
36
+ def initialize(path_parameters, request_adapter)
37
+ raise StandardError, 'path_parameters cannot be null' if path_parameters.nil?
38
+ raise StandardError, 'request_adapter cannot be null' if request_adapter.nil?
39
+ @url_template = "{+baseurl}/groups/{group%2Did}/memberOf/{directoryObject%2Did}/graph.administrativeUnit{?%24select,%24expand}"
40
+ @request_adapter = request_adapter
41
+ path_parameters = { "request-raw-url" => path_parameters } if path_parameters.is_a? String
42
+ @path_parameters = path_parameters if path_parameters.is_a? Hash
43
+ end
44
+ ##
45
+ ## Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
46
+ ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
+ ## @return a Fiber of administrative_unit
48
+ ##
49
+ def get(request_configuration=nil)
50
+ request_info = self.to_get_request_information(
51
+ request_configuration
52
+ )
53
+ error_mapping = Hash.new
54
+ error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
55
+ error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
56
+ return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AdministrativeUnit.create_from_discriminator_value(pn) }, error_mapping)
57
+ end
58
+ ##
59
+ ## Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
60
+ ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
+ ## @return a request_information
62
+ ##
63
+ def to_get_request_information(request_configuration=nil)
64
+ request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
65
+ request_info.url_template = @url_template
66
+ request_info.path_parameters = @path_parameters
67
+ request_info.http_method = :GET
68
+ request_info.headers.add('Accept', 'application/json')
69
+ unless request_configuration.nil?
70
+ request_info.add_headers_from_raw_object(request_configuration.headers)
71
+ request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters)
72
+ request_info.add_request_options(request_configuration.options)
73
+ end
74
+ return request_info
75
+ end
76
+
77
+ ##
78
+ # Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
79
+ class GraphAdministrativeUnitRequestBuilderGetQueryParameters
80
+
81
+ ##
82
+ # Expand related entities
83
+ attr_accessor :expand
84
+ ##
85
+ # Select properties to be returned
86
+ attr_accessor :select
87
+ ##
88
+ ## Maps the query parameters names to their encoded names for the URI template parsing.
89
+ ## @param originalName The original query parameter name in the class.
90
+ ## @return a string
91
+ ##
92
+ def get_query_parameter(original_name)
93
+ raise StandardError, 'original_name cannot be null' if original_name.nil?
94
+ case original_name
95
+ when "expand"
96
+ return "%24expand"
97
+ when "select"
98
+ return "%24select"
99
+ else
100
+ return original_name
101
+ end
102
+ end
103
+ end
104
+
105
+ ##
106
+ # Configuration for the request such as headers, query parameters, and middleware options.
107
+ class GraphAdministrativeUnitRequestBuilderGetRequestConfiguration
108
+
109
+ ##
110
+ # Request headers
111
+ attr_accessor :headers
112
+ ##
113
+ # Request options
114
+ attr_accessor :options
115
+ ##
116
+ # Request query parameters
117
+ attr_accessor :query_parameters
118
+ end
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
124
+ end
125
+ end
@@ -5,6 +5,7 @@ require_relative '../../../models/o_data_errors/o_data_error'
5
5
  require_relative '../../groups'
6
6
  require_relative '../item'
7
7
  require_relative './count/count_request_builder'
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 './member_of'
10
11
 
@@ -22,6 +23,11 @@ module MicrosoftGraph
22
23
  return MicrosoftGraph::Groups::Item::MemberOf::Count::CountRequestBuilder.new(@path_parameters, @request_adapter)
23
24
  end
24
25
  ##
26
+ # Casts the previous resource to administrativeUnit.
27
+ def graph_administrative_unit()
28
+ return MicrosoftGraph::Groups::Item::MemberOf::GraphAdministrativeUnit::GraphAdministrativeUnitRequestBuilder.new(@path_parameters, @request_adapter)
29
+ end
30
+ ##
25
31
  # Casts the previous resource to group.
26
32
  def graph_group()
27
33
  return MicrosoftGraph::Groups::Item::MemberOf::GraphGroup::GraphGroupRequestBuilder.new(@path_parameters, @request_adapter)
@@ -63,7 +63,7 @@ module MicrosoftGraph
63
63
  return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::PermissionCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
64
64
  end
65
65
  ##
66
- ## Create a new permission object on a site.
66
+ ## Create a new permission object on a site.
67
67
  ## @param body The request body
68
68
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
69
69
  ## @return a Fiber of permission
@@ -97,7 +97,7 @@ module MicrosoftGraph
97
97
  return request_info
98
98
  end
99
99
  ##
100
- ## Create a new permission object on a site.
100
+ ## Create a new permission object on a site.
101
101
  ## @param body The request body
102
102
  ## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
103
103
  ## @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