radiomanager_client 1.0.1

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 (454) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +297 -0
  4. data/Rakefile +8 -0
  5. data/docs/Block.md +15 -0
  6. data/docs/BlockApi.md +233 -0
  7. data/docs/BlockRelations.md +10 -0
  8. data/docs/BlockRelationsBroadcast.md +11 -0
  9. data/docs/BlockRelationsBroadcastParams.md +8 -0
  10. data/docs/BlockRelationsItems.md +11 -0
  11. data/docs/BlockRelationsItemsParams.md +8 -0
  12. data/docs/BlockRelationsProgram.md +11 -0
  13. data/docs/BlockResult.md +18 -0
  14. data/docs/BlockResults.md +17 -0
  15. data/docs/Broadcast.md +29 -0
  16. data/docs/BroadcastApi.md +641 -0
  17. data/docs/BroadcastDataInput.md +31 -0
  18. data/docs/BroadcastFieldValues.md +8 -0
  19. data/docs/BroadcastInputOnly.md +9 -0
  20. data/docs/BroadcastOutputOnly.md +12 -0
  21. data/docs/BroadcastRelations.md +13 -0
  22. data/docs/BroadcastRelationsBlocks.md +11 -0
  23. data/docs/BroadcastRelationsItems.md +11 -0
  24. data/docs/BroadcastRelationsItemsParams.md +8 -0
  25. data/docs/BroadcastRelationsModelType.md +11 -0
  26. data/docs/BroadcastRelationsPresenters.md +11 -0
  27. data/docs/BroadcastRelationsTags.md +11 -0
  28. data/docs/BroadcastResult.md +40 -0
  29. data/docs/BroadcastResults.md +17 -0
  30. data/docs/Campaign.md +14 -0
  31. data/docs/CampaignApi.md +302 -0
  32. data/docs/CampaignDataInput.md +14 -0
  33. data/docs/CampaignOutputOnly.md +13 -0
  34. data/docs/CampaignRelations.md +9 -0
  35. data/docs/CampaignRelationsItems.md +11 -0
  36. data/docs/CampaignRelationsItemsParams.md +8 -0
  37. data/docs/CampaignResult.md +22 -0
  38. data/docs/CampaignResults.md +17 -0
  39. data/docs/Contact.md +13 -0
  40. data/docs/ContactApi.md +300 -0
  41. data/docs/ContactDataInput.md +13 -0
  42. data/docs/ContactFieldValues.md +8 -0
  43. data/docs/ContactOutputOnly.md +12 -0
  44. data/docs/ContactRelations.md +10 -0
  45. data/docs/ContactRelationsItems.md +11 -0
  46. data/docs/ContactRelationsTags.md +11 -0
  47. data/docs/ContactRelationsTagsParams.md +8 -0
  48. data/docs/ContactResult.md +21 -0
  49. data/docs/ContactResults.md +17 -0
  50. data/docs/Data.md +9 -0
  51. data/docs/Data1.md +9 -0
  52. data/docs/EPGBroadcast.md +10 -0
  53. data/docs/ExternalMessageApi.md +63 -0
  54. data/docs/ExternalMessageQueueData.md +14 -0
  55. data/docs/Forbidden.md +9 -0
  56. data/docs/Genre.md +11 -0
  57. data/docs/GenreApi.md +131 -0
  58. data/docs/GenreOutputOnly.md +8 -0
  59. data/docs/GenreRelations.md +9 -0
  60. data/docs/GenreRelationsBroadcasts.md +11 -0
  61. data/docs/GenreRelationsBroadcastsParams.md +8 -0
  62. data/docs/GenreRelationsPrograms.md +11 -0
  63. data/docs/GenreResult.md +14 -0
  64. data/docs/GenreResults.md +17 -0
  65. data/docs/ImportItem.md +18 -0
  66. data/docs/ImportItemFieldValues.md +8 -0
  67. data/docs/InlineResponse202.md +8 -0
  68. data/docs/InternalServerError.md +9 -0
  69. data/docs/InviteUserData.md +9 -0
  70. data/docs/InviteUserSuccess.md +8 -0
  71. data/docs/Item.md +23 -0
  72. data/docs/ItemApi.md +553 -0
  73. data/docs/ItemDataInput.md +26 -0
  74. data/docs/ItemInputOnly.md +10 -0
  75. data/docs/ItemOutputOnly.md +16 -0
  76. data/docs/ItemRelations.md +14 -0
  77. data/docs/ItemRelationsBlock.md +11 -0
  78. data/docs/ItemRelationsCampaign.md +11 -0
  79. data/docs/ItemRelationsContacts.md +11 -0
  80. data/docs/ItemRelationsContactsParams.md +8 -0
  81. data/docs/ItemRelationsProgram.md +11 -0
  82. data/docs/ItemRelationsTags.md +11 -0
  83. data/docs/ItemResult.md +39 -0
  84. data/docs/ItemResults.md +16 -0
  85. data/docs/ModelType.md +15 -0
  86. data/docs/ModelTypeApi.md +139 -0
  87. data/docs/ModelTypeOptions.md +8 -0
  88. data/docs/ModelTypeOutputOnly.md +8 -0
  89. data/docs/ModelTypeRelations.md +13 -0
  90. data/docs/ModelTypeRelationsBroadcasts.md +11 -0
  91. data/docs/ModelTypeRelationsCampaigns.md +11 -0
  92. data/docs/ModelTypeRelationsCampaignsParams.md +8 -0
  93. data/docs/ModelTypeRelationsContacts.md +11 -0
  94. data/docs/ModelTypeRelationsItems.md +11 -0
  95. data/docs/ModelTypeRelationsPresenters.md +11 -0
  96. data/docs/ModelTypeRelationsPrograms.md +11 -0
  97. data/docs/ModelTypeResult.md +22 -0
  98. data/docs/ModelTypeResults.md +17 -0
  99. data/docs/NotFound.md +9 -0
  100. data/docs/PostSuccess.md +9 -0
  101. data/docs/Presenter.md +13 -0
  102. data/docs/PresenterApi.md +300 -0
  103. data/docs/PresenterDataInput.md +13 -0
  104. data/docs/PresenterOutputOnly.md +12 -0
  105. data/docs/PresenterRelations.md +10 -0
  106. data/docs/PresenterRelationsBroadcasts.md +11 -0
  107. data/docs/PresenterRelationsPrograms.md +11 -0
  108. data/docs/PresenterRelationsProgramsParams.md +8 -0
  109. data/docs/PresenterResult.md +21 -0
  110. data/docs/PresenterResults.md +17 -0
  111. data/docs/Program.md +20 -0
  112. data/docs/ProgramApi.md +308 -0
  113. data/docs/ProgramDataInput.md +22 -0
  114. data/docs/ProgramFieldValues.md +8 -0
  115. data/docs/ProgramInputOnly.md +9 -0
  116. data/docs/ProgramOutputOnly.md +12 -0
  117. data/docs/ProgramRelations.md +13 -0
  118. data/docs/ProgramRelationsBlocks.md +11 -0
  119. data/docs/ProgramRelationsBroadcasts.md +11 -0
  120. data/docs/ProgramRelationsItems.md +11 -0
  121. data/docs/ProgramRelationsItemsParams.md +8 -0
  122. data/docs/ProgramRelationsPresenters.md +11 -0
  123. data/docs/ProgramRelationsTags.md +11 -0
  124. data/docs/ProgramResult.md +31 -0
  125. data/docs/ProgramResults.md +17 -0
  126. data/docs/ReadOnly.md +9 -0
  127. data/docs/RelationsPlaceholder.md +11 -0
  128. data/docs/StringApi.md +66 -0
  129. data/docs/Success.md +8 -0
  130. data/docs/Tag.md +8 -0
  131. data/docs/TagApi.md +302 -0
  132. data/docs/TagDataInput.md +8 -0
  133. data/docs/TagOutputOnly.md +12 -0
  134. data/docs/TagRelations.md +11 -0
  135. data/docs/TagRelationsBroadcasts.md +11 -0
  136. data/docs/TagRelationsBroadcastsParams.md +8 -0
  137. data/docs/TagRelationsContacts.md +11 -0
  138. data/docs/TagRelationsItems.md +11 -0
  139. data/docs/TagRelationsPrograms.md +11 -0
  140. data/docs/TagResult.md +17 -0
  141. data/docs/TagResults.md +16 -0
  142. data/docs/TextString.md +12 -0
  143. data/docs/TooManyRequests.md +8 -0
  144. data/docs/UnprocessableEntity.md +8 -0
  145. data/docs/UserApi.md +231 -0
  146. data/docs/UserResult.md +19 -0
  147. data/docs/UserResultSettings.md +13 -0
  148. data/docs/UserResults.md +17 -0
  149. data/docs/VisualResult.md +8 -0
  150. data/docs/VisualSlideApi.md +106 -0
  151. data/git_push.sh +55 -0
  152. data/lib/radiomanager_client.rb +185 -0
  153. data/lib/radiomanager_client/api/block_api.rb +257 -0
  154. data/lib/radiomanager_client/api/broadcast_api.rb +668 -0
  155. data/lib/radiomanager_client/api/campaign_api.rb +331 -0
  156. data/lib/radiomanager_client/api/contact_api.rb +328 -0
  157. data/lib/radiomanager_client/api/external_message_api.rb +78 -0
  158. data/lib/radiomanager_client/api/genre_api.rb +153 -0
  159. data/lib/radiomanager_client/api/item_api.rb +576 -0
  160. data/lib/radiomanager_client/api/model_type_api.rb +168 -0
  161. data/lib/radiomanager_client/api/presenter_api.rb +328 -0
  162. data/lib/radiomanager_client/api/program_api.rb +340 -0
  163. data/lib/radiomanager_client/api/string_api.rb +85 -0
  164. data/lib/radiomanager_client/api/tag_api.rb +331 -0
  165. data/lib/radiomanager_client/api/user_api.rb +255 -0
  166. data/lib/radiomanager_client/api/visual_slide_api.rb +121 -0
  167. data/lib/radiomanager_client/api_client.rb +389 -0
  168. data/lib/radiomanager_client/api_error.rb +38 -0
  169. data/lib/radiomanager_client/configuration.rb +209 -0
  170. data/lib/radiomanager_client/models/block.rb +293 -0
  171. data/lib/radiomanager_client/models/block_relations.rb +206 -0
  172. data/lib/radiomanager_client/models/block_relations_broadcast.rb +215 -0
  173. data/lib/radiomanager_client/models/block_relations_broadcast_params.rb +188 -0
  174. data/lib/radiomanager_client/models/block_relations_items.rb +215 -0
  175. data/lib/radiomanager_client/models/block_relations_items_params.rb +188 -0
  176. data/lib/radiomanager_client/models/block_relations_program.rb +215 -0
  177. data/lib/radiomanager_client/models/block_result.rb +320 -0
  178. data/lib/radiomanager_client/models/block_results.rb +271 -0
  179. data/lib/radiomanager_client/models/broadcast.rb +428 -0
  180. data/lib/radiomanager_client/models/broadcast_data_input.rb +450 -0
  181. data/lib/radiomanager_client/models/broadcast_field_values.rb +188 -0
  182. data/lib/radiomanager_client/models/broadcast_input_only.rb +201 -0
  183. data/lib/radiomanager_client/models/broadcast_output_only.rb +244 -0
  184. data/lib/radiomanager_client/models/broadcast_relations.rb +233 -0
  185. data/lib/radiomanager_client/models/broadcast_relations_blocks.rb +215 -0
  186. data/lib/radiomanager_client/models/broadcast_relations_items.rb +215 -0
  187. data/lib/radiomanager_client/models/broadcast_relations_items_params.rb +188 -0
  188. data/lib/radiomanager_client/models/broadcast_relations_model_type.rb +215 -0
  189. data/lib/radiomanager_client/models/broadcast_relations_presenters.rb +215 -0
  190. data/lib/radiomanager_client/models/broadcast_relations_tags.rb +215 -0
  191. data/lib/radiomanager_client/models/broadcast_result.rb +547 -0
  192. data/lib/radiomanager_client/models/broadcast_results.rb +271 -0
  193. data/lib/radiomanager_client/models/campaign.rb +259 -0
  194. data/lib/radiomanager_client/models/campaign_data_input.rb +259 -0
  195. data/lib/radiomanager_client/models/campaign_output_only.rb +255 -0
  196. data/lib/radiomanager_client/models/campaign_relations.rb +197 -0
  197. data/lib/radiomanager_client/models/campaign_relations_items.rb +215 -0
  198. data/lib/radiomanager_client/models/campaign_relations_items_params.rb +188 -0
  199. data/lib/radiomanager_client/models/campaign_result.rb +353 -0
  200. data/lib/radiomanager_client/models/campaign_results.rb +271 -0
  201. data/lib/radiomanager_client/models/contact.rb +248 -0
  202. data/lib/radiomanager_client/models/contact_data_input.rb +248 -0
  203. data/lib/radiomanager_client/models/contact_field_values.rb +188 -0
  204. data/lib/radiomanager_client/models/contact_output_only.rb +224 -0
  205. data/lib/radiomanager_client/models/contact_relations.rb +206 -0
  206. data/lib/radiomanager_client/models/contact_relations_items.rb +215 -0
  207. data/lib/radiomanager_client/models/contact_relations_tags.rb +215 -0
  208. data/lib/radiomanager_client/models/contact_relations_tags_params.rb +188 -0
  209. data/lib/radiomanager_client/models/contact_result.rb +320 -0
  210. data/lib/radiomanager_client/models/contact_results.rb +271 -0
  211. data/lib/radiomanager_client/models/data.rb +199 -0
  212. data/lib/radiomanager_client/models/data_1.rb +199 -0
  213. data/lib/radiomanager_client/models/epg_broadcast.rb +227 -0
  214. data/lib/radiomanager_client/models/external_message_queue_data.rb +333 -0
  215. data/lib/radiomanager_client/models/forbidden.rb +209 -0
  216. data/lib/radiomanager_client/models/genre.rb +225 -0
  217. data/lib/radiomanager_client/models/genre_output_only.rb +188 -0
  218. data/lib/radiomanager_client/models/genre_relations.rb +197 -0
  219. data/lib/radiomanager_client/models/genre_relations_broadcasts.rb +215 -0
  220. data/lib/radiomanager_client/models/genre_relations_broadcasts_params.rb +188 -0
  221. data/lib/radiomanager_client/models/genre_relations_programs.rb +215 -0
  222. data/lib/radiomanager_client/models/genre_result.rb +252 -0
  223. data/lib/radiomanager_client/models/genre_results.rb +271 -0
  224. data/lib/radiomanager_client/models/import_item.rb +292 -0
  225. data/lib/radiomanager_client/models/import_item_field_values.rb +188 -0
  226. data/lib/radiomanager_client/models/inline_response_202.rb +188 -0
  227. data/lib/radiomanager_client/models/internal_server_error.rb +209 -0
  228. data/lib/radiomanager_client/models/invite_user_data.rb +207 -0
  229. data/lib/radiomanager_client/models/invite_user_success.rb +188 -0
  230. data/lib/radiomanager_client/models/item.rb +366 -0
  231. data/lib/radiomanager_client/models/item_data_input.rb +397 -0
  232. data/lib/radiomanager_client/models/item_input_only.rb +210 -0
  233. data/lib/radiomanager_client/models/item_output_only.rb +260 -0
  234. data/lib/radiomanager_client/models/item_relations.rb +242 -0
  235. data/lib/radiomanager_client/models/item_relations_block.rb +215 -0
  236. data/lib/radiomanager_client/models/item_relations_campaign.rb +215 -0
  237. data/lib/radiomanager_client/models/item_relations_contacts.rb +215 -0
  238. data/lib/radiomanager_client/models/item_relations_contacts_params.rb +188 -0
  239. data/lib/radiomanager_client/models/item_relations_program.rb +215 -0
  240. data/lib/radiomanager_client/models/item_relations_tags.rb +215 -0
  241. data/lib/radiomanager_client/models/item_result.rb +510 -0
  242. data/lib/radiomanager_client/models/item_results.rb +262 -0
  243. data/lib/radiomanager_client/models/model_type.rb +289 -0
  244. data/lib/radiomanager_client/models/model_type_options.rb +188 -0
  245. data/lib/radiomanager_client/models/model_type_output_only.rb +188 -0
  246. data/lib/radiomanager_client/models/model_type_relations.rb +233 -0
  247. data/lib/radiomanager_client/models/model_type_relations_broadcasts.rb +215 -0
  248. data/lib/radiomanager_client/models/model_type_relations_campaigns.rb +215 -0
  249. data/lib/radiomanager_client/models/model_type_relations_campaigns_params.rb +188 -0
  250. data/lib/radiomanager_client/models/model_type_relations_contacts.rb +215 -0
  251. data/lib/radiomanager_client/models/model_type_relations_items.rb +215 -0
  252. data/lib/radiomanager_client/models/model_type_relations_presenters.rb +215 -0
  253. data/lib/radiomanager_client/models/model_type_relations_programs.rb +215 -0
  254. data/lib/radiomanager_client/models/model_type_result.rb +352 -0
  255. data/lib/radiomanager_client/models/model_type_results.rb +271 -0
  256. data/lib/radiomanager_client/models/not_found.rb +209 -0
  257. data/lib/radiomanager_client/models/post_success.rb +204 -0
  258. data/lib/radiomanager_client/models/presenter.rb +240 -0
  259. data/lib/radiomanager_client/models/presenter_data_input.rb +240 -0
  260. data/lib/radiomanager_client/models/presenter_output_only.rb +244 -0
  261. data/lib/radiomanager_client/models/presenter_relations.rb +206 -0
  262. data/lib/radiomanager_client/models/presenter_relations_broadcasts.rb +215 -0
  263. data/lib/radiomanager_client/models/presenter_relations_programs.rb +215 -0
  264. data/lib/radiomanager_client/models/presenter_relations_programs_params.rb +188 -0
  265. data/lib/radiomanager_client/models/presenter_result.rb +332 -0
  266. data/lib/radiomanager_client/models/presenter_results.rb +271 -0
  267. data/lib/radiomanager_client/models/program.rb +306 -0
  268. data/lib/radiomanager_client/models/program_data_input.rb +328 -0
  269. data/lib/radiomanager_client/models/program_field_values.rb +188 -0
  270. data/lib/radiomanager_client/models/program_input_only.rb +201 -0
  271. data/lib/radiomanager_client/models/program_output_only.rb +244 -0
  272. data/lib/radiomanager_client/models/program_relations.rb +233 -0
  273. data/lib/radiomanager_client/models/program_relations_blocks.rb +215 -0
  274. data/lib/radiomanager_client/models/program_relations_broadcasts.rb +215 -0
  275. data/lib/radiomanager_client/models/program_relations_items.rb +215 -0
  276. data/lib/radiomanager_client/models/program_relations_items_params.rb +188 -0
  277. data/lib/radiomanager_client/models/program_relations_presenters.rb +215 -0
  278. data/lib/radiomanager_client/models/program_relations_tags.rb +215 -0
  279. data/lib/radiomanager_client/models/program_result.rb +425 -0
  280. data/lib/radiomanager_client/models/program_results.rb +271 -0
  281. data/lib/radiomanager_client/models/read_only.rb +209 -0
  282. data/lib/radiomanager_client/models/relations_placeholder.rb +239 -0
  283. data/lib/radiomanager_client/models/success.rb +194 -0
  284. data/lib/radiomanager_client/models/tag.rb +193 -0
  285. data/lib/radiomanager_client/models/tag_data_input.rb +193 -0
  286. data/lib/radiomanager_client/models/tag_output_only.rb +229 -0
  287. data/lib/radiomanager_client/models/tag_relations.rb +215 -0
  288. data/lib/radiomanager_client/models/tag_relations_broadcasts.rb +215 -0
  289. data/lib/radiomanager_client/models/tag_relations_broadcasts_params.rb +188 -0
  290. data/lib/radiomanager_client/models/tag_relations_contacts.rb +215 -0
  291. data/lib/radiomanager_client/models/tag_relations_items.rb +215 -0
  292. data/lib/radiomanager_client/models/tag_relations_programs.rb +215 -0
  293. data/lib/radiomanager_client/models/tag_result.rb +279 -0
  294. data/lib/radiomanager_client/models/tag_results.rb +262 -0
  295. data/lib/radiomanager_client/models/text_string.rb +239 -0
  296. data/lib/radiomanager_client/models/too_many_requests.rb +193 -0
  297. data/lib/radiomanager_client/models/unprocessable_entity.rb +196 -0
  298. data/lib/radiomanager_client/models/user_result.rb +307 -0
  299. data/lib/radiomanager_client/models/user_result_settings.rb +233 -0
  300. data/lib/radiomanager_client/models/user_results.rb +271 -0
  301. data/lib/radiomanager_client/models/visual_result.rb +188 -0
  302. data/lib/radiomanager_client/version.rb +15 -0
  303. data/radiomanager_client-1.0.0.gem +0 -0
  304. data/radiomanager_client.gemspec +46 -0
  305. data/spec/api/block_api_spec.rb +88 -0
  306. data/spec/api/broadcast_api_spec.rb +180 -0
  307. data/spec/api/campaign_api_spec.rb +102 -0
  308. data/spec/api/contact_api_spec.rb +101 -0
  309. data/spec/api/external_message_api_spec.rb +47 -0
  310. data/spec/api/genre_api_spec.rb +64 -0
  311. data/spec/api/item_api_spec.rb +163 -0
  312. data/spec/api/model_type_api_spec.rb +68 -0
  313. data/spec/api/presenter_api_spec.rb +101 -0
  314. data/spec/api/program_api_spec.rb +105 -0
  315. data/spec/api/string_api_spec.rb +48 -0
  316. data/spec/api/tag_api_spec.rb +102 -0
  317. data/spec/api/user_api_spec.rb +84 -0
  318. data/spec/api/visual_slide_api_spec.rb +57 -0
  319. data/spec/api_client_spec.rb +226 -0
  320. data/spec/configuration_spec.rb +42 -0
  321. data/spec/models/block_relations_broadcast_params_spec.rb +42 -0
  322. data/spec/models/block_relations_broadcast_spec.rb +60 -0
  323. data/spec/models/block_relations_items_params_spec.rb +42 -0
  324. data/spec/models/block_relations_items_spec.rb +60 -0
  325. data/spec/models/block_relations_program_spec.rb +60 -0
  326. data/spec/models/block_relations_spec.rb +54 -0
  327. data/spec/models/block_result_spec.rb +102 -0
  328. data/spec/models/block_results_spec.rb +96 -0
  329. data/spec/models/block_spec.rb +84 -0
  330. data/spec/models/broadcast_data_input_spec.rb +184 -0
  331. data/spec/models/broadcast_field_values_spec.rb +42 -0
  332. data/spec/models/broadcast_input_only_spec.rb +48 -0
  333. data/spec/models/broadcast_output_only_spec.rb +66 -0
  334. data/spec/models/broadcast_relations_blocks_spec.rb +60 -0
  335. data/spec/models/broadcast_relations_items_params_spec.rb +42 -0
  336. data/spec/models/broadcast_relations_items_spec.rb +60 -0
  337. data/spec/models/broadcast_relations_model_type_spec.rb +60 -0
  338. data/spec/models/broadcast_relations_presenters_spec.rb +60 -0
  339. data/spec/models/broadcast_relations_spec.rb +72 -0
  340. data/spec/models/broadcast_relations_tags_spec.rb +60 -0
  341. data/spec/models/broadcast_result_spec.rb +238 -0
  342. data/spec/models/broadcast_results_spec.rb +96 -0
  343. data/spec/models/broadcast_spec.rb +172 -0
  344. data/spec/models/campaign_data_input_spec.rb +78 -0
  345. data/spec/models/campaign_output_only_spec.rb +72 -0
  346. data/spec/models/campaign_relations_items_params_spec.rb +42 -0
  347. data/spec/models/campaign_relations_items_spec.rb +60 -0
  348. data/spec/models/campaign_relations_spec.rb +48 -0
  349. data/spec/models/campaign_result_spec.rb +126 -0
  350. data/spec/models/campaign_results_spec.rb +96 -0
  351. data/spec/models/campaign_spec.rb +78 -0
  352. data/spec/models/contact_data_input_spec.rb +72 -0
  353. data/spec/models/contact_field_values_spec.rb +42 -0
  354. data/spec/models/contact_output_only_spec.rb +66 -0
  355. data/spec/models/contact_relations_items_spec.rb +60 -0
  356. data/spec/models/contact_relations_spec.rb +54 -0
  357. data/spec/models/contact_relations_tags_params_spec.rb +42 -0
  358. data/spec/models/contact_relations_tags_spec.rb +60 -0
  359. data/spec/models/contact_result_spec.rb +120 -0
  360. data/spec/models/contact_results_spec.rb +96 -0
  361. data/spec/models/contact_spec.rb +72 -0
  362. data/spec/models/data_1_spec.rb +48 -0
  363. data/spec/models/data_spec.rb +48 -0
  364. data/spec/models/epg_broadcast_spec.rb +54 -0
  365. data/spec/models/external_message_queue_data_spec.rb +78 -0
  366. data/spec/models/forbidden_spec.rb +48 -0
  367. data/spec/models/genre_output_only_spec.rb +42 -0
  368. data/spec/models/genre_relations_broadcasts_params_spec.rb +42 -0
  369. data/spec/models/genre_relations_broadcasts_spec.rb +60 -0
  370. data/spec/models/genre_relations_programs_spec.rb +60 -0
  371. data/spec/models/genre_relations_spec.rb +48 -0
  372. data/spec/models/genre_result_spec.rb +78 -0
  373. data/spec/models/genre_results_spec.rb +96 -0
  374. data/spec/models/genre_spec.rb +60 -0
  375. data/spec/models/import_item_field_values_spec.rb +42 -0
  376. data/spec/models/import_item_spec.rb +102 -0
  377. data/spec/models/inline_response_202_spec.rb +42 -0
  378. data/spec/models/internal_server_error_spec.rb +48 -0
  379. data/spec/models/invite_user_data_spec.rb +48 -0
  380. data/spec/models/invite_user_success_spec.rb +42 -0
  381. data/spec/models/item_data_input_spec.rb +154 -0
  382. data/spec/models/item_input_only_spec.rb +54 -0
  383. data/spec/models/item_output_only_spec.rb +90 -0
  384. data/spec/models/item_relations_block_spec.rb +60 -0
  385. data/spec/models/item_relations_campaign_spec.rb +60 -0
  386. data/spec/models/item_relations_contacts_params_spec.rb +42 -0
  387. data/spec/models/item_relations_contacts_spec.rb +60 -0
  388. data/spec/models/item_relations_program_spec.rb +60 -0
  389. data/spec/models/item_relations_spec.rb +78 -0
  390. data/spec/models/item_relations_tags_spec.rb +60 -0
  391. data/spec/models/item_result_spec.rb +232 -0
  392. data/spec/models/item_results_spec.rb +90 -0
  393. data/spec/models/item_spec.rb +136 -0
  394. data/spec/models/model_type_options_spec.rb +42 -0
  395. data/spec/models/model_type_output_only_spec.rb +42 -0
  396. data/spec/models/model_type_relations_broadcasts_spec.rb +60 -0
  397. data/spec/models/model_type_relations_campaigns_params_spec.rb +42 -0
  398. data/spec/models/model_type_relations_campaigns_spec.rb +60 -0
  399. data/spec/models/model_type_relations_contacts_spec.rb +60 -0
  400. data/spec/models/model_type_relations_items_spec.rb +60 -0
  401. data/spec/models/model_type_relations_presenters_spec.rb +60 -0
  402. data/spec/models/model_type_relations_programs_spec.rb +60 -0
  403. data/spec/models/model_type_relations_spec.rb +72 -0
  404. data/spec/models/model_type_result_spec.rb +130 -0
  405. data/spec/models/model_type_results_spec.rb +96 -0
  406. data/spec/models/model_type_spec.rb +88 -0
  407. data/spec/models/not_found_spec.rb +48 -0
  408. data/spec/models/post_success_spec.rb +48 -0
  409. data/spec/models/presenter_data_input_spec.rb +72 -0
  410. data/spec/models/presenter_output_only_spec.rb +66 -0
  411. data/spec/models/presenter_relations_broadcasts_spec.rb +60 -0
  412. data/spec/models/presenter_relations_programs_params_spec.rb +42 -0
  413. data/spec/models/presenter_relations_programs_spec.rb +60 -0
  414. data/spec/models/presenter_relations_spec.rb +54 -0
  415. data/spec/models/presenter_result_spec.rb +120 -0
  416. data/spec/models/presenter_results_spec.rb +96 -0
  417. data/spec/models/presenter_spec.rb +72 -0
  418. data/spec/models/program_data_input_spec.rb +126 -0
  419. data/spec/models/program_field_values_spec.rb +42 -0
  420. data/spec/models/program_input_only_spec.rb +48 -0
  421. data/spec/models/program_output_only_spec.rb +66 -0
  422. data/spec/models/program_relations_blocks_spec.rb +60 -0
  423. data/spec/models/program_relations_broadcasts_spec.rb +60 -0
  424. data/spec/models/program_relations_items_params_spec.rb +42 -0
  425. data/spec/models/program_relations_items_spec.rb +60 -0
  426. data/spec/models/program_relations_presenters_spec.rb +60 -0
  427. data/spec/models/program_relations_spec.rb +72 -0
  428. data/spec/models/program_relations_tags_spec.rb +60 -0
  429. data/spec/models/program_result_spec.rb +180 -0
  430. data/spec/models/program_results_spec.rb +96 -0
  431. data/spec/models/program_spec.rb +114 -0
  432. data/spec/models/read_only_spec.rb +48 -0
  433. data/spec/models/relations_placeholder_spec.rb +60 -0
  434. data/spec/models/success_spec.rb +42 -0
  435. data/spec/models/tag_data_input_spec.rb +42 -0
  436. data/spec/models/tag_output_only_spec.rb +66 -0
  437. data/spec/models/tag_relations_broadcasts_params_spec.rb +42 -0
  438. data/spec/models/tag_relations_broadcasts_spec.rb +60 -0
  439. data/spec/models/tag_relations_contacts_spec.rb +60 -0
  440. data/spec/models/tag_relations_items_spec.rb +60 -0
  441. data/spec/models/tag_relations_programs_spec.rb +60 -0
  442. data/spec/models/tag_relations_spec.rb +60 -0
  443. data/spec/models/tag_result_spec.rb +96 -0
  444. data/spec/models/tag_results_spec.rb +90 -0
  445. data/spec/models/tag_spec.rb +42 -0
  446. data/spec/models/text_string_spec.rb +66 -0
  447. data/spec/models/too_many_requests_spec.rb +42 -0
  448. data/spec/models/unprocessable_entity_spec.rb +42 -0
  449. data/spec/models/user_result_settings_spec.rb +72 -0
  450. data/spec/models/user_result_spec.rb +108 -0
  451. data/spec/models/user_results_spec.rb +96 -0
  452. data/spec/models/visual_result_spec.rb +42 -0
  453. data/spec/spec_helper.rb +111 -0
  454. metadata +825 -0
@@ -0,0 +1,10 @@
1
+ # RadioManagerClient::BlockRelations
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **items** | [**BlockRelationsItems**](BlockRelationsItems.md) | | [optional]
7
+ **broadcast** | [**BlockRelationsBroadcast**](BlockRelationsBroadcast.md) | | [optional]
8
+ **program** | [**BlockRelationsProgram**](BlockRelationsProgram.md) | | [optional]
9
+
10
+
@@ -0,0 +1,11 @@
1
+ # RadioManagerClient::BlockRelationsBroadcast
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **href** | **String** | | [optional]
7
+ **model** | **String** | | [optional]
8
+ **operation** | **String** | | [optional]
9
+ **params** | [**BlockRelationsBroadcastParams**](BlockRelationsBroadcastParams.md) | | [optional]
10
+
11
+
@@ -0,0 +1,8 @@
1
+ # RadioManagerClient::BlockRelationsBroadcastParams
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | | [optional]
7
+
8
+
@@ -0,0 +1,11 @@
1
+ # RadioManagerClient::BlockRelationsItems
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **href** | **String** | | [optional]
7
+ **model** | **String** | | [optional]
8
+ **operation** | **String** | | [optional]
9
+ **params** | [**BlockRelationsItemsParams**](BlockRelationsItemsParams.md) | | [optional]
10
+
11
+
@@ -0,0 +1,8 @@
1
+ # RadioManagerClient::BlockRelationsItemsParams
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **block_id** | **Integer** | | [optional]
7
+
8
+
@@ -0,0 +1,11 @@
1
+ # RadioManagerClient::BlockRelationsProgram
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **href** | **String** | | [optional]
7
+ **model** | **String** | | [optional]
8
+ **operation** | **String** | | [optional]
9
+ **params** | [**BlockRelationsBroadcastParams**](BlockRelationsBroadcastParams.md) | | [optional]
10
+
11
+
@@ -0,0 +1,18 @@
1
+ # RadioManagerClient::BlockResult
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | ID of the current Block. |
7
+ **broadcast_id** | **Integer** | Currently assigned Broadcast connected to the current Block, identified by the Broadcast ID. |
8
+ **start** | **DateTime** | Start of the Block (formatted as a DateTime object), saved with an TimeZone. |
9
+ **stop** | **DateTime** | End of the Block (formatted as a DateTime object), saved with an TimeZone. |
10
+ **created_at** | **DateTime** | Time of the creation of the Block (formatted as a DateTime object), saved with an TimeZone. |
11
+ **updated_at** | **DateTime** | Time of the last update of the Block (formatted as a DateTime object), saved with an TimeZone. |
12
+ **deleted_at** | **DateTime** | Moment when the Block got deleted (formatted as a DateTime object), saved with an TimeZone. |
13
+ **_external_station_id** | **Integer** | | [optional]
14
+ **items** | [**BlockRelationsItems**](BlockRelationsItems.md) | | [optional]
15
+ **broadcast** | [**BlockRelationsBroadcast**](BlockRelationsBroadcast.md) | | [optional]
16
+ **program** | [**BlockRelationsProgram**](BlockRelationsProgram.md) | | [optional]
17
+
18
+
@@ -0,0 +1,17 @@
1
+ # RadioManagerClient::BlockResults
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **current_page** | **Integer** | | [optional]
7
+ **from** | **Integer** | | [optional]
8
+ **last_page** | **Integer** | | [optional]
9
+ **next_page_url** | **String** | | [optional]
10
+ **path** | **String** | | [optional]
11
+ **per_page** | **Integer** | | [optional]
12
+ **prev_page_url** | **String** | | [optional]
13
+ **to** | **Integer** | | [optional]
14
+ **total** | **Integer** | | [optional]
15
+ **results** | [**Array<BlockResult>**](BlockResult.md) | | [optional]
16
+
17
+
data/docs/Broadcast.md ADDED
@@ -0,0 +1,29 @@
1
+ # RadioManagerClient::Broadcast
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **program_id** | **Integer** | | [optional]
7
+ **model_type_id** | **Integer** | | [optional]
8
+ **station_id** | **Integer** | | [optional]
9
+ **field_values** | [**BroadcastFieldValues**](BroadcastFieldValues.md) | | [optional]
10
+ **title** | **String** | | [optional]
11
+ **start** | **DateTime** | | [optional]
12
+ **stop** | **DateTime** | | [optional]
13
+ **genre_id** | **Integer** | | [optional]
14
+ **description** | **String** | | [optional]
15
+ **short_name** | **String** | | [optional]
16
+ **medium_name** | **String** | | [optional]
17
+ **website** | **String** | | [optional]
18
+ **email** | **String** | | [optional]
19
+ **recommended** | **BOOLEAN** | | [optional]
20
+ **language** | **String** | | [optional]
21
+ **published** | **BOOLEAN** | | [optional]
22
+ **repetition_uid** | **String** | | [optional]
23
+ **repetition_type** | **String** | | [optional]
24
+ **repetition_end** | **DateTime** | | [optional]
25
+ **repetition_start** | **DateTime** | | [optional]
26
+ **repetition_days** | **Array<BOOLEAN>** | | [optional]
27
+ **pty_code_id** | **Integer** | | [optional]
28
+
29
+
@@ -0,0 +1,641 @@
1
+ # RadioManagerClient::BroadcastApi
2
+
3
+ All URIs are relative to *http://radiomanager.pb/api/v2*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_broadcast**](BroadcastApi.md#create_broadcast) | **POST** /broadcasts | Create broadcast.
8
+ [**delete_broadcast_by_id**](BroadcastApi.md#delete_broadcast_by_id) | **DELETE** /broadcasts/{id} | Delete broadcast by id
9
+ [**get_broadcast_by_id**](BroadcastApi.md#get_broadcast_by_id) | **GET** /broadcasts/{id} | Get broadcast by id
10
+ [**get_current_broadcast**](BroadcastApi.md#get_current_broadcast) | **GET** /broadcasts/current | Get current Broadcast
11
+ [**get_daily_epg**](BroadcastApi.md#get_daily_epg) | **GET** /broadcasts/epg/daily | Get daily EPG
12
+ [**get_epg_by_date**](BroadcastApi.md#get_epg_by_date) | **GET** /broadcasts/epg | Get EPG by date
13
+ [**get_next_broadcast**](BroadcastApi.md#get_next_broadcast) | **GET** /broadcasts/next | Get next Broadcast
14
+ [**get_weekly_epg**](BroadcastApi.md#get_weekly_epg) | **GET** /broadcasts/epg/weekly | Get weekly EPG
15
+ [**list_broadcasts**](BroadcastApi.md#list_broadcasts) | **GET** /broadcasts | Get all broadcasts.
16
+ [**print_broadcast_by_id**](BroadcastApi.md#print_broadcast_by_id) | **GET** /broadcasts/print/{id} | Print Broadcast by id
17
+ [**update_broadcast_by_id**](BroadcastApi.md#update_broadcast_by_id) | **PATCH** /broadcasts/{id} | Update broadcast by id
18
+
19
+
20
+ # **create_broadcast**
21
+ > PostSuccess create_broadcast(data)
22
+
23
+ Create broadcast.
24
+
25
+ Create broadcast.
26
+
27
+ ### Example
28
+ ```ruby
29
+ # load the gem
30
+ require 'radiomanager_client'
31
+ # setup authorization
32
+ RadioManagerClient.configure do |config|
33
+ # Configure API key authorization: API Key
34
+ config.api_key['api-key'] = 'YOUR API KEY'
35
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
36
+ #config.api_key_prefix['api-key'] = 'Bearer'
37
+ end
38
+
39
+ api_instance = RadioManagerClient::BroadcastApi.new
40
+
41
+ data = RadioManagerClient::BroadcastDataInput.new # BroadcastDataInput | Data **(Required)**
42
+
43
+
44
+ begin
45
+ #Create broadcast.
46
+ result = api_instance.create_broadcast(data)
47
+ p result
48
+ rescue RadioManagerClient::ApiError => e
49
+ puts "Exception when calling BroadcastApi->create_broadcast: #{e}"
50
+ end
51
+ ```
52
+
53
+ ### Parameters
54
+
55
+ Name | Type | Description | Notes
56
+ ------------- | ------------- | ------------- | -------------
57
+ **data** | [**BroadcastDataInput**](BroadcastDataInput.md)| Data **(Required)** |
58
+
59
+ ### Return type
60
+
61
+ [**PostSuccess**](PostSuccess.md)
62
+
63
+ ### Authorization
64
+
65
+ [API Key](../README.md#API Key)
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: application/json
70
+ - **Accept**: application/json
71
+
72
+
73
+
74
+ # **delete_broadcast_by_id**
75
+ > Success delete_broadcast_by_id(id)
76
+
77
+ Delete broadcast by id
78
+
79
+ Delete broadcast by id
80
+
81
+ ### Example
82
+ ```ruby
83
+ # load the gem
84
+ require 'radiomanager_client'
85
+ # setup authorization
86
+ RadioManagerClient.configure do |config|
87
+ # Configure API key authorization: API Key
88
+ config.api_key['api-key'] = 'YOUR API KEY'
89
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
90
+ #config.api_key_prefix['api-key'] = 'Bearer'
91
+ end
92
+
93
+ api_instance = RadioManagerClient::BroadcastApi.new
94
+
95
+ id = 789 # Integer | ID of Broadcast **(Required)**
96
+
97
+
98
+ begin
99
+ #Delete broadcast by id
100
+ result = api_instance.delete_broadcast_by_id(id)
101
+ p result
102
+ rescue RadioManagerClient::ApiError => e
103
+ puts "Exception when calling BroadcastApi->delete_broadcast_by_id: #{e}"
104
+ end
105
+ ```
106
+
107
+ ### Parameters
108
+
109
+ Name | Type | Description | Notes
110
+ ------------- | ------------- | ------------- | -------------
111
+ **id** | **Integer**| ID of Broadcast **(Required)** |
112
+
113
+ ### Return type
114
+
115
+ [**Success**](Success.md)
116
+
117
+ ### Authorization
118
+
119
+ [API Key](../README.md#API Key)
120
+
121
+ ### HTTP request headers
122
+
123
+ - **Content-Type**: application/json
124
+ - **Accept**: application/json
125
+
126
+
127
+
128
+ # **get_broadcast_by_id**
129
+ > BroadcastResult get_broadcast_by_id(id, opts)
130
+
131
+ Get broadcast by id
132
+
133
+ Get broadcast by id
134
+
135
+ ### Example
136
+ ```ruby
137
+ # load the gem
138
+ require 'radiomanager_client'
139
+ # setup authorization
140
+ RadioManagerClient.configure do |config|
141
+ # Configure API key authorization: API Key
142
+ config.api_key['api-key'] = 'YOUR API KEY'
143
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
144
+ #config.api_key_prefix['api-key'] = 'Bearer'
145
+ end
146
+
147
+ api_instance = RadioManagerClient::BroadcastApi.new
148
+
149
+ id = 789 # Integer | ID of Broadcast **(Required)**
150
+
151
+ opts = {
152
+ _external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
153
+ }
154
+
155
+ begin
156
+ #Get broadcast by id
157
+ result = api_instance.get_broadcast_by_id(id, opts)
158
+ p result
159
+ rescue RadioManagerClient::ApiError => e
160
+ puts "Exception when calling BroadcastApi->get_broadcast_by_id: #{e}"
161
+ end
162
+ ```
163
+
164
+ ### Parameters
165
+
166
+ Name | Type | Description | Notes
167
+ ------------- | ------------- | ------------- | -------------
168
+ **id** | **Integer**| ID of Broadcast **(Required)** |
169
+ **_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
170
+
171
+ ### Return type
172
+
173
+ [**BroadcastResult**](BroadcastResult.md)
174
+
175
+ ### Authorization
176
+
177
+ [API Key](../README.md#API Key)
178
+
179
+ ### HTTP request headers
180
+
181
+ - **Content-Type**: application/json
182
+ - **Accept**: application/json
183
+
184
+
185
+
186
+ # **get_current_broadcast**
187
+ > Broadcast get_current_broadcast
188
+
189
+ Get current Broadcast
190
+
191
+ Get current Broadcast
192
+
193
+ ### Example
194
+ ```ruby
195
+ # load the gem
196
+ require 'radiomanager_client'
197
+ # setup authorization
198
+ RadioManagerClient.configure do |config|
199
+ # Configure API key authorization: API Key
200
+ config.api_key['api-key'] = 'YOUR API KEY'
201
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
202
+ #config.api_key_prefix['api-key'] = 'Bearer'
203
+ end
204
+
205
+ api_instance = RadioManagerClient::BroadcastApi.new
206
+
207
+ begin
208
+ #Get current Broadcast
209
+ result = api_instance.get_current_broadcast
210
+ p result
211
+ rescue RadioManagerClient::ApiError => e
212
+ puts "Exception when calling BroadcastApi->get_current_broadcast: #{e}"
213
+ end
214
+ ```
215
+
216
+ ### Parameters
217
+ This endpoint does not need any parameter.
218
+
219
+ ### Return type
220
+
221
+ [**Broadcast**](Broadcast.md)
222
+
223
+ ### Authorization
224
+
225
+ [API Key](../README.md#API Key)
226
+
227
+ ### HTTP request headers
228
+
229
+ - **Content-Type**: application/json
230
+ - **Accept**: application/json
231
+
232
+
233
+
234
+ # **get_daily_epg**
235
+ > EPGBroadcast get_daily_epg(opts)
236
+
237
+ Get daily EPG
238
+
239
+ Get current Broadcast
240
+
241
+ ### Example
242
+ ```ruby
243
+ # load the gem
244
+ require 'radiomanager_client'
245
+ # setup authorization
246
+ RadioManagerClient.configure do |config|
247
+ # Configure API key authorization: API Key
248
+ config.api_key['api-key'] = 'YOUR API KEY'
249
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
250
+ #config.api_key_prefix['api-key'] = 'Bearer'
251
+ end
252
+
253
+ api_instance = RadioManagerClient::BroadcastApi.new
254
+
255
+ opts = {
256
+ date: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Date *(Optional)*
257
+ }
258
+
259
+ begin
260
+ #Get daily EPG
261
+ result = api_instance.get_daily_epg(opts)
262
+ p result
263
+ rescue RadioManagerClient::ApiError => e
264
+ puts "Exception when calling BroadcastApi->get_daily_epg: #{e}"
265
+ end
266
+ ```
267
+
268
+ ### Parameters
269
+
270
+ Name | Type | Description | Notes
271
+ ------------- | ------------- | ------------- | -------------
272
+ **date** | **DateTime**| Date *(Optional)* | [optional]
273
+
274
+ ### Return type
275
+
276
+ [**EPGBroadcast**](EPGBroadcast.md)
277
+
278
+ ### Authorization
279
+
280
+ [API Key](../README.md#API Key)
281
+
282
+ ### HTTP request headers
283
+
284
+ - **Content-Type**: application/json
285
+ - **Accept**: application/json
286
+
287
+
288
+
289
+ # **get_epg_by_date**
290
+ > EPGBroadcast get_epg_by_date(opts)
291
+
292
+ Get EPG by date
293
+
294
+ Get EPG by date
295
+
296
+ ### Example
297
+ ```ruby
298
+ # load the gem
299
+ require 'radiomanager_client'
300
+ # setup authorization
301
+ RadioManagerClient.configure do |config|
302
+ # Configure API key authorization: API Key
303
+ config.api_key['api-key'] = 'YOUR API KEY'
304
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
305
+ #config.api_key_prefix['api-key'] = 'Bearer'
306
+ end
307
+
308
+ api_instance = RadioManagerClient::BroadcastApi.new
309
+
310
+ opts = {
311
+ date: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Date *(Optional)*
312
+ }
313
+
314
+ begin
315
+ #Get EPG by date
316
+ result = api_instance.get_epg_by_date(opts)
317
+ p result
318
+ rescue RadioManagerClient::ApiError => e
319
+ puts "Exception when calling BroadcastApi->get_epg_by_date: #{e}"
320
+ end
321
+ ```
322
+
323
+ ### Parameters
324
+
325
+ Name | Type | Description | Notes
326
+ ------------- | ------------- | ------------- | -------------
327
+ **date** | **DateTime**| Date *(Optional)* | [optional]
328
+
329
+ ### Return type
330
+
331
+ [**EPGBroadcast**](EPGBroadcast.md)
332
+
333
+ ### Authorization
334
+
335
+ [API Key](../README.md#API Key)
336
+
337
+ ### HTTP request headers
338
+
339
+ - **Content-Type**: application/json
340
+ - **Accept**: application/json
341
+
342
+
343
+
344
+ # **get_next_broadcast**
345
+ > Broadcast get_next_broadcast
346
+
347
+ Get next Broadcast
348
+
349
+ Get next Broadcast
350
+
351
+ ### Example
352
+ ```ruby
353
+ # load the gem
354
+ require 'radiomanager_client'
355
+ # setup authorization
356
+ RadioManagerClient.configure do |config|
357
+ # Configure API key authorization: API Key
358
+ config.api_key['api-key'] = 'YOUR API KEY'
359
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
360
+ #config.api_key_prefix['api-key'] = 'Bearer'
361
+ end
362
+
363
+ api_instance = RadioManagerClient::BroadcastApi.new
364
+
365
+ begin
366
+ #Get next Broadcast
367
+ result = api_instance.get_next_broadcast
368
+ p result
369
+ rescue RadioManagerClient::ApiError => e
370
+ puts "Exception when calling BroadcastApi->get_next_broadcast: #{e}"
371
+ end
372
+ ```
373
+
374
+ ### Parameters
375
+ This endpoint does not need any parameter.
376
+
377
+ ### Return type
378
+
379
+ [**Broadcast**](Broadcast.md)
380
+
381
+ ### Authorization
382
+
383
+ [API Key](../README.md#API Key)
384
+
385
+ ### HTTP request headers
386
+
387
+ - **Content-Type**: application/json
388
+ - **Accept**: application/json
389
+
390
+
391
+
392
+ # **get_weekly_epg**
393
+ > EPGBroadcast get_weekly_epg(opts)
394
+
395
+ Get weekly EPG
396
+
397
+ Get weekly EPG
398
+
399
+ ### Example
400
+ ```ruby
401
+ # load the gem
402
+ require 'radiomanager_client'
403
+ # setup authorization
404
+ RadioManagerClient.configure do |config|
405
+ # Configure API key authorization: API Key
406
+ config.api_key['api-key'] = 'YOUR API KEY'
407
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
408
+ #config.api_key_prefix['api-key'] = 'Bearer'
409
+ end
410
+
411
+ api_instance = RadioManagerClient::BroadcastApi.new
412
+
413
+ opts = {
414
+ date: "date_example" # String | Date *(Optional)*
415
+ }
416
+
417
+ begin
418
+ #Get weekly EPG
419
+ result = api_instance.get_weekly_epg(opts)
420
+ p result
421
+ rescue RadioManagerClient::ApiError => e
422
+ puts "Exception when calling BroadcastApi->get_weekly_epg: #{e}"
423
+ end
424
+ ```
425
+
426
+ ### Parameters
427
+
428
+ Name | Type | Description | Notes
429
+ ------------- | ------------- | ------------- | -------------
430
+ **date** | **String**| Date *(Optional)* | [optional]
431
+
432
+ ### Return type
433
+
434
+ [**EPGBroadcast**](EPGBroadcast.md)
435
+
436
+ ### Authorization
437
+
438
+ [API Key](../README.md#API Key)
439
+
440
+ ### HTTP request headers
441
+
442
+ - **Content-Type**: application/json
443
+ - **Accept**: application/json
444
+
445
+
446
+
447
+ # **list_broadcasts**
448
+ > BroadcastResults list_broadcasts(opts)
449
+
450
+ Get all broadcasts.
451
+
452
+ List all broadcasts.
453
+
454
+ ### Example
455
+ ```ruby
456
+ # load the gem
457
+ require 'radiomanager_client'
458
+ # setup authorization
459
+ RadioManagerClient.configure do |config|
460
+ # Configure API key authorization: API Key
461
+ config.api_key['api-key'] = 'YOUR API KEY'
462
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
463
+ #config.api_key_prefix['api-key'] = 'Bearer'
464
+ end
465
+
466
+ api_instance = RadioManagerClient::BroadcastApi.new
467
+
468
+ opts = {
469
+ page: 1, # Integer | Current page *(Optional)*
470
+ start_min: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Minimum start date *(Optional)*
471
+ start_max: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Maximum start date *(Optional)*
472
+ model_type_id: 789, # Integer | Search on ModelType ID *(Optional)*
473
+ tag_id: 789, # Integer | Search on Tag ID *(Optional)* `(Relation)`
474
+ presenter_id: 789, # Integer | Search on Presenter ID *(Optional)* `(Relation)`
475
+ item_id: 789, # Integer | Search on Item ID *(Optional)* `(Relation)`
476
+ block_id: 789, # Integer | Search on Block ID *(Optional)* `(Relation)`
477
+ genre_id: 789, # Integer | Search on Genre ID *(Optional)* `(Relation)`
478
+ program_id: 789, # Integer | Search on Program ID *(Optional)* `(Relation)`
479
+ _external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
480
+ }
481
+
482
+ begin
483
+ #Get all broadcasts.
484
+ result = api_instance.list_broadcasts(opts)
485
+ p result
486
+ rescue RadioManagerClient::ApiError => e
487
+ puts "Exception when calling BroadcastApi->list_broadcasts: #{e}"
488
+ end
489
+ ```
490
+
491
+ ### Parameters
492
+
493
+ Name | Type | Description | Notes
494
+ ------------- | ------------- | ------------- | -------------
495
+ **page** | **Integer**| Current page *(Optional)* | [optional] [default to 1]
496
+ **start_min** | **DateTime**| Minimum start date *(Optional)* | [optional]
497
+ **start_max** | **DateTime**| Maximum start date *(Optional)* | [optional]
498
+ **model_type_id** | **Integer**| Search on ModelType ID *(Optional)* | [optional]
499
+ **tag_id** | **Integer**| Search on Tag ID *(Optional)* `(Relation)` | [optional]
500
+ **presenter_id** | **Integer**| Search on Presenter ID *(Optional)* `(Relation)` | [optional]
501
+ **item_id** | **Integer**| Search on Item ID *(Optional)* `(Relation)` | [optional]
502
+ **block_id** | **Integer**| Search on Block ID *(Optional)* `(Relation)` | [optional]
503
+ **genre_id** | **Integer**| Search on Genre ID *(Optional)* `(Relation)` | [optional]
504
+ **program_id** | **Integer**| Search on Program ID *(Optional)* `(Relation)` | [optional]
505
+ **_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
506
+
507
+ ### Return type
508
+
509
+ [**BroadcastResults**](BroadcastResults.md)
510
+
511
+ ### Authorization
512
+
513
+ [API Key](../README.md#API Key)
514
+
515
+ ### HTTP request headers
516
+
517
+ - **Content-Type**: application/json
518
+ - **Accept**: application/json
519
+
520
+
521
+
522
+ # **print_broadcast_by_id**
523
+ > EPGBroadcast print_broadcast_by_id(id, opts)
524
+
525
+ Print Broadcast by id
526
+
527
+ Print Broadcast by id
528
+
529
+ ### Example
530
+ ```ruby
531
+ # load the gem
532
+ require 'radiomanager_client'
533
+ # setup authorization
534
+ RadioManagerClient.configure do |config|
535
+ # Configure API key authorization: API Key
536
+ config.api_key['api-key'] = 'YOUR API KEY'
537
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
538
+ #config.api_key_prefix['api-key'] = 'Bearer'
539
+ end
540
+
541
+ api_instance = RadioManagerClient::BroadcastApi.new
542
+
543
+ id = 789 # Integer | ID of Broadcast **(Required)**
544
+
545
+ opts = {
546
+ program_id: 789, # Integer | Search on Program ID *(Optional)* `(Relation)`
547
+ presenter_id: 789, # Integer | Search on Presenter ID *(Optional)* `(Relation)`
548
+ tag_id: 789 # Integer | Search on Tag ID *(Optional)* `(Relation)`
549
+ }
550
+
551
+ begin
552
+ #Print Broadcast by id
553
+ result = api_instance.print_broadcast_by_id(id, opts)
554
+ p result
555
+ rescue RadioManagerClient::ApiError => e
556
+ puts "Exception when calling BroadcastApi->print_broadcast_by_id: #{e}"
557
+ end
558
+ ```
559
+
560
+ ### Parameters
561
+
562
+ Name | Type | Description | Notes
563
+ ------------- | ------------- | ------------- | -------------
564
+ **id** | **Integer**| ID of Broadcast **(Required)** |
565
+ **program_id** | **Integer**| Search on Program ID *(Optional)* `(Relation)` | [optional]
566
+ **presenter_id** | **Integer**| Search on Presenter ID *(Optional)* `(Relation)` | [optional]
567
+ **tag_id** | **Integer**| Search on Tag ID *(Optional)* `(Relation)` | [optional]
568
+
569
+ ### Return type
570
+
571
+ [**EPGBroadcast**](EPGBroadcast.md)
572
+
573
+ ### Authorization
574
+
575
+ [API Key](../README.md#API Key)
576
+
577
+ ### HTTP request headers
578
+
579
+ - **Content-Type**: application/json
580
+ - **Accept**: application/json
581
+
582
+
583
+
584
+ # **update_broadcast_by_id**
585
+ > Success update_broadcast_by_id(id, opts)
586
+
587
+ Update broadcast by id
588
+
589
+ Update broadcast by id
590
+
591
+ ### Example
592
+ ```ruby
593
+ # load the gem
594
+ require 'radiomanager_client'
595
+ # setup authorization
596
+ RadioManagerClient.configure do |config|
597
+ # Configure API key authorization: API Key
598
+ config.api_key['api-key'] = 'YOUR API KEY'
599
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
600
+ #config.api_key_prefix['api-key'] = 'Bearer'
601
+ end
602
+
603
+ api_instance = RadioManagerClient::BroadcastApi.new
604
+
605
+ id = 789 # Integer | ID of Broadcast **(Required)**
606
+
607
+ opts = {
608
+ data: RadioManagerClient::BroadcastDataInput.new # BroadcastDataInput | Data *(Optional)*
609
+ }
610
+
611
+ begin
612
+ #Update broadcast by id
613
+ result = api_instance.update_broadcast_by_id(id, opts)
614
+ p result
615
+ rescue RadioManagerClient::ApiError => e
616
+ puts "Exception when calling BroadcastApi->update_broadcast_by_id: #{e}"
617
+ end
618
+ ```
619
+
620
+ ### Parameters
621
+
622
+ Name | Type | Description | Notes
623
+ ------------- | ------------- | ------------- | -------------
624
+ **id** | **Integer**| ID of Broadcast **(Required)** |
625
+ **data** | [**BroadcastDataInput**](BroadcastDataInput.md)| Data *(Optional)* | [optional]
626
+
627
+ ### Return type
628
+
629
+ [**Success**](Success.md)
630
+
631
+ ### Authorization
632
+
633
+ [API Key](../README.md#API Key)
634
+
635
+ ### HTTP request headers
636
+
637
+ - **Content-Type**: application/json
638
+ - **Accept**: application/json
639
+
640
+
641
+