osuny_api 1.0.0 → 1.1.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 (287) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +33 -23
  3. data/README.md +513 -58
  4. data/Rakefile +8 -7
  5. data/docs/CategoriesIdBody2.md +1 -1
  6. data/docs/CategoriesIdBody3.md +7 -0
  7. data/docs/CategoriesIdBody4.md +7 -0
  8. data/docs/CategoriesUpsertBody2.md +1 -1
  9. data/docs/CategoriesUpsertBody3.md +7 -0
  10. data/docs/CategoriesUpsertBody4.md +7 -0
  11. data/docs/CommunicationBlockAgendaData.md +3 -0
  12. data/docs/CommunicationBlockCallToActionData.md +1 -1
  13. data/docs/CommunicationBlockChapterData.md +1 -1
  14. data/docs/CommunicationBlockChapterDataImage.md +9 -0
  15. data/docs/CommunicationBlockExhibitions.md +14 -0
  16. data/docs/CommunicationBlockExhibitionsData.md +20 -0
  17. data/docs/CommunicationBlockFeaturesDataElements.md +1 -1
  18. data/docs/CommunicationBlockFilesDataElements.md +2 -2
  19. data/docs/CommunicationBlockGalleryDataElements.md +1 -1
  20. data/docs/CommunicationBlockImageData.md +1 -1
  21. data/docs/CommunicationBlockJobs.md +14 -0
  22. data/docs/CommunicationBlockJobsData.md +18 -0
  23. data/docs/CommunicationBlockKeyFiguresDataElements.md +1 -1
  24. data/docs/CommunicationBlockLinksData.md +2 -0
  25. data/docs/CommunicationBlockLinksDataElements.md +1 -2
  26. data/docs/CommunicationBlockLocationsData.md +1 -1
  27. data/docs/CommunicationBlockOrganizationsData.md +2 -0
  28. data/docs/CommunicationBlockOrganizationsDataElements.md +2 -1
  29. data/docs/CommunicationBlockPagesData.md +2 -1
  30. data/docs/CommunicationBlockPapersData.md +1 -1
  31. data/docs/CommunicationBlockPostsData.md +1 -1
  32. data/docs/CommunicationBlockProgramsData.md +1 -1
  33. data/docs/CommunicationBlockProgramsDataElements.md +7 -0
  34. data/docs/CommunicationBlockProjectsData.md +1 -1
  35. data/docs/CommunicationBlockSoundData.md +1 -1
  36. data/docs/CommunicationBlockTestimonialsData.md +1 -0
  37. data/docs/CommunicationBlockTestimonialsDataElements.md +1 -1
  38. data/docs/CommunicationMedia.md +17 -0
  39. data/docs/CommunicationMediaLocalization.md +13 -0
  40. data/docs/CommunicationMediaOriginalBlob.md +10 -0
  41. data/docs/CommunicationMediasBody.md +8 -0
  42. data/docs/CommunicationWebsite.md +1 -0
  43. data/docs/CommunicationWebsiteAgendaCategoryApi.md +8 -3
  44. data/docs/CommunicationWebsiteAgendaCategoryLocalization.md +6 -0
  45. data/docs/CommunicationWebsiteAgendaEventApi.md +8 -3
  46. data/docs/CommunicationWebsiteAgendaEventLocalization.md +1 -0
  47. data/docs/CommunicationWebsiteApi.md +11 -3
  48. data/docs/CommunicationWebsiteMediaApi.md +61 -0
  49. data/docs/CommunicationWebsitePageApi.md +8 -3
  50. data/docs/CommunicationWebsitePageCategoryApi.md +8 -3
  51. data/docs/CommunicationWebsitePageCategoryLocalization.md +6 -0
  52. data/docs/CommunicationWebsitePageLocalization.md +2 -0
  53. data/docs/CommunicationWebsitePermalink.md +8 -0
  54. data/docs/CommunicationWebsitePortfolioCategory.md +15 -0
  55. data/docs/CommunicationWebsitePortfolioCategoryApi.md +334 -0
  56. data/docs/CommunicationWebsitePortfolioCategoryLocalization.md +23 -0
  57. data/docs/CommunicationWebsitePortfolioProject.md +15 -0
  58. data/docs/CommunicationWebsitePortfolioProjectApi.md +334 -0
  59. data/docs/CommunicationWebsitePortfolioProjectLocalization.md +23 -0
  60. data/docs/CommunicationWebsitePost.md +1 -0
  61. data/docs/CommunicationWebsitePostApi.md +8 -3
  62. data/docs/CommunicationWebsitePostCategory.md +14 -0
  63. data/docs/CommunicationWebsitePostCategoryApi.md +334 -0
  64. data/docs/CommunicationWebsitePostCategoryLocalization.md +23 -0
  65. data/docs/CommunicationWebsitePostLocalization.md +1 -1
  66. data/docs/OneOfcommunicationWebsitePortfolioCategoryLocalizationBlocksItems.md +6 -0
  67. data/docs/OneOfcommunicationWebsitePortfolioProjectLocalizationBlocksItems.md +6 -0
  68. data/docs/OneOfcommunicationWebsitePostCategoryLocalizationBlocksItems.md +6 -0
  69. data/docs/PortfolioCategoriesBody.md +7 -0
  70. data/docs/PortfolioProjectsBody.md +7 -0
  71. data/docs/PostsCategoriesBody.md +7 -0
  72. data/docs/ProjectsIdBody.md +7 -0
  73. data/docs/ProjectsUpsertBody.md +7 -0
  74. data/docs/UniversityOrganization.md +0 -1
  75. data/docs/UniversityOrganizationApi.md +11 -3
  76. data/docs/UniversityOrganizationCategoryApi.md +15 -7
  77. data/docs/UniversityOrganizationCategoryLocalization.md +6 -0
  78. data/docs/UniversityOrganizationLocalization.md +2 -0
  79. data/generate.sh +0 -0
  80. data/lib/osuny_api/api/communication_website_agenda_category_api.rb +7 -1
  81. data/lib/osuny_api/api/communication_website_agenda_event_api.rb +7 -1
  82. data/lib/osuny_api/api/communication_website_api.rb +7 -1
  83. data/lib/osuny_api/api/communication_website_media_api.rb +76 -0
  84. data/lib/osuny_api/api/communication_website_page_api.rb +7 -1
  85. data/lib/osuny_api/api/communication_website_page_category_api.rb +7 -1
  86. data/lib/osuny_api/api/communication_website_portfolio_category_api.rb +380 -0
  87. data/lib/osuny_api/api/communication_website_portfolio_project_api.rb +380 -0
  88. data/lib/osuny_api/api/communication_website_post_api.rb +7 -1
  89. data/lib/osuny_api/api/communication_website_post_category_api.rb +380 -0
  90. data/lib/osuny_api/api/university_organization_api.rb +7 -1
  91. data/lib/osuny_api/api/university_organization_category_api.rb +11 -5
  92. data/lib/osuny_api/api_client.rb +1 -1
  93. data/lib/osuny_api/api_error.rb +1 -1
  94. data/lib/osuny_api/configuration.rb +1 -1
  95. data/lib/osuny_api/models/agenda_categories_body.rb +1 -1
  96. data/lib/osuny_api/models/agenda_events_body.rb +1 -1
  97. data/lib/osuny_api/models/categories_id_body.rb +1 -1
  98. data/lib/osuny_api/models/categories_id_body_1.rb +1 -1
  99. data/lib/osuny_api/models/categories_id_body_2.rb +1 -1
  100. data/lib/osuny_api/models/categories_id_body_3.rb +211 -0
  101. data/lib/osuny_api/models/categories_id_body_4.rb +211 -0
  102. data/lib/osuny_api/models/categories_upsert_body.rb +1 -1
  103. data/lib/osuny_api/models/categories_upsert_body_1.rb +1 -1
  104. data/lib/osuny_api/models/categories_upsert_body_2.rb +1 -1
  105. data/lib/osuny_api/models/categories_upsert_body_3.rb +213 -0
  106. data/lib/osuny_api/models/categories_upsert_body_4.rb +213 -0
  107. data/lib/osuny_api/models/communication_block_agenda.rb +1 -1
  108. data/lib/osuny_api/models/communication_block_agenda_data.rb +31 -4
  109. data/lib/osuny_api/models/communication_block_agenda_data_elements.rb +1 -1
  110. data/lib/osuny_api/models/communication_block_call_to_action.rb +1 -1
  111. data/lib/osuny_api/models/communication_block_call_to_action_data.rb +1 -1
  112. data/lib/osuny_api/models/communication_block_call_to_action_data_elements.rb +1 -1
  113. data/lib/osuny_api/models/communication_block_categories.rb +1 -1
  114. data/lib/osuny_api/models/communication_block_categories_data.rb +3 -3
  115. data/lib/osuny_api/models/communication_block_chapter.rb +1 -1
  116. data/lib/osuny_api/models/communication_block_chapter_data.rb +1 -1
  117. data/lib/osuny_api/models/communication_block_chapter_data_image.rb +227 -0
  118. data/lib/osuny_api/models/communication_block_contact.rb +1 -1
  119. data/lib/osuny_api/models/communication_block_contact_data.rb +1 -1
  120. data/lib/osuny_api/models/communication_block_contact_data_elements.rb +1 -1
  121. data/lib/osuny_api/models/communication_block_contact_data_time_slot_morning.rb +1 -1
  122. data/lib/osuny_api/models/communication_block_datatable.rb +1 -1
  123. data/lib/osuny_api/models/communication_block_datatable_data.rb +1 -1
  124. data/lib/osuny_api/models/communication_block_datatable_data_elements.rb +1 -1
  125. data/lib/osuny_api/models/communication_block_definitions.rb +1 -1
  126. data/lib/osuny_api/models/communication_block_definitions_data.rb +1 -1
  127. data/lib/osuny_api/models/communication_block_definitions_data_elements.rb +1 -1
  128. data/lib/osuny_api/models/communication_block_embed.rb +1 -1
  129. data/lib/osuny_api/models/communication_block_embed_data.rb +1 -1
  130. data/lib/osuny_api/models/communication_block_exhibitions.rb +312 -0
  131. data/lib/osuny_api/models/communication_block_exhibitions_data.rb +384 -0
  132. data/lib/osuny_api/models/communication_block_features.rb +1 -1
  133. data/lib/osuny_api/models/communication_block_features_data.rb +1 -1
  134. data/lib/osuny_api/models/communication_block_features_data_elements.rb +1 -1
  135. data/lib/osuny_api/models/communication_block_files.rb +1 -1
  136. data/lib/osuny_api/models/communication_block_files_data.rb +1 -1
  137. data/lib/osuny_api/models/communication_block_files_data_elements.rb +1 -1
  138. data/lib/osuny_api/models/communication_block_gallery.rb +1 -1
  139. data/lib/osuny_api/models/communication_block_gallery_data.rb +1 -1
  140. data/lib/osuny_api/models/communication_block_gallery_data_elements.rb +1 -1
  141. data/lib/osuny_api/models/communication_block_image.rb +1 -1
  142. data/lib/osuny_api/models/communication_block_image_data.rb +1 -1
  143. data/lib/osuny_api/models/communication_block_jobs.rb +312 -0
  144. data/lib/osuny_api/models/communication_block_jobs_data.rb +354 -0
  145. data/lib/osuny_api/models/communication_block_key_figures.rb +1 -1
  146. data/lib/osuny_api/models/communication_block_key_figures_data.rb +1 -1
  147. data/lib/osuny_api/models/communication_block_key_figures_data_elements.rb +1 -1
  148. data/lib/osuny_api/models/communication_block_license.rb +1 -1
  149. data/lib/osuny_api/models/communication_block_license_data.rb +1 -1
  150. data/lib/osuny_api/models/communication_block_links.rb +1 -1
  151. data/lib/osuny_api/models/communication_block_links_data.rb +54 -2
  152. data/lib/osuny_api/models/communication_block_links_data_elements.rb +2 -11
  153. data/lib/osuny_api/models/communication_block_locations.rb +1 -1
  154. data/lib/osuny_api/models/communication_block_locations_data.rb +1 -1
  155. data/lib/osuny_api/models/communication_block_organizations.rb +1 -1
  156. data/lib/osuny_api/models/communication_block_organizations_data.rb +22 -4
  157. data/lib/osuny_api/models/communication_block_organizations_data_elements.rb +14 -5
  158. data/lib/osuny_api/models/communication_block_pages.rb +1 -1
  159. data/lib/osuny_api/models/communication_block_pages_data.rb +11 -2
  160. data/lib/osuny_api/models/communication_block_papers.rb +1 -1
  161. data/lib/osuny_api/models/communication_block_papers_data.rb +1 -1
  162. data/lib/osuny_api/models/communication_block_persons.rb +1 -1
  163. data/lib/osuny_api/models/communication_block_persons_data.rb +1 -1
  164. data/lib/osuny_api/models/communication_block_persons_data_elements.rb +1 -1
  165. data/lib/osuny_api/models/communication_block_posts.rb +1 -1
  166. data/lib/osuny_api/models/communication_block_posts_data.rb +1 -1
  167. data/lib/osuny_api/models/communication_block_programs.rb +1 -1
  168. data/lib/osuny_api/models/communication_block_programs_data.rb +1 -1
  169. data/lib/osuny_api/models/communication_block_programs_data_elements.rb +206 -0
  170. data/lib/osuny_api/models/communication_block_projects.rb +1 -1
  171. data/lib/osuny_api/models/communication_block_projects_data.rb +1 -1
  172. data/lib/osuny_api/models/communication_block_sound.rb +1 -1
  173. data/lib/osuny_api/models/communication_block_sound_data.rb +1 -1
  174. data/lib/osuny_api/models/communication_block_testimonials.rb +1 -1
  175. data/lib/osuny_api/models/communication_block_testimonials_data.rb +45 -2
  176. data/lib/osuny_api/models/communication_block_testimonials_data_elements.rb +1 -1
  177. data/lib/osuny_api/models/communication_block_timeline.rb +1 -1
  178. data/lib/osuny_api/models/communication_block_timeline_data.rb +1 -1
  179. data/lib/osuny_api/models/communication_block_timeline_data_elements.rb +1 -1
  180. data/lib/osuny_api/models/communication_block_title.rb +1 -1
  181. data/lib/osuny_api/models/communication_block_title_data.rb +1 -1
  182. data/lib/osuny_api/models/communication_block_video.rb +1 -1
  183. data/lib/osuny_api/models/communication_block_video_data.rb +1 -1
  184. data/lib/osuny_api/models/communication_block_volumes.rb +1 -1
  185. data/lib/osuny_api/models/communication_media.rb +339 -0
  186. data/lib/osuny_api/models/communication_media_localization.rb +265 -0
  187. data/lib/osuny_api/models/communication_media_original_blob.rb +237 -0
  188. data/lib/osuny_api/models/communication_medias_body.rb +215 -0
  189. data/lib/osuny_api/models/communication_website.rb +46 -2
  190. data/lib/osuny_api/models/communication_website_agenda_category.rb +1 -1
  191. data/lib/osuny_api/models/communication_website_agenda_category_localization.rb +62 -2
  192. data/lib/osuny_api/models/communication_website_agenda_category_localization_featured_image.rb +1 -1
  193. data/lib/osuny_api/models/communication_website_agenda_event.rb +1 -1
  194. data/lib/osuny_api/models/communication_website_agenda_event_localization.rb +13 -2
  195. data/lib/osuny_api/models/communication_website_agenda_event_localization_add_to_calendar_urls.rb +1 -1
  196. data/lib/osuny_api/models/communication_website_agenda_event_time_slot.rb +1 -1
  197. data/lib/osuny_api/models/communication_website_agenda_event_time_slot_localization.rb +1 -1
  198. data/lib/osuny_api/models/communication_website_deuxfleurs.rb +1 -1
  199. data/lib/osuny_api/models/communication_website_features.rb +1 -1
  200. data/lib/osuny_api/models/communication_website_git.rb +1 -1
  201. data/lib/osuny_api/models/communication_website_localization.rb +1 -1
  202. data/lib/osuny_api/models/communication_website_page.rb +1 -1
  203. data/lib/osuny_api/models/communication_website_page_category.rb +1 -1
  204. data/lib/osuny_api/models/communication_website_page_category_localization.rb +62 -2
  205. data/lib/osuny_api/models/communication_website_page_localization.rb +23 -2
  206. data/lib/osuny_api/models/communication_website_permalink.rb +215 -0
  207. data/lib/osuny_api/models/communication_website_portfolio_category.rb +284 -0
  208. data/lib/osuny_api/models/communication_website_portfolio_category_localization.rb +362 -0
  209. data/lib/osuny_api/models/communication_website_portfolio_project.rb +285 -0
  210. data/lib/osuny_api/models/communication_website_portfolio_project_localization.rb +362 -0
  211. data/lib/osuny_api/models/communication_website_post.rb +13 -2
  212. data/lib/osuny_api/models/communication_website_post_category.rb +274 -0
  213. data/lib/osuny_api/models/communication_website_post_category_localization.rb +362 -0
  214. data/lib/osuny_api/models/communication_website_post_localization.rb +10 -9
  215. data/lib/osuny_api/models/communication_website_showcase.rb +1 -1
  216. data/lib/osuny_api/models/communication_website_showcase_tags.rb +1 -1
  217. data/lib/osuny_api/models/events_id_body.rb +1 -1
  218. data/lib/osuny_api/models/events_upsert_body.rb +1 -1
  219. data/lib/osuny_api/models/one_ofcommunication_website_agenda_category_localization_blocks_items.rb +1 -1
  220. data/lib/osuny_api/models/one_ofcommunication_website_agenda_event_localization_blocks_items.rb +1 -1
  221. data/lib/osuny_api/models/one_ofcommunication_website_page_category_localization_blocks_items.rb +1 -1
  222. data/lib/osuny_api/models/one_ofcommunication_website_page_localization_blocks_items.rb +1 -1
  223. data/lib/osuny_api/models/one_ofcommunication_website_portfolio_category_localization_blocks_items.rb +197 -0
  224. data/lib/osuny_api/models/one_ofcommunication_website_portfolio_project_localization_blocks_items.rb +197 -0
  225. data/lib/osuny_api/models/one_ofcommunication_website_post_category_localization_blocks_items.rb +197 -0
  226. data/lib/osuny_api/models/one_ofcommunication_website_post_localization_blocks_items.rb +1 -1
  227. data/lib/osuny_api/models/one_ofuniversity_organization_category_localization_blocks_items.rb +1 -1
  228. data/lib/osuny_api/models/one_ofuniversity_organization_localization_blocks_items.rb +1 -1
  229. data/lib/osuny_api/models/organizations_categories_body.rb +1 -1
  230. data/lib/osuny_api/models/organizations_id_body.rb +1 -1
  231. data/lib/osuny_api/models/organizations_upsert_body.rb +1 -1
  232. data/lib/osuny_api/models/pages_categories_body.rb +1 -1
  233. data/lib/osuny_api/models/pages_id_body.rb +1 -1
  234. data/lib/osuny_api/models/pages_upsert_body.rb +1 -1
  235. data/lib/osuny_api/models/portfolio_categories_body.rb +211 -0
  236. data/lib/osuny_api/models/portfolio_projects_body.rb +211 -0
  237. data/lib/osuny_api/models/posts_categories_body.rb +211 -0
  238. data/lib/osuny_api/models/posts_id_body.rb +1 -1
  239. data/lib/osuny_api/models/posts_upsert_body.rb +1 -1
  240. data/lib/osuny_api/models/projects_id_body.rb +211 -0
  241. data/lib/osuny_api/models/projects_upsert_body.rb +213 -0
  242. data/lib/osuny_api/models/university_organization.rb +4 -13
  243. data/lib/osuny_api/models/university_organization_category.rb +1 -1
  244. data/lib/osuny_api/models/university_organization_category_localization.rb +62 -2
  245. data/lib/osuny_api/models/university_organization_localization.rb +21 -2
  246. data/lib/osuny_api/models/university_organizations_body.rb +1 -1
  247. data/lib/osuny_api/models/website_id_pages_body.rb +1 -1
  248. data/lib/osuny_api/models/website_id_posts_body.rb +1 -1
  249. data/lib/osuny_api/version.rb +2 -2
  250. data/lib/osuny_api.rb +34 -3
  251. data/osuny_api.gemspec +2 -1
  252. data/spec/api/communication_website_media_api_spec.rb +46 -0
  253. data/spec/api/communication_website_portfolio_category_api_spec.rb +108 -0
  254. data/spec/api/communication_website_portfolio_project_api_spec.rb +108 -0
  255. data/spec/api/communication_website_post_category_api_spec.rb +108 -0
  256. data/spec/models/categories_id_body_3_spec.rb +40 -0
  257. data/spec/models/categories_id_body_4_spec.rb +40 -0
  258. data/spec/models/categories_upsert_body_3_spec.rb +40 -0
  259. data/spec/models/categories_upsert_body_4_spec.rb +40 -0
  260. data/spec/models/communication_block_chapter_data_image_spec.rb +52 -0
  261. data/spec/models/communication_block_exhibitions_data_spec.rb +130 -0
  262. data/spec/models/communication_block_exhibitions_spec.rb +86 -0
  263. data/spec/models/communication_block_jobs_data_spec.rb +114 -0
  264. data/spec/models/communication_block_jobs_spec.rb +86 -0
  265. data/spec/models/communication_block_programs_data_elements_spec.rb +40 -0
  266. data/spec/models/communication_media_localization_spec.rb +76 -0
  267. data/spec/models/communication_media_original_blob_spec.rb +58 -0
  268. data/spec/models/communication_media_spec.rb +104 -0
  269. data/spec/models/communication_medias_body_spec.rb +46 -0
  270. data/spec/models/communication_website_permalink_spec.rb +46 -0
  271. data/spec/models/communication_website_portfolio_category_localization_spec.rb +136 -0
  272. data/spec/models/communication_website_portfolio_category_spec.rb +88 -0
  273. data/spec/models/communication_website_portfolio_project_localization_spec.rb +136 -0
  274. data/spec/models/communication_website_portfolio_project_spec.rb +88 -0
  275. data/spec/models/communication_website_post_category_localization_spec.rb +136 -0
  276. data/spec/models/communication_website_post_category_spec.rb +82 -0
  277. data/spec/models/one_ofcommunication_website_portfolio_category_localization_blocks_items_spec.rb +34 -0
  278. data/spec/models/one_ofcommunication_website_portfolio_project_localization_blocks_items_spec.rb +34 -0
  279. data/spec/models/one_ofcommunication_website_post_category_localization_blocks_items_spec.rb +34 -0
  280. data/spec/models/portfolio_categories_body_spec.rb +40 -0
  281. data/spec/models/portfolio_projects_body_spec.rb +40 -0
  282. data/spec/models/posts_categories_body_spec.rb +40 -0
  283. data/spec/models/projects_id_body_spec.rb +40 -0
  284. data/spec/models/projects_upsert_body_spec.rb +40 -0
  285. metadata +266 -116
  286. data/pkg/osuny_api-0.2.6.gem +0 -0
  287. data/pkg/osuny_api-1.0.0.gem +0 -0
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Osuny
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.77
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OsunyApi::CategoriesIdBody3
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CategoriesIdBody3' do
20
+ before do
21
+ # run before each test
22
+ @instance = OsunyApi::CategoriesIdBody3.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CategoriesIdBody3' do
30
+ it 'should create an instance of CategoriesIdBody3' do
31
+ expect(@instance).to be_instance_of(OsunyApi::CategoriesIdBody3)
32
+ end
33
+ end
34
+ describe 'test attribute "category"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Osuny
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.77
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OsunyApi::CategoriesIdBody4
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CategoriesIdBody4' do
20
+ before do
21
+ # run before each test
22
+ @instance = OsunyApi::CategoriesIdBody4.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CategoriesIdBody4' do
30
+ it 'should create an instance of CategoriesIdBody4' do
31
+ expect(@instance).to be_instance_of(OsunyApi::CategoriesIdBody4)
32
+ end
33
+ end
34
+ describe 'test attribute "category"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Osuny
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.77
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OsunyApi::CategoriesUpsertBody3
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CategoriesUpsertBody3' do
20
+ before do
21
+ # run before each test
22
+ @instance = OsunyApi::CategoriesUpsertBody3.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CategoriesUpsertBody3' do
30
+ it 'should create an instance of CategoriesUpsertBody3' do
31
+ expect(@instance).to be_instance_of(OsunyApi::CategoriesUpsertBody3)
32
+ end
33
+ end
34
+ describe 'test attribute "categories"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Osuny
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.77
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OsunyApi::CategoriesUpsertBody4
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CategoriesUpsertBody4' do
20
+ before do
21
+ # run before each test
22
+ @instance = OsunyApi::CategoriesUpsertBody4.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CategoriesUpsertBody4' do
30
+ it 'should create an instance of CategoriesUpsertBody4' do
31
+ expect(@instance).to be_instance_of(OsunyApi::CategoriesUpsertBody4)
32
+ end
33
+ end
34
+ describe 'test attribute "categories"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #Osuny
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.77
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OsunyApi::CommunicationBlockChapterDataImage
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CommunicationBlockChapterDataImage' do
20
+ before do
21
+ # run before each test
22
+ @instance = OsunyApi::CommunicationBlockChapterDataImage.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CommunicationBlockChapterDataImage' do
30
+ it 'should create an instance of CommunicationBlockChapterDataImage' do
31
+ expect(@instance).to be_instance_of(OsunyApi::CommunicationBlockChapterDataImage)
32
+ end
33
+ end
34
+ describe 'test attribute "id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "filename"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "signed_id"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ end
@@ -0,0 +1,130 @@
1
+ =begin
2
+ #Osuny
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.77
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OsunyApi::CommunicationBlockExhibitionsData
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CommunicationBlockExhibitionsData' do
20
+ before do
21
+ # run before each test
22
+ @instance = OsunyApi::CommunicationBlockExhibitionsData.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CommunicationBlockExhibitionsData' do
30
+ it 'should create an instance of CommunicationBlockExhibitionsData' do
31
+ expect(@instance).to be_instance_of(OsunyApi::CommunicationBlockExhibitionsData)
32
+ end
33
+ end
34
+ describe 'test attribute "layout"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["grid", "list", "large"])
38
+ # validator.allowable_values.each do |value|
39
+ # expect { @instance.layout = value }.not_to raise_error
40
+ # end
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "mode"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["all", "category", "selection"])
48
+ # validator.allowable_values.each do |value|
49
+ # expect { @instance.mode = value }.not_to raise_error
50
+ # end
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "category_id"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "description"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "quantity"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "time"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["current", "future_or_current", "future", "archive"])
76
+ # validator.allowable_values.each do |value|
77
+ # expect { @instance.time = value }.not_to raise_error
78
+ # end
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "no_exhibition_message"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "option_categories"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ describe 'test attribute "option_dates"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ describe 'test attribute "option_image"' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
106
+ describe 'test attribute "option_subtitle"' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ describe 'test attribute "option_summary"' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
118
+ describe 'test attribute "option_status"' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
121
+ end
122
+ end
123
+
124
+ describe 'test attribute "elements"' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
127
+ end
128
+ end
129
+
130
+ end
@@ -0,0 +1,86 @@
1
+ =begin
2
+ #Osuny
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.77
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OsunyApi::CommunicationBlockExhibitions
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CommunicationBlockExhibitions' do
20
+ before do
21
+ # run before each test
22
+ @instance = OsunyApi::CommunicationBlockExhibitions.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CommunicationBlockExhibitions' do
30
+ it 'should create an instance of CommunicationBlockExhibitions' do
31
+ expect(@instance).to be_instance_of(OsunyApi::CommunicationBlockExhibitions)
32
+ end
33
+ end
34
+ describe 'test attribute "id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "migration_identifier"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "template_kind"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exhibitions"])
50
+ # validator.allowable_values.each do |value|
51
+ # expect { @instance.template_kind = value }.not_to raise_error
52
+ # end
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "title"' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ describe 'test attribute "position"' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ describe 'test attribute "published"' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ describe 'test attribute "html_class"' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ describe 'test attribute "data"' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ end
@@ -0,0 +1,114 @@
1
+ =begin
2
+ #Osuny
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.77
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OsunyApi::CommunicationBlockJobsData
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CommunicationBlockJobsData' do
20
+ before do
21
+ # run before each test
22
+ @instance = OsunyApi::CommunicationBlockJobsData.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CommunicationBlockJobsData' do
30
+ it 'should create an instance of CommunicationBlockJobsData' do
31
+ expect(@instance).to be_instance_of(OsunyApi::CommunicationBlockJobsData)
32
+ end
33
+ end
34
+ describe 'test attribute "layout"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["grid", "list"])
38
+ # validator.allowable_values.each do |value|
39
+ # expect { @instance.layout = value }.not_to raise_error
40
+ # end
41
+ end
42
+ end
43
+
44
+ describe 'test attribute "mode"' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["all", "category", "selection"])
48
+ # validator.allowable_values.each do |value|
49
+ # expect { @instance.mode = value }.not_to raise_error
50
+ # end
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "jobs_quantity"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "category_id"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "description"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "no_job_message"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "option_image"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "option_subtitle"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "option_categories"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "option_date"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
+ end
100
+ end
101
+
102
+ describe 'test attribute "option_summary"' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
105
+ end
106
+ end
107
+
108
+ describe 'test attribute "elements"' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ end
112
+ end
113
+
114
+ end
@@ -0,0 +1,86 @@
1
+ =begin
2
+ #Osuny
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.77
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OsunyApi::CommunicationBlockJobs
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CommunicationBlockJobs' do
20
+ before do
21
+ # run before each test
22
+ @instance = OsunyApi::CommunicationBlockJobs.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CommunicationBlockJobs' do
30
+ it 'should create an instance of CommunicationBlockJobs' do
31
+ expect(@instance).to be_instance_of(OsunyApi::CommunicationBlockJobs)
32
+ end
33
+ end
34
+ describe 'test attribute "id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "migration_identifier"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "template_kind"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["jobs"])
50
+ # validator.allowable_values.each do |value|
51
+ # expect { @instance.template_kind = value }.not_to raise_error
52
+ # end
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "title"' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ describe 'test attribute "position"' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ describe 'test attribute "published"' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ describe 'test attribute "html_class"' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ describe 'test attribute "data"' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Osuny
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.77
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OsunyApi::CommunicationBlockProgramsDataElements
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CommunicationBlockProgramsDataElements' do
20
+ before do
21
+ # run before each test
22
+ @instance = OsunyApi::CommunicationBlockProgramsDataElements.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CommunicationBlockProgramsDataElements' do
30
+ it 'should create an instance of CommunicationBlockProgramsDataElements' do
31
+ expect(@instance).to be_instance_of(OsunyApi::CommunicationBlockProgramsDataElements)
32
+ end
33
+ end
34
+ describe 'test attribute "id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end