osuny_api 0.2.6 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (433) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -7
  3. data/Gemfile.lock +55 -31
  4. data/README.md +1080 -17
  5. data/Rakefile +1 -1
  6. data/config.json +10 -0
  7. data/docs/AgendaCategoriesBody.md +7 -0
  8. data/docs/AgendaEventsBody.md +7 -0
  9. data/docs/CategoriesIdBody.md +7 -0
  10. data/docs/CategoriesIdBody1.md +7 -0
  11. data/docs/CategoriesIdBody2.md +7 -0
  12. data/docs/CategoriesUpsertBody.md +7 -0
  13. data/docs/CategoriesUpsertBody1.md +7 -0
  14. data/docs/CategoriesUpsertBody2.md +7 -0
  15. data/docs/CommunicationBlockAgenda.md +14 -0
  16. data/docs/CommunicationBlockAgendaData.md +20 -0
  17. data/docs/CommunicationBlockAgendaDataElements.md +7 -0
  18. data/docs/CommunicationBlockCallToAction.md +14 -0
  19. data/docs/CommunicationBlockCallToActionData.md +12 -0
  20. data/docs/CommunicationBlockCallToActionDataElements.md +9 -0
  21. data/docs/CommunicationBlockCallToActionDataImage.md +9 -0
  22. data/docs/CommunicationBlockCategories.md +14 -0
  23. data/docs/CommunicationBlockCategoriesData.md +13 -0
  24. data/docs/CommunicationBlockChapter.md +14 -0
  25. data/docs/CommunicationBlockChapterData.md +12 -0
  26. data/docs/CommunicationBlockContact.md +14 -0
  27. data/docs/CommunicationBlockContactData.md +27 -0
  28. data/docs/CommunicationBlockContactDataElements.md +9 -0
  29. data/docs/CommunicationBlockContactDataTimeSlotMorning.md +8 -0
  30. data/docs/CommunicationBlockDatatable.md +14 -0
  31. data/docs/CommunicationBlockDatatableData.md +11 -0
  32. data/docs/CommunicationBlockDatatableDataElements.md +7 -0
  33. data/docs/CommunicationBlockDefinitions.md +14 -0
  34. data/docs/CommunicationBlockDefinitionsData.md +8 -0
  35. data/docs/CommunicationBlockDefinitionsDataElements.md +8 -0
  36. data/docs/CommunicationBlockEmbed.md +14 -0
  37. data/docs/CommunicationBlockEmbedData.md +9 -0
  38. data/docs/CommunicationBlockFeatures.md +14 -0
  39. data/docs/CommunicationBlockFeaturesData.md +8 -0
  40. data/docs/CommunicationBlockFeaturesDataElements.md +11 -0
  41. data/docs/CommunicationBlockFiles.md +14 -0
  42. data/docs/CommunicationBlockFilesData.md +8 -0
  43. data/docs/CommunicationBlockFilesDataElements.md +9 -0
  44. data/docs/CommunicationBlockGallery.md +14 -0
  45. data/docs/CommunicationBlockGalleryData.md +9 -0
  46. data/docs/CommunicationBlockGalleryDataElements.md +10 -0
  47. data/docs/CommunicationBlockImage.md +14 -0
  48. data/docs/CommunicationBlockImageData.md +10 -0
  49. data/docs/CommunicationBlockKeyFigures.md +14 -0
  50. data/docs/CommunicationBlockKeyFiguresData.md +8 -0
  51. data/docs/CommunicationBlockKeyFiguresDataElements.md +10 -0
  52. data/docs/CommunicationBlockLicense.md +14 -0
  53. data/docs/CommunicationBlockLicenseData.md +12 -0
  54. data/docs/CommunicationBlockLinks.md +14 -0
  55. data/docs/CommunicationBlockLinksData.md +8 -0
  56. data/docs/CommunicationBlockLinksDataElements.md +11 -0
  57. data/docs/CommunicationBlockLocations.md +14 -0
  58. data/docs/CommunicationBlockLocationsData.md +10 -0
  59. data/docs/CommunicationBlockLocationsDataElements.md +7 -0
  60. data/docs/CommunicationBlockOrganizations.md +14 -0
  61. data/docs/CommunicationBlockOrganizationsData.md +15 -0
  62. data/docs/CommunicationBlockOrganizationsDataElements.md +10 -0
  63. data/docs/CommunicationBlockPages.md +14 -0
  64. data/docs/CommunicationBlockPagesData.md +15 -0
  65. data/docs/CommunicationBlockPapers.md +14 -0
  66. data/docs/CommunicationBlockPapersData.md +9 -0
  67. data/docs/CommunicationBlockPersons.md +14 -0
  68. data/docs/CommunicationBlockPersonsData.md +16 -0
  69. data/docs/CommunicationBlockPersonsDataElements.md +8 -0
  70. data/docs/CommunicationBlockPosts.md +14 -0
  71. data/docs/CommunicationBlockPostsData.md +18 -0
  72. data/docs/CommunicationBlockPrograms.md +14 -0
  73. data/docs/CommunicationBlockProgramsData.md +11 -0
  74. data/docs/CommunicationBlockProjects.md +14 -0
  75. data/docs/CommunicationBlockProjectsData.md +16 -0
  76. data/docs/CommunicationBlockSound.md +14 -0
  77. data/docs/CommunicationBlockSoundData.md +9 -0
  78. data/docs/CommunicationBlockTestimonials.md +14 -0
  79. data/docs/CommunicationBlockTestimonialsData.md +7 -0
  80. data/docs/CommunicationBlockTestimonialsDataElements.md +10 -0
  81. data/docs/CommunicationBlockTimeline.md +14 -0
  82. data/docs/CommunicationBlockTimelineData.md +8 -0
  83. data/docs/CommunicationBlockTimelineDataElements.md +8 -0
  84. data/docs/CommunicationBlockTitle.md +14 -0
  85. data/docs/CommunicationBlockTitleData.md +7 -0
  86. data/docs/CommunicationBlockVideo.md +14 -0
  87. data/docs/CommunicationBlockVideoData.md +11 -0
  88. data/docs/CommunicationBlockVolumes.md +14 -0
  89. data/docs/CommunicationWebsite.md +15 -0
  90. data/docs/CommunicationWebsiteAgendaCategory.md +14 -0
  91. data/docs/CommunicationWebsiteAgendaCategoryApi.md +329 -0
  92. data/docs/CommunicationWebsiteAgendaCategoryLocalization.md +17 -0
  93. data/docs/CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage.md +10 -0
  94. data/docs/CommunicationWebsiteAgendaEvent.md +18 -0
  95. data/docs/CommunicationWebsiteAgendaEventApi.md +329 -0
  96. data/docs/CommunicationWebsiteAgendaEventLocalization.md +25 -0
  97. data/docs/CommunicationWebsiteAgendaEventLocalizationAddToCalendarUrls.md +11 -0
  98. data/docs/CommunicationWebsiteAgendaEventTimeSlot.md +13 -0
  99. data/docs/CommunicationWebsiteAgendaEventTimeSlotLocalization.md +13 -0
  100. data/docs/CommunicationWebsiteApi.md +106 -0
  101. data/docs/CommunicationWebsiteDeuxfleurs.md +8 -0
  102. data/docs/CommunicationWebsiteFeatures.md +9 -0
  103. data/docs/CommunicationWebsiteGit.md +10 -0
  104. data/docs/CommunicationWebsiteLocalization.md +23 -0
  105. data/docs/CommunicationWebsitePage.md +17 -0
  106. data/docs/CommunicationWebsitePageApi.md +329 -0
  107. data/docs/CommunicationWebsitePageCategory.md +14 -0
  108. data/docs/CommunicationWebsitePageCategoryApi.md +329 -0
  109. data/docs/CommunicationWebsitePageCategoryLocalization.md +17 -0
  110. data/docs/CommunicationWebsitePageLocalization.md +24 -0
  111. data/docs/CommunicationWebsitePost.md +12 -0
  112. data/docs/CommunicationWebsitePostApi.md +329 -0
  113. data/docs/CommunicationWebsitePostLocalization.md +21 -0
  114. data/docs/CommunicationWebsiteShowcase.md +9 -0
  115. data/docs/CommunicationWebsiteShowcaseTags.md +9 -0
  116. data/docs/EventsIdBody.md +7 -0
  117. data/docs/EventsUpsertBody.md +7 -0
  118. data/docs/OneOfcommunicationWebsiteAgendaCategoryLocalizationBlocksItems.md +6 -0
  119. data/docs/OneOfcommunicationWebsiteAgendaEventLocalizationBlocksItems.md +6 -0
  120. data/docs/OneOfcommunicationWebsitePageCategoryLocalizationBlocksItems.md +6 -0
  121. data/docs/OneOfcommunicationWebsitePageLocalizationBlocksItems.md +6 -0
  122. data/docs/OneOfcommunicationWebsitePostLocalizationBlocksItems.md +6 -0
  123. data/docs/OneOfuniversityOrganizationCategoryLocalizationBlocksItems.md +6 -0
  124. data/docs/OneOfuniversityOrganizationLocalizationBlocksItems.md +6 -0
  125. data/docs/OrganizationsCategoriesBody.md +7 -0
  126. data/docs/OrganizationsIdBody.md +7 -0
  127. data/docs/OrganizationsUpsertBody.md +7 -0
  128. data/docs/PagesCategoriesBody.md +7 -0
  129. data/docs/PagesIdBody.md +7 -0
  130. data/docs/PagesUpsertBody.md +7 -0
  131. data/docs/PostsIdBody.md +7 -0
  132. data/docs/PostsUpsertBody.md +7 -0
  133. data/docs/UniversityOrganization.md +24 -0
  134. data/docs/UniversityOrganizationApi.md +314 -0
  135. data/docs/UniversityOrganizationCategory.md +14 -0
  136. data/docs/UniversityOrganizationCategoryApi.md +314 -0
  137. data/docs/UniversityOrganizationCategoryLocalization.md +16 -0
  138. data/docs/UniversityOrganizationLocalization.md +24 -0
  139. data/docs/UniversityOrganizationsBody.md +7 -0
  140. data/docs/WebsiteIdPagesBody.md +7 -0
  141. data/docs/WebsiteIdPostsBody.md +7 -0
  142. data/generate.sh +2 -0
  143. data/git_push.sh +55 -0
  144. data/lib/osuny_api/api/communication_website_agenda_category_api.rb +374 -0
  145. data/lib/osuny_api/api/communication_website_agenda_event_api.rb +374 -0
  146. data/lib/osuny_api/api/communication_website_api.rb +122 -0
  147. data/lib/osuny_api/api/communication_website_page_api.rb +374 -0
  148. data/lib/osuny_api/api/communication_website_page_category_api.rb +374 -0
  149. data/lib/osuny_api/api/communication_website_post_api.rb +374 -0
  150. data/lib/osuny_api/api/university_organization_api.rb +338 -0
  151. data/lib/osuny_api/api/university_organization_category_api.rb +338 -0
  152. data/lib/osuny_api/api_client.rb +388 -0
  153. data/lib/osuny_api/api_error.rb +57 -0
  154. data/lib/osuny_api/configuration.rb +205 -0
  155. data/lib/osuny_api/models/agenda_categories_body.rb +211 -0
  156. data/lib/osuny_api/models/agenda_events_body.rb +211 -0
  157. data/lib/osuny_api/models/categories_id_body.rb +211 -0
  158. data/lib/osuny_api/models/categories_id_body_1.rb +211 -0
  159. data/lib/osuny_api/models/categories_id_body_2.rb +211 -0
  160. data/lib/osuny_api/models/categories_upsert_body.rb +213 -0
  161. data/lib/osuny_api/models/categories_upsert_body_1.rb +213 -0
  162. data/lib/osuny_api/models/categories_upsert_body_2.rb +213 -0
  163. data/lib/osuny_api/models/communication_block_agenda.rb +312 -0
  164. data/lib/osuny_api/models/communication_block_agenda_data.rb +384 -0
  165. data/lib/osuny_api/models/communication_block_agenda_data_elements.rb +206 -0
  166. data/lib/osuny_api/models/communication_block_call_to_action.rb +312 -0
  167. data/lib/osuny_api/models/communication_block_call_to_action_data.rb +288 -0
  168. data/lib/osuny_api/models/communication_block_call_to_action_data_elements.rb +224 -0
  169. data/lib/osuny_api/models/communication_block_call_to_action_data_image.rb +227 -0
  170. data/lib/osuny_api/models/communication_block_categories.rb +312 -0
  171. data/lib/osuny_api/models/communication_block_categories_data.rb +307 -0
  172. data/lib/osuny_api/models/communication_block_chapter.rb +312 -0
  173. data/lib/osuny_api/models/communication_block_chapter_data.rb +286 -0
  174. data/lib/osuny_api/models/communication_block_contact.rb +312 -0
  175. data/lib/osuny_api/models/communication_block_contact_data.rb +393 -0
  176. data/lib/osuny_api/models/communication_block_contact_data_elements.rb +224 -0
  177. data/lib/osuny_api/models/communication_block_contact_data_time_slot_morning.rb +215 -0
  178. data/lib/osuny_api/models/communication_block_datatable.rb +312 -0
  179. data/lib/osuny_api/models/communication_block_datatable_data.rb +247 -0
  180. data/lib/osuny_api/models/communication_block_datatable_data_elements.rb +208 -0
  181. data/lib/osuny_api/models/communication_block_definitions.rb +312 -0
  182. data/lib/osuny_api/models/communication_block_definitions_data.rb +218 -0
  183. data/lib/osuny_api/models/communication_block_definitions_data_elements.rb +215 -0
  184. data/lib/osuny_api/models/communication_block_embed.rb +312 -0
  185. data/lib/osuny_api/models/communication_block_embed_data.rb +225 -0
  186. data/lib/osuny_api/models/communication_block_features.rb +312 -0
  187. data/lib/osuny_api/models/communication_block_features_data.rb +218 -0
  188. data/lib/osuny_api/models/communication_block_features_data_elements.rb +242 -0
  189. data/lib/osuny_api/models/communication_block_files.rb +312 -0
  190. data/lib/osuny_api/models/communication_block_files_data.rb +218 -0
  191. data/lib/osuny_api/models/communication_block_files_data_elements.rb +224 -0
  192. data/lib/osuny_api/models/communication_block_gallery.rb +312 -0
  193. data/lib/osuny_api/models/communication_block_gallery_data.rb +261 -0
  194. data/lib/osuny_api/models/communication_block_gallery_data_elements.rb +233 -0
  195. data/lib/osuny_api/models/communication_block_image.rb +312 -0
  196. data/lib/osuny_api/models/communication_block_image_data.rb +234 -0
  197. data/lib/osuny_api/models/communication_block_key_figures.rb +312 -0
  198. data/lib/osuny_api/models/communication_block_key_figures_data.rb +218 -0
  199. data/lib/osuny_api/models/communication_block_key_figures_data_elements.rb +233 -0
  200. data/lib/osuny_api/models/communication_block_license.rb +312 -0
  201. data/lib/osuny_api/models/communication_block_license_data.rb +334 -0
  202. data/lib/osuny_api/models/communication_block_links.rb +312 -0
  203. data/lib/osuny_api/models/communication_block_links_data.rb +218 -0
  204. data/lib/osuny_api/models/communication_block_links_data_elements.rb +242 -0
  205. data/lib/osuny_api/models/communication_block_locations.rb +312 -0
  206. data/lib/osuny_api/models/communication_block_locations_data.rb +270 -0
  207. data/lib/osuny_api/models/communication_block_locations_data_elements.rb +206 -0
  208. data/lib/osuny_api/models/communication_block_organizations.rb +312 -0
  209. data/lib/osuny_api/models/communication_block_organizations_data.rb +327 -0
  210. data/lib/osuny_api/models/communication_block_organizations_data_elements.rb +233 -0
  211. data/lib/osuny_api/models/communication_block_pages.rb +312 -0
  212. data/lib/osuny_api/models/communication_block_pages_data.rb +327 -0
  213. data/lib/osuny_api/models/communication_block_papers.rb +312 -0
  214. data/lib/osuny_api/models/communication_block_papers_data.rb +261 -0
  215. data/lib/osuny_api/models/communication_block_persons.rb +312 -0
  216. data/lib/osuny_api/models/communication_block_persons_data.rb +336 -0
  217. data/lib/osuny_api/models/communication_block_persons_data_elements.rb +215 -0
  218. data/lib/osuny_api/models/communication_block_posts.rb +312 -0
  219. data/lib/osuny_api/models/communication_block_posts_data.rb +354 -0
  220. data/lib/osuny_api/models/communication_block_programs.rb +312 -0
  221. data/lib/osuny_api/models/communication_block_programs_data.rb +279 -0
  222. data/lib/osuny_api/models/communication_block_projects.rb +312 -0
  223. data/lib/osuny_api/models/communication_block_projects_data.rb +336 -0
  224. data/lib/osuny_api/models/communication_block_sound.rb +312 -0
  225. data/lib/osuny_api/models/communication_block_sound_data.rb +225 -0
  226. data/lib/osuny_api/models/communication_block_testimonials.rb +312 -0
  227. data/lib/osuny_api/models/communication_block_testimonials_data.rb +209 -0
  228. data/lib/osuny_api/models/communication_block_testimonials_data_elements.rb +233 -0
  229. data/lib/osuny_api/models/communication_block_timeline.rb +312 -0
  230. data/lib/osuny_api/models/communication_block_timeline_data.rb +252 -0
  231. data/lib/osuny_api/models/communication_block_timeline_data_elements.rb +215 -0
  232. data/lib/osuny_api/models/communication_block_title.rb +312 -0
  233. data/lib/osuny_api/models/communication_block_title_data.rb +241 -0
  234. data/lib/osuny_api/models/communication_block_video.rb +312 -0
  235. data/lib/osuny_api/models/communication_block_video_data.rb +277 -0
  236. data/lib/osuny_api/models/communication_block_volumes.rb +312 -0
  237. data/lib/osuny_api/models/communication_website.rb +282 -0
  238. data/lib/osuny_api/models/communication_website_agenda_category.rb +274 -0
  239. data/lib/osuny_api/models/communication_website_agenda_category_localization.rb +302 -0
  240. data/lib/osuny_api/models/communication_website_agenda_category_localization_featured_image.rb +237 -0
  241. data/lib/osuny_api/models/communication_website_agenda_event.rb +315 -0
  242. data/lib/osuny_api/models/communication_website_agenda_event_localization.rb +380 -0
  243. data/lib/osuny_api/models/communication_website_agenda_event_localization_add_to_calendar_urls.rb +242 -0
  244. data/lib/osuny_api/models/communication_website_agenda_event_time_slot.rb +265 -0
  245. data/lib/osuny_api/models/communication_website_agenda_event_time_slot_localization.rb +263 -0
  246. data/lib/osuny_api/models/communication_website_deuxfleurs.rb +216 -0
  247. data/lib/osuny_api/models/communication_website_features.rb +224 -0
  248. data/lib/osuny_api/models/communication_website_git.rb +237 -0
  249. data/lib/osuny_api/models/communication_website_localization.rb +362 -0
  250. data/lib/osuny_api/models/communication_website_page.rb +306 -0
  251. data/lib/osuny_api/models/communication_website_page_category.rb +274 -0
  252. data/lib/osuny_api/models/communication_website_page_category_localization.rb +302 -0
  253. data/lib/osuny_api/models/communication_website_page_localization.rb +371 -0
  254. data/lib/osuny_api/models/communication_website_post.rb +255 -0
  255. data/lib/osuny_api/models/communication_website_post_localization.rb +341 -0
  256. data/lib/osuny_api/models/communication_website_showcase.rb +226 -0
  257. data/lib/osuny_api/models/communication_website_showcase_tags.rb +224 -0
  258. data/lib/osuny_api/models/events_id_body.rb +211 -0
  259. data/lib/osuny_api/models/events_upsert_body.rb +213 -0
  260. data/lib/osuny_api/models/one_ofcommunication_website_agenda_category_localization_blocks_items.rb +197 -0
  261. data/lib/osuny_api/models/one_ofcommunication_website_agenda_event_localization_blocks_items.rb +197 -0
  262. data/lib/osuny_api/models/one_ofcommunication_website_page_category_localization_blocks_items.rb +197 -0
  263. data/lib/osuny_api/models/one_ofcommunication_website_page_localization_blocks_items.rb +197 -0
  264. data/lib/osuny_api/models/one_ofcommunication_website_post_localization_blocks_items.rb +197 -0
  265. data/lib/osuny_api/models/one_ofuniversity_organization_category_localization_blocks_items.rb +197 -0
  266. data/lib/osuny_api/models/one_ofuniversity_organization_localization_blocks_items.rb +197 -0
  267. data/lib/osuny_api/models/organizations_categories_body.rb +211 -0
  268. data/lib/osuny_api/models/organizations_id_body.rb +211 -0
  269. data/lib/osuny_api/models/organizations_upsert_body.rb +213 -0
  270. data/lib/osuny_api/models/pages_categories_body.rb +211 -0
  271. data/lib/osuny_api/models/pages_id_body.rb +211 -0
  272. data/lib/osuny_api/models/pages_upsert_body.rb +213 -0
  273. data/lib/osuny_api/models/posts_id_body.rb +211 -0
  274. data/lib/osuny_api/models/posts_upsert_body.rb +213 -0
  275. data/lib/osuny_api/models/university_organization.rb +409 -0
  276. data/lib/osuny_api/models/university_organization_category.rb +274 -0
  277. data/lib/osuny_api/models/university_organization_category_localization.rb +292 -0
  278. data/lib/osuny_api/models/university_organization_localization.rb +373 -0
  279. data/lib/osuny_api/models/university_organizations_body.rb +211 -0
  280. data/lib/osuny_api/models/website_id_pages_body.rb +211 -0
  281. data/lib/osuny_api/models/website_id_posts_body.rb +211 -0
  282. data/lib/osuny_api/version.rb +11 -2
  283. data/lib/osuny_api.rb +165 -11
  284. data/osuny_api.gemspec +37 -30
  285. data/pkg/osuny_api-0.2.6.gem +0 -0
  286. data/pkg/osuny_api-1.0.0.gem +0 -0
  287. data/spec/api/communication_website_agenda_category_api_spec.rb +106 -0
  288. data/spec/api/communication_website_agenda_event_api_spec.rb +106 -0
  289. data/spec/api/communication_website_api_spec.rb +55 -0
  290. data/spec/api/communication_website_page_api_spec.rb +106 -0
  291. data/spec/api/communication_website_page_category_api_spec.rb +106 -0
  292. data/spec/api/communication_website_post_api_spec.rb +106 -0
  293. data/spec/api/university_organization_api_spec.rb +100 -0
  294. data/spec/api/university_organization_category_api_spec.rb +100 -0
  295. data/spec/api_client_spec.rb +225 -0
  296. data/spec/base_object_spec.rb +109 -0
  297. data/spec/configuration_spec.rb +41 -0
  298. data/spec/models/agenda_categories_body_spec.rb +40 -0
  299. data/spec/models/agenda_events_body_spec.rb +40 -0
  300. data/spec/models/categories_id_body_1_spec.rb +40 -0
  301. data/spec/models/categories_id_body_2_spec.rb +40 -0
  302. data/spec/models/categories_id_body_spec.rb +40 -0
  303. data/spec/models/categories_upsert_body_1_spec.rb +40 -0
  304. data/spec/models/categories_upsert_body_2_spec.rb +40 -0
  305. data/spec/models/categories_upsert_body_spec.rb +40 -0
  306. data/spec/models/communication_block_agenda_data_elements_spec.rb +40 -0
  307. data/spec/models/communication_block_agenda_data_spec.rb +130 -0
  308. data/spec/models/communication_block_agenda_spec.rb +86 -0
  309. data/spec/models/communication_block_call_to_action_data_elements_spec.rb +52 -0
  310. data/spec/models/communication_block_call_to_action_data_image_spec.rb +52 -0
  311. data/spec/models/communication_block_call_to_action_data_spec.rb +74 -0
  312. data/spec/models/communication_block_call_to_action_spec.rb +86 -0
  313. data/spec/models/communication_block_categories_data_spec.rb +84 -0
  314. data/spec/models/communication_block_categories_spec.rb +86 -0
  315. data/spec/models/communication_block_chapter_data_spec.rb +74 -0
  316. data/spec/models/communication_block_chapter_spec.rb +86 -0
  317. data/spec/models/communication_block_contact_data_elements_spec.rb +52 -0
  318. data/spec/models/communication_block_contact_data_spec.rb +160 -0
  319. data/spec/models/communication_block_contact_data_time_slot_morning_spec.rb +46 -0
  320. data/spec/models/communication_block_contact_spec.rb +86 -0
  321. data/spec/models/communication_block_datatable_data_elements_spec.rb +40 -0
  322. data/spec/models/communication_block_datatable_data_spec.rb +64 -0
  323. data/spec/models/communication_block_datatable_spec.rb +86 -0
  324. data/spec/models/communication_block_definitions_data_elements_spec.rb +46 -0
  325. data/spec/models/communication_block_definitions_data_spec.rb +46 -0
  326. data/spec/models/communication_block_definitions_spec.rb +86 -0
  327. data/spec/models/communication_block_embed_data_spec.rb +52 -0
  328. data/spec/models/communication_block_embed_spec.rb +86 -0
  329. data/spec/models/communication_block_features_data_elements_spec.rb +64 -0
  330. data/spec/models/communication_block_features_data_spec.rb +46 -0
  331. data/spec/models/communication_block_features_spec.rb +86 -0
  332. data/spec/models/communication_block_files_data_elements_spec.rb +52 -0
  333. data/spec/models/communication_block_files_data_spec.rb +46 -0
  334. data/spec/models/communication_block_files_spec.rb +86 -0
  335. data/spec/models/communication_block_gallery_data_elements_spec.rb +58 -0
  336. data/spec/models/communication_block_gallery_data_spec.rb +56 -0
  337. data/spec/models/communication_block_gallery_spec.rb +86 -0
  338. data/spec/models/communication_block_image_data_spec.rb +58 -0
  339. data/spec/models/communication_block_image_spec.rb +86 -0
  340. data/spec/models/communication_block_key_figures_data_elements_spec.rb +58 -0
  341. data/spec/models/communication_block_key_figures_data_spec.rb +46 -0
  342. data/spec/models/communication_block_key_figures_spec.rb +86 -0
  343. data/spec/models/communication_block_license_data_spec.rb +90 -0
  344. data/spec/models/communication_block_license_spec.rb +86 -0
  345. data/spec/models/communication_block_links_data_elements_spec.rb +64 -0
  346. data/spec/models/communication_block_links_data_spec.rb +46 -0
  347. data/spec/models/communication_block_links_spec.rb +86 -0
  348. data/spec/models/communication_block_locations_data_elements_spec.rb +40 -0
  349. data/spec/models/communication_block_locations_data_spec.rb +62 -0
  350. data/spec/models/communication_block_locations_spec.rb +86 -0
  351. data/spec/models/communication_block_organizations_data_elements_spec.rb +58 -0
  352. data/spec/models/communication_block_organizations_data_spec.rb +96 -0
  353. data/spec/models/communication_block_organizations_spec.rb +86 -0
  354. data/spec/models/communication_block_pages_data_spec.rb +96 -0
  355. data/spec/models/communication_block_pages_spec.rb +86 -0
  356. data/spec/models/communication_block_papers_data_spec.rb +56 -0
  357. data/spec/models/communication_block_papers_spec.rb +86 -0
  358. data/spec/models/communication_block_persons_data_elements_spec.rb +46 -0
  359. data/spec/models/communication_block_persons_data_spec.rb +102 -0
  360. data/spec/models/communication_block_persons_spec.rb +86 -0
  361. data/spec/models/communication_block_posts_data_spec.rb +114 -0
  362. data/spec/models/communication_block_posts_spec.rb +86 -0
  363. data/spec/models/communication_block_programs_data_spec.rb +68 -0
  364. data/spec/models/communication_block_programs_spec.rb +86 -0
  365. data/spec/models/communication_block_projects_data_spec.rb +102 -0
  366. data/spec/models/communication_block_projects_spec.rb +86 -0
  367. data/spec/models/communication_block_sound_data_spec.rb +52 -0
  368. data/spec/models/communication_block_sound_spec.rb +86 -0
  369. data/spec/models/communication_block_testimonials_data_elements_spec.rb +58 -0
  370. data/spec/models/communication_block_testimonials_data_spec.rb +40 -0
  371. data/spec/models/communication_block_testimonials_spec.rb +86 -0
  372. data/spec/models/communication_block_timeline_data_elements_spec.rb +46 -0
  373. data/spec/models/communication_block_timeline_data_spec.rb +50 -0
  374. data/spec/models/communication_block_timeline_spec.rb +86 -0
  375. data/spec/models/communication_block_title_data_spec.rb +44 -0
  376. data/spec/models/communication_block_title_spec.rb +86 -0
  377. data/spec/models/communication_block_video_data_spec.rb +68 -0
  378. data/spec/models/communication_block_video_spec.rb +86 -0
  379. data/spec/models/communication_block_volumes_spec.rb +86 -0
  380. data/spec/models/communication_website_agenda_category_localization_featured_image_spec.rb +58 -0
  381. data/spec/models/communication_website_agenda_category_localization_spec.rb +100 -0
  382. data/spec/models/communication_website_agenda_category_spec.rb +82 -0
  383. data/spec/models/communication_website_agenda_event_localization_add_to_calendar_urls_spec.rb +64 -0
  384. data/spec/models/communication_website_agenda_event_localization_spec.rb +148 -0
  385. data/spec/models/communication_website_agenda_event_spec.rb +106 -0
  386. data/spec/models/communication_website_agenda_event_time_slot_localization_spec.rb +76 -0
  387. data/spec/models/communication_website_agenda_event_time_slot_spec.rb +76 -0
  388. data/spec/models/communication_website_deuxfleurs_spec.rb +46 -0
  389. data/spec/models/communication_website_features_spec.rb +52 -0
  390. data/spec/models/communication_website_git_spec.rb +58 -0
  391. data/spec/models/communication_website_localization_spec.rb +136 -0
  392. data/spec/models/communication_website_page_category_localization_spec.rb +100 -0
  393. data/spec/models/communication_website_page_category_spec.rb +82 -0
  394. data/spec/models/communication_website_page_localization_spec.rb +142 -0
  395. data/spec/models/communication_website_page_spec.rb +100 -0
  396. data/spec/models/communication_website_post_localization_spec.rb +124 -0
  397. data/spec/models/communication_website_post_spec.rb +70 -0
  398. data/spec/models/communication_website_showcase_spec.rb +52 -0
  399. data/spec/models/communication_website_showcase_tags_spec.rb +52 -0
  400. data/spec/models/communication_website_spec.rb +88 -0
  401. data/spec/models/events_id_body_spec.rb +40 -0
  402. data/spec/models/events_upsert_body_spec.rb +40 -0
  403. data/spec/models/one_ofcommunication_website_agenda_category_localization_blocks_items_spec.rb +34 -0
  404. data/spec/models/one_ofcommunication_website_agenda_event_localization_blocks_items_spec.rb +34 -0
  405. data/spec/models/one_ofcommunication_website_page_category_localization_blocks_items_spec.rb +34 -0
  406. data/spec/models/one_ofcommunication_website_page_localization_blocks_items_spec.rb +34 -0
  407. data/spec/models/one_ofcommunication_website_post_localization_blocks_items_spec.rb +34 -0
  408. data/spec/models/one_ofuniversity_organization_category_localization_blocks_items_spec.rb +34 -0
  409. data/spec/models/one_ofuniversity_organization_localization_blocks_items_spec.rb +34 -0
  410. data/spec/models/organizations_categories_body_spec.rb +40 -0
  411. data/spec/models/organizations_id_body_spec.rb +40 -0
  412. data/spec/models/organizations_upsert_body_spec.rb +40 -0
  413. data/spec/models/pages_categories_body_spec.rb +40 -0
  414. data/spec/models/pages_id_body_spec.rb +40 -0
  415. data/spec/models/pages_upsert_body_spec.rb +40 -0
  416. data/spec/models/posts_id_body_spec.rb +40 -0
  417. data/spec/models/posts_upsert_body_spec.rb +40 -0
  418. data/spec/models/university_organization_category_localization_spec.rb +94 -0
  419. data/spec/models/university_organization_category_spec.rb +82 -0
  420. data/spec/models/university_organization_localization_spec.rb +142 -0
  421. data/spec/models/university_organization_spec.rb +146 -0
  422. data/spec/models/university_organizations_body_spec.rb +40 -0
  423. data/spec/models/website_id_pages_body_spec.rb +40 -0
  424. data/spec/models/website_id_posts_body_spec.rb +40 -0
  425. data/spec/spec_helper.rb +110 -0
  426. metadata +614 -24
  427. data/lib/osuny_api/client.rb +0 -41
  428. data/lib/osuny_api/communication/website/page.rb +0 -12
  429. data/lib/osuny_api/communication/website/post.rb +0 -12
  430. data/lib/osuny_api/communication/website.rb +0 -18
  431. data/lib/osuny_api/communication.rb +0 -13
  432. data/lib/osuny_api/error.rb +0 -4
  433. data/lib/osuny_api/resource.rb +0 -20
@@ -0,0 +1,314 @@
1
+ # OsunyApi::UniversityOrganizationApi
2
+
3
+ All URIs are relative to *https://demo.osuny.org/api/osuny/v1*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**university_organizations_get**](UniversityOrganizationApi.md#university_organizations_get) | **GET** /university/organizations | Lists organizations
8
+ [**university_organizations_id_delete**](UniversityOrganizationApi.md#university_organizations_id_delete) | **DELETE** /university/organizations/{id} | Deletes an organization
9
+ [**university_organizations_id_get**](UniversityOrganizationApi.md#university_organizations_id_get) | **GET** /university/organizations/{id} | Shows an organization
10
+ [**university_organizations_id_patch**](UniversityOrganizationApi.md#university_organizations_id_patch) | **PATCH** /university/organizations/{id} | Updates an organization
11
+ [**university_organizations_post**](UniversityOrganizationApi.md#university_organizations_post) | **POST** /university/organizations | Creates a organization
12
+ [**university_organizations_upsert_post**](UniversityOrganizationApi.md#university_organizations_upsert_post) | **POST** /university/organizations/upsert | Upsert organizations
13
+
14
+ # **university_organizations_get**
15
+ > Array<UniversityOrganization> university_organizations_get
16
+
17
+ Lists organizations
18
+
19
+ ### Example
20
+ ```ruby
21
+ # load the gem
22
+ require 'osuny_api'
23
+ # setup authorization
24
+ OsunyApi.configure do |config|
25
+ # Configure API key authorization: api_key
26
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
27
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
29
+ end
30
+
31
+ api_instance = OsunyApi::UniversityOrganizationApi.new
32
+
33
+ begin
34
+ #Lists organizations
35
+ result = api_instance.university_organizations_get
36
+ p result
37
+ rescue OsunyApi::ApiError => e
38
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_get: #{e}"
39
+ end
40
+ ```
41
+
42
+ ### Parameters
43
+ This endpoint does not need any parameter.
44
+
45
+ ### Return type
46
+
47
+ [**Array<UniversityOrganization>**](UniversityOrganization.md)
48
+
49
+ ### Authorization
50
+
51
+ [api_key](../README.md#api_key)
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: Not defined
56
+ - **Accept**: application/json
57
+
58
+
59
+
60
+ # **university_organizations_id_delete**
61
+ > university_organizations_id_delete(id)
62
+
63
+ Deletes an organization
64
+
65
+ ### Example
66
+ ```ruby
67
+ # load the gem
68
+ require 'osuny_api'
69
+ # setup authorization
70
+ OsunyApi.configure do |config|
71
+ # Configure API key authorization: api_key
72
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
73
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
74
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
75
+ end
76
+
77
+ api_instance = OsunyApi::UniversityOrganizationApi.new
78
+ id = 'id_example' # String | Organization identifier
79
+
80
+
81
+ begin
82
+ #Deletes an organization
83
+ api_instance.university_organizations_id_delete(id)
84
+ rescue OsunyApi::ApiError => e
85
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_id_delete: #{e}"
86
+ end
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ Name | Type | Description | Notes
92
+ ------------- | ------------- | ------------- | -------------
93
+ **id** | **String**| Organization identifier |
94
+
95
+ ### Return type
96
+
97
+ nil (empty response body)
98
+
99
+ ### Authorization
100
+
101
+ [api_key](../README.md#api_key)
102
+
103
+ ### HTTP request headers
104
+
105
+ - **Content-Type**: Not defined
106
+ - **Accept**: application/json
107
+
108
+
109
+
110
+ # **university_organizations_id_get**
111
+ > university_organizations_id_get(id)
112
+
113
+ Shows an organization
114
+
115
+ ### Example
116
+ ```ruby
117
+ # load the gem
118
+ require 'osuny_api'
119
+ # setup authorization
120
+ OsunyApi.configure do |config|
121
+ # Configure API key authorization: api_key
122
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
123
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
124
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
125
+ end
126
+
127
+ api_instance = OsunyApi::UniversityOrganizationApi.new
128
+ id = 'id_example' # String | Organization identifier
129
+
130
+
131
+ begin
132
+ #Shows an organization
133
+ api_instance.university_organizations_id_get(id)
134
+ rescue OsunyApi::ApiError => e
135
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_id_get: #{e}"
136
+ end
137
+ ```
138
+
139
+ ### Parameters
140
+
141
+ Name | Type | Description | Notes
142
+ ------------- | ------------- | ------------- | -------------
143
+ **id** | **String**| Organization identifier |
144
+
145
+ ### Return type
146
+
147
+ nil (empty response body)
148
+
149
+ ### Authorization
150
+
151
+ [api_key](../README.md#api_key)
152
+
153
+ ### HTTP request headers
154
+
155
+ - **Content-Type**: Not defined
156
+ - **Accept**: application/json
157
+
158
+
159
+
160
+ # **university_organizations_id_patch**
161
+ > university_organizations_id_patch(id, opts)
162
+
163
+ Updates an organization
164
+
165
+ ### Example
166
+ ```ruby
167
+ # load the gem
168
+ require 'osuny_api'
169
+ # setup authorization
170
+ OsunyApi.configure do |config|
171
+ # Configure API key authorization: api_key
172
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
173
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
174
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
175
+ end
176
+
177
+ api_instance = OsunyApi::UniversityOrganizationApi.new
178
+ id = 'id_example' # String | Organization identifier
179
+ opts = {
180
+ body: OsunyApi::OrganizationsIdBody.new # OrganizationsIdBody |
181
+ }
182
+
183
+ begin
184
+ #Updates an organization
185
+ api_instance.university_organizations_id_patch(id, opts)
186
+ rescue OsunyApi::ApiError => e
187
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_id_patch: #{e}"
188
+ end
189
+ ```
190
+
191
+ ### Parameters
192
+
193
+ Name | Type | Description | Notes
194
+ ------------- | ------------- | ------------- | -------------
195
+ **id** | **String**| Organization identifier |
196
+ **body** | [**OrganizationsIdBody**](OrganizationsIdBody.md)| | [optional]
197
+
198
+ ### Return type
199
+
200
+ nil (empty response body)
201
+
202
+ ### Authorization
203
+
204
+ [api_key](../README.md#api_key)
205
+
206
+ ### HTTP request headers
207
+
208
+ - **Content-Type**: application/json
209
+ - **Accept**: application/json
210
+
211
+
212
+
213
+ # **university_organizations_post**
214
+ > university_organizations_post(opts)
215
+
216
+ Creates a organization
217
+
218
+ ### Example
219
+ ```ruby
220
+ # load the gem
221
+ require 'osuny_api'
222
+ # setup authorization
223
+ OsunyApi.configure do |config|
224
+ # Configure API key authorization: api_key
225
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
226
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
227
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
228
+ end
229
+
230
+ api_instance = OsunyApi::UniversityOrganizationApi.new
231
+ opts = {
232
+ body: OsunyApi::UniversityOrganizationsBody.new # UniversityOrganizationsBody |
233
+ }
234
+
235
+ begin
236
+ #Creates a organization
237
+ api_instance.university_organizations_post(opts)
238
+ rescue OsunyApi::ApiError => e
239
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_post: #{e}"
240
+ end
241
+ ```
242
+
243
+ ### Parameters
244
+
245
+ Name | Type | Description | Notes
246
+ ------------- | ------------- | ------------- | -------------
247
+ **body** | [**UniversityOrganizationsBody**](UniversityOrganizationsBody.md)| | [optional]
248
+
249
+ ### Return type
250
+
251
+ nil (empty response body)
252
+
253
+ ### Authorization
254
+
255
+ [api_key](../README.md#api_key)
256
+
257
+ ### HTTP request headers
258
+
259
+ - **Content-Type**: application/json
260
+ - **Accept**: application/json
261
+
262
+
263
+
264
+ # **university_organizations_upsert_post**
265
+ > university_organizations_upsert_post(opts)
266
+
267
+ Upsert organizations
268
+
269
+ ### Example
270
+ ```ruby
271
+ # load the gem
272
+ require 'osuny_api'
273
+ # setup authorization
274
+ OsunyApi.configure do |config|
275
+ # Configure API key authorization: api_key
276
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
277
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
278
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
279
+ end
280
+
281
+ api_instance = OsunyApi::UniversityOrganizationApi.new
282
+ opts = {
283
+ body: OsunyApi::OrganizationsUpsertBody.new # OrganizationsUpsertBody |
284
+ }
285
+
286
+ begin
287
+ #Upsert organizations
288
+ api_instance.university_organizations_upsert_post(opts)
289
+ rescue OsunyApi::ApiError => e
290
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_upsert_post: #{e}"
291
+ end
292
+ ```
293
+
294
+ ### Parameters
295
+
296
+ Name | Type | Description | Notes
297
+ ------------- | ------------- | ------------- | -------------
298
+ **body** | [**OrganizationsUpsertBody**](OrganizationsUpsertBody.md)| | [optional]
299
+
300
+ ### Return type
301
+
302
+ nil (empty response body)
303
+
304
+ ### Authorization
305
+
306
+ [api_key](../README.md#api_key)
307
+
308
+ ### HTTP request headers
309
+
310
+ - **Content-Type**: application/json
311
+ - **Accept**: application/json
312
+
313
+
314
+
@@ -0,0 +1,14 @@
1
+ # OsunyApi::UniversityOrganizationCategory
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **migration_identifier** | **String** | | [optional]
8
+ **parent_id** | **String** | | [optional]
9
+ **position** | **Integer** | | [optional]
10
+ **is_taxonomy** | **BOOLEAN** | | [optional]
11
+ **localizations** | [**Hash<String, UniversityOrganizationCategoryLocalization>**](UniversityOrganizationCategoryLocalization.md) | Localizations of the category. The key is the language's ISO 639-1 code. | [optional]
12
+ **created_at** | **DateTime** | | [optional]
13
+ **updated_at** | **DateTime** | | [optional]
14
+
@@ -0,0 +1,314 @@
1
+ # OsunyApi::UniversityOrganizationCategoryApi
2
+
3
+ All URIs are relative to *https://demo.osuny.org/api/osuny/v1*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**university_organizations_categories_get**](UniversityOrganizationCategoryApi.md#university_organizations_categories_get) | **GET** /university/organizations/categories | Lists organization categories
8
+ [**university_organizations_categories_id_delete**](UniversityOrganizationCategoryApi.md#university_organizations_categories_id_delete) | **DELETE** /university/organizations/categories/{id} | Deletes a organization category
9
+ [**university_organizations_categories_id_get**](UniversityOrganizationCategoryApi.md#university_organizations_categories_id_get) | **GET** /university/organizations/categories/{id} | Shows a organization category
10
+ [**university_organizations_categories_id_patch**](UniversityOrganizationCategoryApi.md#university_organizations_categories_id_patch) | **PATCH** /university/organizations/categories/{id} | Updates a organization category
11
+ [**university_organizations_categories_post**](UniversityOrganizationCategoryApi.md#university_organizations_categories_post) | **POST** /university/organizations/categories | Creates a organization category
12
+ [**university_organizations_categories_upsert_post**](UniversityOrganizationCategoryApi.md#university_organizations_categories_upsert_post) | **POST** /university/organizations/categories/upsert | Upsert organization categories
13
+
14
+ # **university_organizations_categories_get**
15
+ > Array<UniversityOrganizationCategory> university_organizations_categories_get
16
+
17
+ Lists organization categories
18
+
19
+ ### Example
20
+ ```ruby
21
+ # load the gem
22
+ require 'osuny_api'
23
+ # setup authorization
24
+ OsunyApi.configure do |config|
25
+ # Configure API key authorization: api_key
26
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
27
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
29
+ end
30
+
31
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
32
+
33
+ begin
34
+ #Lists organization categories
35
+ result = api_instance.university_organizations_categories_get
36
+ p result
37
+ rescue OsunyApi::ApiError => e
38
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_get: #{e}"
39
+ end
40
+ ```
41
+
42
+ ### Parameters
43
+ This endpoint does not need any parameter.
44
+
45
+ ### Return type
46
+
47
+ [**Array<UniversityOrganizationCategory>**](UniversityOrganizationCategory.md)
48
+
49
+ ### Authorization
50
+
51
+ [api_key](../README.md#api_key)
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: Not defined
56
+ - **Accept**: application/json
57
+
58
+
59
+
60
+ # **university_organizations_categories_id_delete**
61
+ > university_organizations_categories_id_delete(id)
62
+
63
+ Deletes a organization category
64
+
65
+ ### Example
66
+ ```ruby
67
+ # load the gem
68
+ require 'osuny_api'
69
+ # setup authorization
70
+ OsunyApi.configure do |config|
71
+ # Configure API key authorization: api_key
72
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
73
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
74
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
75
+ end
76
+
77
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
78
+ id = 'id_example' # String | Category identifier
79
+
80
+
81
+ begin
82
+ #Deletes a organization category
83
+ api_instance.university_organizations_categories_id_delete(id)
84
+ rescue OsunyApi::ApiError => e
85
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_id_delete: #{e}"
86
+ end
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ Name | Type | Description | Notes
92
+ ------------- | ------------- | ------------- | -------------
93
+ **id** | **String**| Category identifier |
94
+
95
+ ### Return type
96
+
97
+ nil (empty response body)
98
+
99
+ ### Authorization
100
+
101
+ [api_key](../README.md#api_key)
102
+
103
+ ### HTTP request headers
104
+
105
+ - **Content-Type**: Not defined
106
+ - **Accept**: application/json
107
+
108
+
109
+
110
+ # **university_organizations_categories_id_get**
111
+ > university_organizations_categories_id_get(id)
112
+
113
+ Shows a organization category
114
+
115
+ ### Example
116
+ ```ruby
117
+ # load the gem
118
+ require 'osuny_api'
119
+ # setup authorization
120
+ OsunyApi.configure do |config|
121
+ # Configure API key authorization: api_key
122
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
123
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
124
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
125
+ end
126
+
127
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
128
+ id = 'id_example' # String | Category identifier
129
+
130
+
131
+ begin
132
+ #Shows a organization category
133
+ api_instance.university_organizations_categories_id_get(id)
134
+ rescue OsunyApi::ApiError => e
135
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_id_get: #{e}"
136
+ end
137
+ ```
138
+
139
+ ### Parameters
140
+
141
+ Name | Type | Description | Notes
142
+ ------------- | ------------- | ------------- | -------------
143
+ **id** | **String**| Category identifier |
144
+
145
+ ### Return type
146
+
147
+ nil (empty response body)
148
+
149
+ ### Authorization
150
+
151
+ [api_key](../README.md#api_key)
152
+
153
+ ### HTTP request headers
154
+
155
+ - **Content-Type**: Not defined
156
+ - **Accept**: application/json
157
+
158
+
159
+
160
+ # **university_organizations_categories_id_patch**
161
+ > university_organizations_categories_id_patch(id, opts)
162
+
163
+ Updates a organization category
164
+
165
+ ### Example
166
+ ```ruby
167
+ # load the gem
168
+ require 'osuny_api'
169
+ # setup authorization
170
+ OsunyApi.configure do |config|
171
+ # Configure API key authorization: api_key
172
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
173
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
174
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
175
+ end
176
+
177
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
178
+ id = 'id_example' # String | Category identifier
179
+ opts = {
180
+ body: OsunyApi::CategoriesIdBody2.new # CategoriesIdBody2 |
181
+ }
182
+
183
+ begin
184
+ #Updates a organization category
185
+ api_instance.university_organizations_categories_id_patch(id, opts)
186
+ rescue OsunyApi::ApiError => e
187
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_id_patch: #{e}"
188
+ end
189
+ ```
190
+
191
+ ### Parameters
192
+
193
+ Name | Type | Description | Notes
194
+ ------------- | ------------- | ------------- | -------------
195
+ **id** | **String**| Category identifier |
196
+ **body** | [**CategoriesIdBody2**](CategoriesIdBody2.md)| | [optional]
197
+
198
+ ### Return type
199
+
200
+ nil (empty response body)
201
+
202
+ ### Authorization
203
+
204
+ [api_key](../README.md#api_key)
205
+
206
+ ### HTTP request headers
207
+
208
+ - **Content-Type**: application/json
209
+ - **Accept**: application/json
210
+
211
+
212
+
213
+ # **university_organizations_categories_post**
214
+ > university_organizations_categories_post(opts)
215
+
216
+ Creates a organization category
217
+
218
+ ### Example
219
+ ```ruby
220
+ # load the gem
221
+ require 'osuny_api'
222
+ # setup authorization
223
+ OsunyApi.configure do |config|
224
+ # Configure API key authorization: api_key
225
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
226
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
227
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
228
+ end
229
+
230
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
231
+ opts = {
232
+ body: OsunyApi::OrganizationsCategoriesBody.new # OrganizationsCategoriesBody |
233
+ }
234
+
235
+ begin
236
+ #Creates a organization category
237
+ api_instance.university_organizations_categories_post(opts)
238
+ rescue OsunyApi::ApiError => e
239
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_post: #{e}"
240
+ end
241
+ ```
242
+
243
+ ### Parameters
244
+
245
+ Name | Type | Description | Notes
246
+ ------------- | ------------- | ------------- | -------------
247
+ **body** | [**OrganizationsCategoriesBody**](OrganizationsCategoriesBody.md)| | [optional]
248
+
249
+ ### Return type
250
+
251
+ nil (empty response body)
252
+
253
+ ### Authorization
254
+
255
+ [api_key](../README.md#api_key)
256
+
257
+ ### HTTP request headers
258
+
259
+ - **Content-Type**: application/json
260
+ - **Accept**: application/json
261
+
262
+
263
+
264
+ # **university_organizations_categories_upsert_post**
265
+ > university_organizations_categories_upsert_post(opts)
266
+
267
+ Upsert organization categories
268
+
269
+ ### Example
270
+ ```ruby
271
+ # load the gem
272
+ require 'osuny_api'
273
+ # setup authorization
274
+ OsunyApi.configure do |config|
275
+ # Configure API key authorization: api_key
276
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
277
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
278
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
279
+ end
280
+
281
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
282
+ opts = {
283
+ body: OsunyApi::CategoriesUpsertBody2.new # CategoriesUpsertBody2 |
284
+ }
285
+
286
+ begin
287
+ #Upsert organization categories
288
+ api_instance.university_organizations_categories_upsert_post(opts)
289
+ rescue OsunyApi::ApiError => e
290
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_upsert_post: #{e}"
291
+ end
292
+ ```
293
+
294
+ ### Parameters
295
+
296
+ Name | Type | Description | Notes
297
+ ------------- | ------------- | ------------- | -------------
298
+ **body** | [**CategoriesUpsertBody2**](CategoriesUpsertBody2.md)| | [optional]
299
+
300
+ ### Return type
301
+
302
+ nil (empty response body)
303
+
304
+ ### Authorization
305
+
306
+ [api_key](../README.md#api_key)
307
+
308
+ ### HTTP request headers
309
+
310
+ - **Content-Type**: application/json
311
+ - **Accept**: application/json
312
+
313
+
314
+
@@ -0,0 +1,16 @@
1
+ # OsunyApi::UniversityOrganizationCategoryLocalization
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **migration_identifier** | **String** | | [optional]
8
+ **name** | **String** | | [optional]
9
+ **featured_image** | [**CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage**](CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage.md) | | [optional]
10
+ **meta_description** | **String** | | [optional]
11
+ **slug** | **String** | | [optional]
12
+ **summary** | **String** | | [optional]
13
+ **blocks** | [**Array<OneOfuniversityOrganizationCategoryLocalizationBlocksItems>**](.md) | | [optional]
14
+ **created_at** | **DateTime** | | [optional]
15
+ **updated_at** | **DateTime** | | [optional]
16
+
@@ -0,0 +1,24 @@
1
+ # OsunyApi::UniversityOrganizationLocalization
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
7
+ **migration_identifier** | **String** | | [optional]
8
+ **name** | **String** | | [optional]
9
+ **long_name** | **String** | | [optional]
10
+ **featured_image** | [**CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage**](CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage.md) | | [optional]
11
+ **meta_description** | **String** | | [optional]
12
+ **address_name** | **String** | | [optional]
13
+ **address_additional** | **String** | | [optional]
14
+ **linkedin** | **String** | | [optional]
15
+ **mastodon** | **String** | | [optional]
16
+ **twitter** | **String** | | [optional]
17
+ **url** | **String** | | [optional]
18
+ **slug** | **String** | | [optional]
19
+ **summary** | **String** | | [optional]
20
+ **text** | **String** | | [optional]
21
+ **blocks** | [**Array<OneOfuniversityOrganizationLocalizationBlocksItems>**](.md) | | [optional]
22
+ **created_at** | **DateTime** | | [optional]
23
+ **updated_at** | **DateTime** | | [optional]
24
+
@@ -0,0 +1,7 @@
1
+ # OsunyApi::UniversityOrganizationsBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **organization** | [**UniversityOrganization**](UniversityOrganization.md) | |
7
+
@@ -0,0 +1,7 @@
1
+ # OsunyApi::WebsiteIdPagesBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **page** | [**CommunicationWebsitePage**](CommunicationWebsitePage.md) | |
7
+
@@ -0,0 +1,7 @@
1
+ # OsunyApi::WebsiteIdPostsBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **post** | [**CommunicationWebsitePost**](CommunicationWebsitePost.md) | |
7
+