radiomanager_client 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +297 -0
- data/Rakefile +8 -0
- data/docs/Block.md +15 -0
- data/docs/BlockApi.md +233 -0
- data/docs/BlockRelations.md +10 -0
- data/docs/BlockRelationsBroadcast.md +11 -0
- data/docs/BlockRelationsBroadcastParams.md +8 -0
- data/docs/BlockRelationsItems.md +11 -0
- data/docs/BlockRelationsItemsParams.md +8 -0
- data/docs/BlockRelationsProgram.md +11 -0
- data/docs/BlockResult.md +18 -0
- data/docs/BlockResults.md +17 -0
- data/docs/Broadcast.md +29 -0
- data/docs/BroadcastApi.md +641 -0
- data/docs/BroadcastDataInput.md +31 -0
- data/docs/BroadcastFieldValues.md +8 -0
- data/docs/BroadcastInputOnly.md +9 -0
- data/docs/BroadcastOutputOnly.md +12 -0
- data/docs/BroadcastRelations.md +13 -0
- data/docs/BroadcastRelationsBlocks.md +11 -0
- data/docs/BroadcastRelationsItems.md +11 -0
- data/docs/BroadcastRelationsItemsParams.md +8 -0
- data/docs/BroadcastRelationsModelType.md +11 -0
- data/docs/BroadcastRelationsPresenters.md +11 -0
- data/docs/BroadcastRelationsTags.md +11 -0
- data/docs/BroadcastResult.md +40 -0
- data/docs/BroadcastResults.md +17 -0
- data/docs/Campaign.md +14 -0
- data/docs/CampaignApi.md +302 -0
- data/docs/CampaignDataInput.md +14 -0
- data/docs/CampaignOutputOnly.md +13 -0
- data/docs/CampaignRelations.md +9 -0
- data/docs/CampaignRelationsItems.md +11 -0
- data/docs/CampaignRelationsItemsParams.md +8 -0
- data/docs/CampaignResult.md +22 -0
- data/docs/CampaignResults.md +17 -0
- data/docs/Contact.md +13 -0
- data/docs/ContactApi.md +300 -0
- data/docs/ContactDataInput.md +13 -0
- data/docs/ContactFieldValues.md +8 -0
- data/docs/ContactOutputOnly.md +12 -0
- data/docs/ContactRelations.md +10 -0
- data/docs/ContactRelationsItems.md +11 -0
- data/docs/ContactRelationsTags.md +11 -0
- data/docs/ContactRelationsTagsParams.md +8 -0
- data/docs/ContactResult.md +21 -0
- data/docs/ContactResults.md +17 -0
- data/docs/Data.md +9 -0
- data/docs/Data1.md +9 -0
- data/docs/EPGBroadcast.md +10 -0
- data/docs/ExternalMessageApi.md +63 -0
- data/docs/ExternalMessageQueueData.md +14 -0
- data/docs/Forbidden.md +9 -0
- data/docs/Genre.md +11 -0
- data/docs/GenreApi.md +131 -0
- data/docs/GenreOutputOnly.md +8 -0
- data/docs/GenreRelations.md +9 -0
- data/docs/GenreRelationsBroadcasts.md +11 -0
- data/docs/GenreRelationsBroadcastsParams.md +8 -0
- data/docs/GenreRelationsPrograms.md +11 -0
- data/docs/GenreResult.md +14 -0
- data/docs/GenreResults.md +17 -0
- data/docs/ImportItem.md +18 -0
- data/docs/ImportItemFieldValues.md +8 -0
- data/docs/InlineResponse202.md +8 -0
- data/docs/InternalServerError.md +9 -0
- data/docs/InviteUserData.md +9 -0
- data/docs/InviteUserSuccess.md +8 -0
- data/docs/Item.md +23 -0
- data/docs/ItemApi.md +553 -0
- data/docs/ItemDataInput.md +26 -0
- data/docs/ItemInputOnly.md +10 -0
- data/docs/ItemOutputOnly.md +16 -0
- data/docs/ItemRelations.md +14 -0
- data/docs/ItemRelationsBlock.md +11 -0
- data/docs/ItemRelationsCampaign.md +11 -0
- data/docs/ItemRelationsContacts.md +11 -0
- data/docs/ItemRelationsContactsParams.md +8 -0
- data/docs/ItemRelationsProgram.md +11 -0
- data/docs/ItemRelationsTags.md +11 -0
- data/docs/ItemResult.md +39 -0
- data/docs/ItemResults.md +16 -0
- data/docs/ModelType.md +15 -0
- data/docs/ModelTypeApi.md +139 -0
- data/docs/ModelTypeOptions.md +8 -0
- data/docs/ModelTypeOutputOnly.md +8 -0
- data/docs/ModelTypeRelations.md +13 -0
- data/docs/ModelTypeRelationsBroadcasts.md +11 -0
- data/docs/ModelTypeRelationsCampaigns.md +11 -0
- data/docs/ModelTypeRelationsCampaignsParams.md +8 -0
- data/docs/ModelTypeRelationsContacts.md +11 -0
- data/docs/ModelTypeRelationsItems.md +11 -0
- data/docs/ModelTypeRelationsPresenters.md +11 -0
- data/docs/ModelTypeRelationsPrograms.md +11 -0
- data/docs/ModelTypeResult.md +22 -0
- data/docs/ModelTypeResults.md +17 -0
- data/docs/NotFound.md +9 -0
- data/docs/PostSuccess.md +9 -0
- data/docs/Presenter.md +13 -0
- data/docs/PresenterApi.md +300 -0
- data/docs/PresenterDataInput.md +13 -0
- data/docs/PresenterOutputOnly.md +12 -0
- data/docs/PresenterRelations.md +10 -0
- data/docs/PresenterRelationsBroadcasts.md +11 -0
- data/docs/PresenterRelationsPrograms.md +11 -0
- data/docs/PresenterRelationsProgramsParams.md +8 -0
- data/docs/PresenterResult.md +21 -0
- data/docs/PresenterResults.md +17 -0
- data/docs/Program.md +20 -0
- data/docs/ProgramApi.md +308 -0
- data/docs/ProgramDataInput.md +22 -0
- data/docs/ProgramFieldValues.md +8 -0
- data/docs/ProgramInputOnly.md +9 -0
- data/docs/ProgramOutputOnly.md +12 -0
- data/docs/ProgramRelations.md +13 -0
- data/docs/ProgramRelationsBlocks.md +11 -0
- data/docs/ProgramRelationsBroadcasts.md +11 -0
- data/docs/ProgramRelationsItems.md +11 -0
- data/docs/ProgramRelationsItemsParams.md +8 -0
- data/docs/ProgramRelationsPresenters.md +11 -0
- data/docs/ProgramRelationsTags.md +11 -0
- data/docs/ProgramResult.md +31 -0
- data/docs/ProgramResults.md +17 -0
- data/docs/ReadOnly.md +9 -0
- data/docs/RelationsPlaceholder.md +11 -0
- data/docs/StringApi.md +66 -0
- data/docs/Success.md +8 -0
- data/docs/Tag.md +8 -0
- data/docs/TagApi.md +302 -0
- data/docs/TagDataInput.md +8 -0
- data/docs/TagOutputOnly.md +12 -0
- data/docs/TagRelations.md +11 -0
- data/docs/TagRelationsBroadcasts.md +11 -0
- data/docs/TagRelationsBroadcastsParams.md +8 -0
- data/docs/TagRelationsContacts.md +11 -0
- data/docs/TagRelationsItems.md +11 -0
- data/docs/TagRelationsPrograms.md +11 -0
- data/docs/TagResult.md +17 -0
- data/docs/TagResults.md +16 -0
- data/docs/TextString.md +12 -0
- data/docs/TooManyRequests.md +8 -0
- data/docs/UnprocessableEntity.md +8 -0
- data/docs/UserApi.md +231 -0
- data/docs/UserResult.md +19 -0
- data/docs/UserResultSettings.md +13 -0
- data/docs/UserResults.md +17 -0
- data/docs/VisualResult.md +8 -0
- data/docs/VisualSlideApi.md +106 -0
- data/git_push.sh +55 -0
- data/lib/radiomanager_client.rb +185 -0
- data/lib/radiomanager_client/api/block_api.rb +257 -0
- data/lib/radiomanager_client/api/broadcast_api.rb +668 -0
- data/lib/radiomanager_client/api/campaign_api.rb +331 -0
- data/lib/radiomanager_client/api/contact_api.rb +328 -0
- data/lib/radiomanager_client/api/external_message_api.rb +78 -0
- data/lib/radiomanager_client/api/genre_api.rb +153 -0
- data/lib/radiomanager_client/api/item_api.rb +576 -0
- data/lib/radiomanager_client/api/model_type_api.rb +168 -0
- data/lib/radiomanager_client/api/presenter_api.rb +328 -0
- data/lib/radiomanager_client/api/program_api.rb +340 -0
- data/lib/radiomanager_client/api/string_api.rb +85 -0
- data/lib/radiomanager_client/api/tag_api.rb +331 -0
- data/lib/radiomanager_client/api/user_api.rb +255 -0
- data/lib/radiomanager_client/api/visual_slide_api.rb +121 -0
- data/lib/radiomanager_client/api_client.rb +389 -0
- data/lib/radiomanager_client/api_error.rb +38 -0
- data/lib/radiomanager_client/configuration.rb +209 -0
- data/lib/radiomanager_client/models/block.rb +293 -0
- data/lib/radiomanager_client/models/block_relations.rb +206 -0
- data/lib/radiomanager_client/models/block_relations_broadcast.rb +215 -0
- data/lib/radiomanager_client/models/block_relations_broadcast_params.rb +188 -0
- data/lib/radiomanager_client/models/block_relations_items.rb +215 -0
- data/lib/radiomanager_client/models/block_relations_items_params.rb +188 -0
- data/lib/radiomanager_client/models/block_relations_program.rb +215 -0
- data/lib/radiomanager_client/models/block_result.rb +320 -0
- data/lib/radiomanager_client/models/block_results.rb +271 -0
- data/lib/radiomanager_client/models/broadcast.rb +428 -0
- data/lib/radiomanager_client/models/broadcast_data_input.rb +450 -0
- data/lib/radiomanager_client/models/broadcast_field_values.rb +188 -0
- data/lib/radiomanager_client/models/broadcast_input_only.rb +201 -0
- data/lib/radiomanager_client/models/broadcast_output_only.rb +244 -0
- data/lib/radiomanager_client/models/broadcast_relations.rb +233 -0
- data/lib/radiomanager_client/models/broadcast_relations_blocks.rb +215 -0
- data/lib/radiomanager_client/models/broadcast_relations_items.rb +215 -0
- data/lib/radiomanager_client/models/broadcast_relations_items_params.rb +188 -0
- data/lib/radiomanager_client/models/broadcast_relations_model_type.rb +215 -0
- data/lib/radiomanager_client/models/broadcast_relations_presenters.rb +215 -0
- data/lib/radiomanager_client/models/broadcast_relations_tags.rb +215 -0
- data/lib/radiomanager_client/models/broadcast_result.rb +547 -0
- data/lib/radiomanager_client/models/broadcast_results.rb +271 -0
- data/lib/radiomanager_client/models/campaign.rb +259 -0
- data/lib/radiomanager_client/models/campaign_data_input.rb +259 -0
- data/lib/radiomanager_client/models/campaign_output_only.rb +255 -0
- data/lib/radiomanager_client/models/campaign_relations.rb +197 -0
- data/lib/radiomanager_client/models/campaign_relations_items.rb +215 -0
- data/lib/radiomanager_client/models/campaign_relations_items_params.rb +188 -0
- data/lib/radiomanager_client/models/campaign_result.rb +353 -0
- data/lib/radiomanager_client/models/campaign_results.rb +271 -0
- data/lib/radiomanager_client/models/contact.rb +248 -0
- data/lib/radiomanager_client/models/contact_data_input.rb +248 -0
- data/lib/radiomanager_client/models/contact_field_values.rb +188 -0
- data/lib/radiomanager_client/models/contact_output_only.rb +224 -0
- data/lib/radiomanager_client/models/contact_relations.rb +206 -0
- data/lib/radiomanager_client/models/contact_relations_items.rb +215 -0
- data/lib/radiomanager_client/models/contact_relations_tags.rb +215 -0
- data/lib/radiomanager_client/models/contact_relations_tags_params.rb +188 -0
- data/lib/radiomanager_client/models/contact_result.rb +320 -0
- data/lib/radiomanager_client/models/contact_results.rb +271 -0
- data/lib/radiomanager_client/models/data.rb +199 -0
- data/lib/radiomanager_client/models/data_1.rb +199 -0
- data/lib/radiomanager_client/models/epg_broadcast.rb +227 -0
- data/lib/radiomanager_client/models/external_message_queue_data.rb +333 -0
- data/lib/radiomanager_client/models/forbidden.rb +209 -0
- data/lib/radiomanager_client/models/genre.rb +225 -0
- data/lib/radiomanager_client/models/genre_output_only.rb +188 -0
- data/lib/radiomanager_client/models/genre_relations.rb +197 -0
- data/lib/radiomanager_client/models/genre_relations_broadcasts.rb +215 -0
- data/lib/radiomanager_client/models/genre_relations_broadcasts_params.rb +188 -0
- data/lib/radiomanager_client/models/genre_relations_programs.rb +215 -0
- data/lib/radiomanager_client/models/genre_result.rb +252 -0
- data/lib/radiomanager_client/models/genre_results.rb +271 -0
- data/lib/radiomanager_client/models/import_item.rb +292 -0
- data/lib/radiomanager_client/models/import_item_field_values.rb +188 -0
- data/lib/radiomanager_client/models/inline_response_202.rb +188 -0
- data/lib/radiomanager_client/models/internal_server_error.rb +209 -0
- data/lib/radiomanager_client/models/invite_user_data.rb +207 -0
- data/lib/radiomanager_client/models/invite_user_success.rb +188 -0
- data/lib/radiomanager_client/models/item.rb +366 -0
- data/lib/radiomanager_client/models/item_data_input.rb +397 -0
- data/lib/radiomanager_client/models/item_input_only.rb +210 -0
- data/lib/radiomanager_client/models/item_output_only.rb +260 -0
- data/lib/radiomanager_client/models/item_relations.rb +242 -0
- data/lib/radiomanager_client/models/item_relations_block.rb +215 -0
- data/lib/radiomanager_client/models/item_relations_campaign.rb +215 -0
- data/lib/radiomanager_client/models/item_relations_contacts.rb +215 -0
- data/lib/radiomanager_client/models/item_relations_contacts_params.rb +188 -0
- data/lib/radiomanager_client/models/item_relations_program.rb +215 -0
- data/lib/radiomanager_client/models/item_relations_tags.rb +215 -0
- data/lib/radiomanager_client/models/item_result.rb +510 -0
- data/lib/radiomanager_client/models/item_results.rb +262 -0
- data/lib/radiomanager_client/models/model_type.rb +289 -0
- data/lib/radiomanager_client/models/model_type_options.rb +188 -0
- data/lib/radiomanager_client/models/model_type_output_only.rb +188 -0
- data/lib/radiomanager_client/models/model_type_relations.rb +233 -0
- data/lib/radiomanager_client/models/model_type_relations_broadcasts.rb +215 -0
- data/lib/radiomanager_client/models/model_type_relations_campaigns.rb +215 -0
- data/lib/radiomanager_client/models/model_type_relations_campaigns_params.rb +188 -0
- data/lib/radiomanager_client/models/model_type_relations_contacts.rb +215 -0
- data/lib/radiomanager_client/models/model_type_relations_items.rb +215 -0
- data/lib/radiomanager_client/models/model_type_relations_presenters.rb +215 -0
- data/lib/radiomanager_client/models/model_type_relations_programs.rb +215 -0
- data/lib/radiomanager_client/models/model_type_result.rb +352 -0
- data/lib/radiomanager_client/models/model_type_results.rb +271 -0
- data/lib/radiomanager_client/models/not_found.rb +209 -0
- data/lib/radiomanager_client/models/post_success.rb +204 -0
- data/lib/radiomanager_client/models/presenter.rb +240 -0
- data/lib/radiomanager_client/models/presenter_data_input.rb +240 -0
- data/lib/radiomanager_client/models/presenter_output_only.rb +244 -0
- data/lib/radiomanager_client/models/presenter_relations.rb +206 -0
- data/lib/radiomanager_client/models/presenter_relations_broadcasts.rb +215 -0
- data/lib/radiomanager_client/models/presenter_relations_programs.rb +215 -0
- data/lib/radiomanager_client/models/presenter_relations_programs_params.rb +188 -0
- data/lib/radiomanager_client/models/presenter_result.rb +332 -0
- data/lib/radiomanager_client/models/presenter_results.rb +271 -0
- data/lib/radiomanager_client/models/program.rb +306 -0
- data/lib/radiomanager_client/models/program_data_input.rb +328 -0
- data/lib/radiomanager_client/models/program_field_values.rb +188 -0
- data/lib/radiomanager_client/models/program_input_only.rb +201 -0
- data/lib/radiomanager_client/models/program_output_only.rb +244 -0
- data/lib/radiomanager_client/models/program_relations.rb +233 -0
- data/lib/radiomanager_client/models/program_relations_blocks.rb +215 -0
- data/lib/radiomanager_client/models/program_relations_broadcasts.rb +215 -0
- data/lib/radiomanager_client/models/program_relations_items.rb +215 -0
- data/lib/radiomanager_client/models/program_relations_items_params.rb +188 -0
- data/lib/radiomanager_client/models/program_relations_presenters.rb +215 -0
- data/lib/radiomanager_client/models/program_relations_tags.rb +215 -0
- data/lib/radiomanager_client/models/program_result.rb +425 -0
- data/lib/radiomanager_client/models/program_results.rb +271 -0
- data/lib/radiomanager_client/models/read_only.rb +209 -0
- data/lib/radiomanager_client/models/relations_placeholder.rb +239 -0
- data/lib/radiomanager_client/models/success.rb +194 -0
- data/lib/radiomanager_client/models/tag.rb +193 -0
- data/lib/radiomanager_client/models/tag_data_input.rb +193 -0
- data/lib/radiomanager_client/models/tag_output_only.rb +229 -0
- data/lib/radiomanager_client/models/tag_relations.rb +215 -0
- data/lib/radiomanager_client/models/tag_relations_broadcasts.rb +215 -0
- data/lib/radiomanager_client/models/tag_relations_broadcasts_params.rb +188 -0
- data/lib/radiomanager_client/models/tag_relations_contacts.rb +215 -0
- data/lib/radiomanager_client/models/tag_relations_items.rb +215 -0
- data/lib/radiomanager_client/models/tag_relations_programs.rb +215 -0
- data/lib/radiomanager_client/models/tag_result.rb +279 -0
- data/lib/radiomanager_client/models/tag_results.rb +262 -0
- data/lib/radiomanager_client/models/text_string.rb +239 -0
- data/lib/radiomanager_client/models/too_many_requests.rb +193 -0
- data/lib/radiomanager_client/models/unprocessable_entity.rb +196 -0
- data/lib/radiomanager_client/models/user_result.rb +307 -0
- data/lib/radiomanager_client/models/user_result_settings.rb +233 -0
- data/lib/radiomanager_client/models/user_results.rb +271 -0
- data/lib/radiomanager_client/models/visual_result.rb +188 -0
- data/lib/radiomanager_client/version.rb +15 -0
- data/radiomanager_client-1.0.0.gem +0 -0
- data/radiomanager_client.gemspec +46 -0
- data/spec/api/block_api_spec.rb +88 -0
- data/spec/api/broadcast_api_spec.rb +180 -0
- data/spec/api/campaign_api_spec.rb +102 -0
- data/spec/api/contact_api_spec.rb +101 -0
- data/spec/api/external_message_api_spec.rb +47 -0
- data/spec/api/genre_api_spec.rb +64 -0
- data/spec/api/item_api_spec.rb +163 -0
- data/spec/api/model_type_api_spec.rb +68 -0
- data/spec/api/presenter_api_spec.rb +101 -0
- data/spec/api/program_api_spec.rb +105 -0
- data/spec/api/string_api_spec.rb +48 -0
- data/spec/api/tag_api_spec.rb +102 -0
- data/spec/api/user_api_spec.rb +84 -0
- data/spec/api/visual_slide_api_spec.rb +57 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/block_relations_broadcast_params_spec.rb +42 -0
- data/spec/models/block_relations_broadcast_spec.rb +60 -0
- data/spec/models/block_relations_items_params_spec.rb +42 -0
- data/spec/models/block_relations_items_spec.rb +60 -0
- data/spec/models/block_relations_program_spec.rb +60 -0
- data/spec/models/block_relations_spec.rb +54 -0
- data/spec/models/block_result_spec.rb +102 -0
- data/spec/models/block_results_spec.rb +96 -0
- data/spec/models/block_spec.rb +84 -0
- data/spec/models/broadcast_data_input_spec.rb +184 -0
- data/spec/models/broadcast_field_values_spec.rb +42 -0
- data/spec/models/broadcast_input_only_spec.rb +48 -0
- data/spec/models/broadcast_output_only_spec.rb +66 -0
- data/spec/models/broadcast_relations_blocks_spec.rb +60 -0
- data/spec/models/broadcast_relations_items_params_spec.rb +42 -0
- data/spec/models/broadcast_relations_items_spec.rb +60 -0
- data/spec/models/broadcast_relations_model_type_spec.rb +60 -0
- data/spec/models/broadcast_relations_presenters_spec.rb +60 -0
- data/spec/models/broadcast_relations_spec.rb +72 -0
- data/spec/models/broadcast_relations_tags_spec.rb +60 -0
- data/spec/models/broadcast_result_spec.rb +238 -0
- data/spec/models/broadcast_results_spec.rb +96 -0
- data/spec/models/broadcast_spec.rb +172 -0
- data/spec/models/campaign_data_input_spec.rb +78 -0
- data/spec/models/campaign_output_only_spec.rb +72 -0
- data/spec/models/campaign_relations_items_params_spec.rb +42 -0
- data/spec/models/campaign_relations_items_spec.rb +60 -0
- data/spec/models/campaign_relations_spec.rb +48 -0
- data/spec/models/campaign_result_spec.rb +126 -0
- data/spec/models/campaign_results_spec.rb +96 -0
- data/spec/models/campaign_spec.rb +78 -0
- data/spec/models/contact_data_input_spec.rb +72 -0
- data/spec/models/contact_field_values_spec.rb +42 -0
- data/spec/models/contact_output_only_spec.rb +66 -0
- data/spec/models/contact_relations_items_spec.rb +60 -0
- data/spec/models/contact_relations_spec.rb +54 -0
- data/spec/models/contact_relations_tags_params_spec.rb +42 -0
- data/spec/models/contact_relations_tags_spec.rb +60 -0
- data/spec/models/contact_result_spec.rb +120 -0
- data/spec/models/contact_results_spec.rb +96 -0
- data/spec/models/contact_spec.rb +72 -0
- data/spec/models/data_1_spec.rb +48 -0
- data/spec/models/data_spec.rb +48 -0
- data/spec/models/epg_broadcast_spec.rb +54 -0
- data/spec/models/external_message_queue_data_spec.rb +78 -0
- data/spec/models/forbidden_spec.rb +48 -0
- data/spec/models/genre_output_only_spec.rb +42 -0
- data/spec/models/genre_relations_broadcasts_params_spec.rb +42 -0
- data/spec/models/genre_relations_broadcasts_spec.rb +60 -0
- data/spec/models/genre_relations_programs_spec.rb +60 -0
- data/spec/models/genre_relations_spec.rb +48 -0
- data/spec/models/genre_result_spec.rb +78 -0
- data/spec/models/genre_results_spec.rb +96 -0
- data/spec/models/genre_spec.rb +60 -0
- data/spec/models/import_item_field_values_spec.rb +42 -0
- data/spec/models/import_item_spec.rb +102 -0
- data/spec/models/inline_response_202_spec.rb +42 -0
- data/spec/models/internal_server_error_spec.rb +48 -0
- data/spec/models/invite_user_data_spec.rb +48 -0
- data/spec/models/invite_user_success_spec.rb +42 -0
- data/spec/models/item_data_input_spec.rb +154 -0
- data/spec/models/item_input_only_spec.rb +54 -0
- data/spec/models/item_output_only_spec.rb +90 -0
- data/spec/models/item_relations_block_spec.rb +60 -0
- data/spec/models/item_relations_campaign_spec.rb +60 -0
- data/spec/models/item_relations_contacts_params_spec.rb +42 -0
- data/spec/models/item_relations_contacts_spec.rb +60 -0
- data/spec/models/item_relations_program_spec.rb +60 -0
- data/spec/models/item_relations_spec.rb +78 -0
- data/spec/models/item_relations_tags_spec.rb +60 -0
- data/spec/models/item_result_spec.rb +232 -0
- data/spec/models/item_results_spec.rb +90 -0
- data/spec/models/item_spec.rb +136 -0
- data/spec/models/model_type_options_spec.rb +42 -0
- data/spec/models/model_type_output_only_spec.rb +42 -0
- data/spec/models/model_type_relations_broadcasts_spec.rb +60 -0
- data/spec/models/model_type_relations_campaigns_params_spec.rb +42 -0
- data/spec/models/model_type_relations_campaigns_spec.rb +60 -0
- data/spec/models/model_type_relations_contacts_spec.rb +60 -0
- data/spec/models/model_type_relations_items_spec.rb +60 -0
- data/spec/models/model_type_relations_presenters_spec.rb +60 -0
- data/spec/models/model_type_relations_programs_spec.rb +60 -0
- data/spec/models/model_type_relations_spec.rb +72 -0
- data/spec/models/model_type_result_spec.rb +130 -0
- data/spec/models/model_type_results_spec.rb +96 -0
- data/spec/models/model_type_spec.rb +88 -0
- data/spec/models/not_found_spec.rb +48 -0
- data/spec/models/post_success_spec.rb +48 -0
- data/spec/models/presenter_data_input_spec.rb +72 -0
- data/spec/models/presenter_output_only_spec.rb +66 -0
- data/spec/models/presenter_relations_broadcasts_spec.rb +60 -0
- data/spec/models/presenter_relations_programs_params_spec.rb +42 -0
- data/spec/models/presenter_relations_programs_spec.rb +60 -0
- data/spec/models/presenter_relations_spec.rb +54 -0
- data/spec/models/presenter_result_spec.rb +120 -0
- data/spec/models/presenter_results_spec.rb +96 -0
- data/spec/models/presenter_spec.rb +72 -0
- data/spec/models/program_data_input_spec.rb +126 -0
- data/spec/models/program_field_values_spec.rb +42 -0
- data/spec/models/program_input_only_spec.rb +48 -0
- data/spec/models/program_output_only_spec.rb +66 -0
- data/spec/models/program_relations_blocks_spec.rb +60 -0
- data/spec/models/program_relations_broadcasts_spec.rb +60 -0
- data/spec/models/program_relations_items_params_spec.rb +42 -0
- data/spec/models/program_relations_items_spec.rb +60 -0
- data/spec/models/program_relations_presenters_spec.rb +60 -0
- data/spec/models/program_relations_spec.rb +72 -0
- data/spec/models/program_relations_tags_spec.rb +60 -0
- data/spec/models/program_result_spec.rb +180 -0
- data/spec/models/program_results_spec.rb +96 -0
- data/spec/models/program_spec.rb +114 -0
- data/spec/models/read_only_spec.rb +48 -0
- data/spec/models/relations_placeholder_spec.rb +60 -0
- data/spec/models/success_spec.rb +42 -0
- data/spec/models/tag_data_input_spec.rb +42 -0
- data/spec/models/tag_output_only_spec.rb +66 -0
- data/spec/models/tag_relations_broadcasts_params_spec.rb +42 -0
- data/spec/models/tag_relations_broadcasts_spec.rb +60 -0
- data/spec/models/tag_relations_contacts_spec.rb +60 -0
- data/spec/models/tag_relations_items_spec.rb +60 -0
- data/spec/models/tag_relations_programs_spec.rb +60 -0
- data/spec/models/tag_relations_spec.rb +60 -0
- data/spec/models/tag_result_spec.rb +96 -0
- data/spec/models/tag_results_spec.rb +90 -0
- data/spec/models/tag_spec.rb +42 -0
- data/spec/models/text_string_spec.rb +66 -0
- data/spec/models/too_many_requests_spec.rb +42 -0
- data/spec/models/unprocessable_entity_spec.rb +42 -0
- data/spec/models/user_result_settings_spec.rb +72 -0
- data/spec/models/user_result_spec.rb +108 -0
- data/spec/models/user_results_spec.rb +96 -0
- data/spec/models/visual_result_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- 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,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,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
|
+
|
data/docs/BlockResult.md
ADDED
@@ -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
|
+
|