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.
- 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,17 @@
|
|
1
|
+
# RadioManagerClient::GenreResults
|
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<GenreResult>**](GenreResult.md) | | [optional]
|
16
|
+
|
17
|
+
|
data/docs/ImportItem.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# RadioManagerClient::ImportItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**model_type_id** | **Integer** | |
|
7
|
+
**external_id** | **Integer** | |
|
8
|
+
**field_values** | [**ImportItemFieldValues**](ImportItemFieldValues.md) | | [optional]
|
9
|
+
**title** | **String** | | [optional]
|
10
|
+
**duration** | **Integer** | | [optional]
|
11
|
+
**start** | **DateTime** | | [optional]
|
12
|
+
**recommended** | **BOOLEAN** | | [optional]
|
13
|
+
**static_start** | **BOOLEAN** | | [optional]
|
14
|
+
**details** | **String** | | [optional]
|
15
|
+
**contacts** | **Array<Integer>** | | [optional]
|
16
|
+
**tags** | **Array<Integer>** | | [optional]
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# RadioManagerClient::InternalServerError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**error** | **String** | Given error (not formatted), describes the problem. |
|
7
|
+
**status_code** | **Integer** | Assigned StatusCode, is used in order to create a relationship between Error and Response. |
|
8
|
+
|
9
|
+
|
data/docs/Item.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# RadioManagerClient::Item
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**model_type_id** | **Integer** | |
|
7
|
+
**block_id** | **Integer** | | [optional]
|
8
|
+
**external_id** | **Integer** | |
|
9
|
+
**field_values** | [**ImportItemFieldValues**](ImportItemFieldValues.md) | | [optional]
|
10
|
+
**title** | **String** | | [optional]
|
11
|
+
**duration** | **Integer** | | [optional]
|
12
|
+
**start** | **DateTime** | | [optional]
|
13
|
+
**status** | **String** | | [optional]
|
14
|
+
**import** | **Integer** | | [optional]
|
15
|
+
**campaign_id** | **Integer** | | [optional]
|
16
|
+
**recommended** | **BOOLEAN** | | [optional]
|
17
|
+
**station_draft_id** | **Integer** | | [optional]
|
18
|
+
**program_draft_id** | **Integer** | | [optional]
|
19
|
+
**user_draft_id** | **Integer** | | [optional]
|
20
|
+
**static_start** | **BOOLEAN** | | [optional]
|
21
|
+
**details** | **String** | | [optional]
|
22
|
+
|
23
|
+
|
data/docs/ItemApi.md
ADDED
@@ -0,0 +1,553 @@
|
|
1
|
+
# RadioManagerClient::ItemApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://radiomanager.pb/api/v2*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create_item**](ItemApi.md#create_item) | **POST** /items | Create an new item.
|
8
|
+
[**current_item_post_structure**](ItemApi.md#current_item_post_structure) | **POST** /items/current/structure | Post a current playing item, keep structure
|
9
|
+
[**current_item_post_timing**](ItemApi.md#current_item_post_timing) | **POST** /items/current/timing | Post a current playing item
|
10
|
+
[**delete_item_by_id**](ItemApi.md#delete_item_by_id) | **DELETE** /items/{id} | Delete item by ID.
|
11
|
+
[**get_item_by_id**](ItemApi.md#get_item_by_id) | **GET** /items/{id} | Get extended item details by ID.
|
12
|
+
[**list_items**](ItemApi.md#list_items) | **GET** /items | Get a list of all the items currently in your station.
|
13
|
+
[**playlist_post_structure**](ItemApi.md#playlist_post_structure) | **POST** /items/playlist/structure | Post a playlist, keep current structure
|
14
|
+
[**playlist_post_timing**](ItemApi.md#playlist_post_timing) | **POST** /items/playlist/timing | Post a playlist
|
15
|
+
[**update_item_by_id**](ItemApi.md#update_item_by_id) | **PATCH** /items/{id} | Update extended item details by ID.
|
16
|
+
|
17
|
+
|
18
|
+
# **create_item**
|
19
|
+
> PostSuccess create_item(opts)
|
20
|
+
|
21
|
+
Create an new item.
|
22
|
+
|
23
|
+
Create item.
|
24
|
+
|
25
|
+
### Example
|
26
|
+
```ruby
|
27
|
+
# load the gem
|
28
|
+
require 'radiomanager_client'
|
29
|
+
# setup authorization
|
30
|
+
RadioManagerClient.configure do |config|
|
31
|
+
# Configure API key authorization: API Key
|
32
|
+
config.api_key['api-key'] = 'YOUR API KEY'
|
33
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
34
|
+
#config.api_key_prefix['api-key'] = 'Bearer'
|
35
|
+
end
|
36
|
+
|
37
|
+
api_instance = RadioManagerClient::ItemApi.new
|
38
|
+
|
39
|
+
opts = {
|
40
|
+
data: RadioManagerClient::ItemDataInput.new # ItemDataInput | Data *(Optional)*
|
41
|
+
}
|
42
|
+
|
43
|
+
begin
|
44
|
+
#Create an new item.
|
45
|
+
result = api_instance.create_item(opts)
|
46
|
+
p result
|
47
|
+
rescue RadioManagerClient::ApiError => e
|
48
|
+
puts "Exception when calling ItemApi->create_item: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
### Parameters
|
53
|
+
|
54
|
+
Name | Type | Description | Notes
|
55
|
+
------------- | ------------- | ------------- | -------------
|
56
|
+
**data** | [**ItemDataInput**](ItemDataInput.md)| Data *(Optional)* | [optional]
|
57
|
+
|
58
|
+
### Return type
|
59
|
+
|
60
|
+
[**PostSuccess**](PostSuccess.md)
|
61
|
+
|
62
|
+
### Authorization
|
63
|
+
|
64
|
+
[API Key](../README.md#API Key)
|
65
|
+
|
66
|
+
### HTTP request headers
|
67
|
+
|
68
|
+
- **Content-Type**: application/json
|
69
|
+
- **Accept**: application/json
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
# **current_item_post_structure**
|
74
|
+
> Success current_item_post_structure(opts)
|
75
|
+
|
76
|
+
Post a current playing item, keep structure
|
77
|
+
|
78
|
+
Post a current playing item, keep structure
|
79
|
+
|
80
|
+
### Example
|
81
|
+
```ruby
|
82
|
+
# load the gem
|
83
|
+
require 'radiomanager_client'
|
84
|
+
# setup authorization
|
85
|
+
RadioManagerClient.configure do |config|
|
86
|
+
# Configure API key authorization: API Key
|
87
|
+
config.api_key['api-key'] = 'YOUR API KEY'
|
88
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
89
|
+
#config.api_key_prefix['api-key'] = 'Bearer'
|
90
|
+
end
|
91
|
+
|
92
|
+
api_instance = RadioManagerClient::ItemApi.new
|
93
|
+
|
94
|
+
opts = {
|
95
|
+
data: RadioManagerClient::ImportItem.new # ImportItem | Data *(Optional)*
|
96
|
+
}
|
97
|
+
|
98
|
+
begin
|
99
|
+
#Post a current playing item, keep structure
|
100
|
+
result = api_instance.current_item_post_structure(opts)
|
101
|
+
p result
|
102
|
+
rescue RadioManagerClient::ApiError => e
|
103
|
+
puts "Exception when calling ItemApi->current_item_post_structure: #{e}"
|
104
|
+
end
|
105
|
+
```
|
106
|
+
|
107
|
+
### Parameters
|
108
|
+
|
109
|
+
Name | Type | Description | Notes
|
110
|
+
------------- | ------------- | ------------- | -------------
|
111
|
+
**data** | [**ImportItem**](ImportItem.md)| Data *(Optional)* | [optional]
|
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
|
+
# **current_item_post_timing**
|
129
|
+
> Success current_item_post_timing(opts)
|
130
|
+
|
131
|
+
Post a current playing item
|
132
|
+
|
133
|
+
Post a current playing item
|
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::ItemApi.new
|
148
|
+
|
149
|
+
opts = {
|
150
|
+
data: RadioManagerClient::ImportItem.new # ImportItem | Data *(Optional)*
|
151
|
+
}
|
152
|
+
|
153
|
+
begin
|
154
|
+
#Post a current playing item
|
155
|
+
result = api_instance.current_item_post_timing(opts)
|
156
|
+
p result
|
157
|
+
rescue RadioManagerClient::ApiError => e
|
158
|
+
puts "Exception when calling ItemApi->current_item_post_timing: #{e}"
|
159
|
+
end
|
160
|
+
```
|
161
|
+
|
162
|
+
### Parameters
|
163
|
+
|
164
|
+
Name | Type | Description | Notes
|
165
|
+
------------- | ------------- | ------------- | -------------
|
166
|
+
**data** | [**ImportItem**](ImportItem.md)| Data *(Optional)* | [optional]
|
167
|
+
|
168
|
+
### Return type
|
169
|
+
|
170
|
+
[**Success**](Success.md)
|
171
|
+
|
172
|
+
### Authorization
|
173
|
+
|
174
|
+
[API Key](../README.md#API Key)
|
175
|
+
|
176
|
+
### HTTP request headers
|
177
|
+
|
178
|
+
- **Content-Type**: application/json
|
179
|
+
- **Accept**: application/json
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
# **delete_item_by_id**
|
184
|
+
> Success delete_item_by_id(id)
|
185
|
+
|
186
|
+
Delete item by ID.
|
187
|
+
|
188
|
+
Delete item by id.
|
189
|
+
|
190
|
+
### Example
|
191
|
+
```ruby
|
192
|
+
# load the gem
|
193
|
+
require 'radiomanager_client'
|
194
|
+
# setup authorization
|
195
|
+
RadioManagerClient.configure do |config|
|
196
|
+
# Configure API key authorization: API Key
|
197
|
+
config.api_key['api-key'] = 'YOUR API KEY'
|
198
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
199
|
+
#config.api_key_prefix['api-key'] = 'Bearer'
|
200
|
+
end
|
201
|
+
|
202
|
+
api_instance = RadioManagerClient::ItemApi.new
|
203
|
+
|
204
|
+
id = 789 # Integer | ID of Item **(Required)**
|
205
|
+
|
206
|
+
|
207
|
+
begin
|
208
|
+
#Delete item by ID.
|
209
|
+
result = api_instance.delete_item_by_id(id)
|
210
|
+
p result
|
211
|
+
rescue RadioManagerClient::ApiError => e
|
212
|
+
puts "Exception when calling ItemApi->delete_item_by_id: #{e}"
|
213
|
+
end
|
214
|
+
```
|
215
|
+
|
216
|
+
### Parameters
|
217
|
+
|
218
|
+
Name | Type | Description | Notes
|
219
|
+
------------- | ------------- | ------------- | -------------
|
220
|
+
**id** | **Integer**| ID of Item **(Required)** |
|
221
|
+
|
222
|
+
### Return type
|
223
|
+
|
224
|
+
[**Success**](Success.md)
|
225
|
+
|
226
|
+
### Authorization
|
227
|
+
|
228
|
+
[API Key](../README.md#API Key)
|
229
|
+
|
230
|
+
### HTTP request headers
|
231
|
+
|
232
|
+
- **Content-Type**: application/json
|
233
|
+
- **Accept**: application/json
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
# **get_item_by_id**
|
238
|
+
> ItemResult get_item_by_id(id, opts)
|
239
|
+
|
240
|
+
Get extended item details by ID.
|
241
|
+
|
242
|
+
Read item by id.
|
243
|
+
|
244
|
+
### Example
|
245
|
+
```ruby
|
246
|
+
# load the gem
|
247
|
+
require 'radiomanager_client'
|
248
|
+
# setup authorization
|
249
|
+
RadioManagerClient.configure do |config|
|
250
|
+
# Configure API key authorization: API Key
|
251
|
+
config.api_key['api-key'] = 'YOUR API KEY'
|
252
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
253
|
+
#config.api_key_prefix['api-key'] = 'Bearer'
|
254
|
+
end
|
255
|
+
|
256
|
+
api_instance = RadioManagerClient::ItemApi.new
|
257
|
+
|
258
|
+
id = 789 # Integer | ID of Item **(Required)**
|
259
|
+
|
260
|
+
opts = {
|
261
|
+
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
262
|
+
}
|
263
|
+
|
264
|
+
begin
|
265
|
+
#Get extended item details by ID.
|
266
|
+
result = api_instance.get_item_by_id(id, opts)
|
267
|
+
p result
|
268
|
+
rescue RadioManagerClient::ApiError => e
|
269
|
+
puts "Exception when calling ItemApi->get_item_by_id: #{e}"
|
270
|
+
end
|
271
|
+
```
|
272
|
+
|
273
|
+
### Parameters
|
274
|
+
|
275
|
+
Name | Type | Description | Notes
|
276
|
+
------------- | ------------- | ------------- | -------------
|
277
|
+
**id** | **Integer**| ID of Item **(Required)** |
|
278
|
+
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
279
|
+
|
280
|
+
### Return type
|
281
|
+
|
282
|
+
[**ItemResult**](ItemResult.md)
|
283
|
+
|
284
|
+
### Authorization
|
285
|
+
|
286
|
+
[API Key](../README.md#API Key)
|
287
|
+
|
288
|
+
### HTTP request headers
|
289
|
+
|
290
|
+
- **Content-Type**: application/json
|
291
|
+
- **Accept**: application/json
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
# **list_items**
|
296
|
+
> ItemResults list_items(opts)
|
297
|
+
|
298
|
+
Get a list of all the items currently in your station.
|
299
|
+
|
300
|
+
Get a list of all the items currently in your station. This feature supports pagination and will give a maximum results of 50 items back.
|
301
|
+
|
302
|
+
### Example
|
303
|
+
```ruby
|
304
|
+
# load the gem
|
305
|
+
require 'radiomanager_client'
|
306
|
+
# setup authorization
|
307
|
+
RadioManagerClient.configure do |config|
|
308
|
+
# Configure API key authorization: API Key
|
309
|
+
config.api_key['api-key'] = 'YOUR API KEY'
|
310
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
311
|
+
#config.api_key_prefix['api-key'] = 'Bearer'
|
312
|
+
end
|
313
|
+
|
314
|
+
api_instance = RadioManagerClient::ItemApi.new
|
315
|
+
|
316
|
+
opts = {
|
317
|
+
page: 789, # Integer | Current page *(Optional)*
|
318
|
+
order_by: "order_by_example", # String | Field to order the results *(Optional)*
|
319
|
+
order_direction: "order_direction_example", # String | Direction of ordering *(Optional)*
|
320
|
+
start_min: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Minimum start date *(Optional)*
|
321
|
+
start_max: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Maximum start date *(Optional)*
|
322
|
+
duration_min: 56, # Integer | Minimum duration (seconds) *(Optional)*
|
323
|
+
duration_max: 56, # Integer | Maximum duration (seconds) *(Optional)*
|
324
|
+
status: "status_example", # String | Play Status of item *(Optional)*
|
325
|
+
model_type_id: 789, # Integer | Search on ModelType ID *(Optional)*
|
326
|
+
program_draft_id: 789, # Integer | Search on Program Draft ID *(Optional)*
|
327
|
+
user_draft_id: 789, # Integer | Search on User Draft ID *(Optional)*
|
328
|
+
station_draft_id: 789, # Integer | Search on Station Draft ID *(Optional)*
|
329
|
+
block_id: 789, # Integer | Search on Block ID *(Optional)* `(Relation)`
|
330
|
+
broadcast_id: 789, # Integer | Search on Broadcast ID *(Optional)* `(Relation)`
|
331
|
+
campaign_id: 789, # Integer | Search on Campaign ID *(Optional)* `(Relation)`
|
332
|
+
contact_id: 789, # Integer | Search on Contact ID *(Optional)* `(Relation)`
|
333
|
+
program_id: 789, # Integer | Search on Program ID *(Optional)* `(Relation)`
|
334
|
+
tag_id: 789, # Integer | Search on Tag ID *(Optional)* `(Relation)`
|
335
|
+
_external_station_id: 789 # Integer | Query on a different (content providing) station *(Optional)*
|
336
|
+
}
|
337
|
+
|
338
|
+
begin
|
339
|
+
#Get a list of all the items currently in your station.
|
340
|
+
result = api_instance.list_items(opts)
|
341
|
+
p result
|
342
|
+
rescue RadioManagerClient::ApiError => e
|
343
|
+
puts "Exception when calling ItemApi->list_items: #{e}"
|
344
|
+
end
|
345
|
+
```
|
346
|
+
|
347
|
+
### Parameters
|
348
|
+
|
349
|
+
Name | Type | Description | Notes
|
350
|
+
------------- | ------------- | ------------- | -------------
|
351
|
+
**page** | **Integer**| Current page *(Optional)* | [optional]
|
352
|
+
**order_by** | **String**| Field to order the results *(Optional)* | [optional]
|
353
|
+
**order_direction** | **String**| Direction of ordering *(Optional)* | [optional]
|
354
|
+
**start_min** | **DateTime**| Minimum start date *(Optional)* | [optional]
|
355
|
+
**start_max** | **DateTime**| Maximum start date *(Optional)* | [optional]
|
356
|
+
**duration_min** | **Integer**| Minimum duration (seconds) *(Optional)* | [optional]
|
357
|
+
**duration_max** | **Integer**| Maximum duration (seconds) *(Optional)* | [optional]
|
358
|
+
**status** | **String**| Play Status of item *(Optional)* | [optional]
|
359
|
+
**model_type_id** | **Integer**| Search on ModelType ID *(Optional)* | [optional]
|
360
|
+
**program_draft_id** | **Integer**| Search on Program Draft ID *(Optional)* | [optional]
|
361
|
+
**user_draft_id** | **Integer**| Search on User Draft ID *(Optional)* | [optional]
|
362
|
+
**station_draft_id** | **Integer**| Search on Station Draft ID *(Optional)* | [optional]
|
363
|
+
**block_id** | **Integer**| Search on Block ID *(Optional)* `(Relation)` | [optional]
|
364
|
+
**broadcast_id** | **Integer**| Search on Broadcast ID *(Optional)* `(Relation)` | [optional]
|
365
|
+
**campaign_id** | **Integer**| Search on Campaign ID *(Optional)* `(Relation)` | [optional]
|
366
|
+
**contact_id** | **Integer**| Search on Contact ID *(Optional)* `(Relation)` | [optional]
|
367
|
+
**program_id** | **Integer**| Search on Program ID *(Optional)* `(Relation)` | [optional]
|
368
|
+
**tag_id** | **Integer**| Search on Tag ID *(Optional)* `(Relation)` | [optional]
|
369
|
+
**_external_station_id** | **Integer**| Query on a different (content providing) station *(Optional)* | [optional]
|
370
|
+
|
371
|
+
### Return type
|
372
|
+
|
373
|
+
[**ItemResults**](ItemResults.md)
|
374
|
+
|
375
|
+
### Authorization
|
376
|
+
|
377
|
+
[API Key](../README.md#API Key)
|
378
|
+
|
379
|
+
### HTTP request headers
|
380
|
+
|
381
|
+
- **Content-Type**: application/json
|
382
|
+
- **Accept**: application/json
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
# **playlist_post_structure**
|
387
|
+
> InlineResponse202 playlist_post_structure(opts)
|
388
|
+
|
389
|
+
Post a playlist, keep current structure
|
390
|
+
|
391
|
+
Post a playlist, keep current structure
|
392
|
+
|
393
|
+
### Example
|
394
|
+
```ruby
|
395
|
+
# load the gem
|
396
|
+
require 'radiomanager_client'
|
397
|
+
# setup authorization
|
398
|
+
RadioManagerClient.configure do |config|
|
399
|
+
# Configure API key authorization: API Key
|
400
|
+
config.api_key['api-key'] = 'YOUR API KEY'
|
401
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
402
|
+
#config.api_key_prefix['api-key'] = 'Bearer'
|
403
|
+
end
|
404
|
+
|
405
|
+
api_instance = RadioManagerClient::ItemApi.new
|
406
|
+
|
407
|
+
opts = {
|
408
|
+
data: RadioManagerClient::Data1.new # Data1 | Data *(Optional)*
|
409
|
+
}
|
410
|
+
|
411
|
+
begin
|
412
|
+
#Post a playlist, keep current structure
|
413
|
+
result = api_instance.playlist_post_structure(opts)
|
414
|
+
p result
|
415
|
+
rescue RadioManagerClient::ApiError => e
|
416
|
+
puts "Exception when calling ItemApi->playlist_post_structure: #{e}"
|
417
|
+
end
|
418
|
+
```
|
419
|
+
|
420
|
+
### Parameters
|
421
|
+
|
422
|
+
Name | Type | Description | Notes
|
423
|
+
------------- | ------------- | ------------- | -------------
|
424
|
+
**data** | [**Data1**](Data1.md)| Data *(Optional)* | [optional]
|
425
|
+
|
426
|
+
### Return type
|
427
|
+
|
428
|
+
[**InlineResponse202**](InlineResponse202.md)
|
429
|
+
|
430
|
+
### Authorization
|
431
|
+
|
432
|
+
[API Key](../README.md#API Key)
|
433
|
+
|
434
|
+
### HTTP request headers
|
435
|
+
|
436
|
+
- **Content-Type**: application/json
|
437
|
+
- **Accept**: application/json
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
# **playlist_post_timing**
|
442
|
+
> InlineResponse202 playlist_post_timing(opts)
|
443
|
+
|
444
|
+
Post a playlist
|
445
|
+
|
446
|
+
Post a playlist
|
447
|
+
|
448
|
+
### Example
|
449
|
+
```ruby
|
450
|
+
# load the gem
|
451
|
+
require 'radiomanager_client'
|
452
|
+
# setup authorization
|
453
|
+
RadioManagerClient.configure do |config|
|
454
|
+
# Configure API key authorization: API Key
|
455
|
+
config.api_key['api-key'] = 'YOUR API KEY'
|
456
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
457
|
+
#config.api_key_prefix['api-key'] = 'Bearer'
|
458
|
+
end
|
459
|
+
|
460
|
+
api_instance = RadioManagerClient::ItemApi.new
|
461
|
+
|
462
|
+
opts = {
|
463
|
+
data: RadioManagerClient::Data.new # Data | Data *(Optional)*
|
464
|
+
}
|
465
|
+
|
466
|
+
begin
|
467
|
+
#Post a playlist
|
468
|
+
result = api_instance.playlist_post_timing(opts)
|
469
|
+
p result
|
470
|
+
rescue RadioManagerClient::ApiError => e
|
471
|
+
puts "Exception when calling ItemApi->playlist_post_timing: #{e}"
|
472
|
+
end
|
473
|
+
```
|
474
|
+
|
475
|
+
### Parameters
|
476
|
+
|
477
|
+
Name | Type | Description | Notes
|
478
|
+
------------- | ------------- | ------------- | -------------
|
479
|
+
**data** | [**Data**](Data.md)| Data *(Optional)* | [optional]
|
480
|
+
|
481
|
+
### Return type
|
482
|
+
|
483
|
+
[**InlineResponse202**](InlineResponse202.md)
|
484
|
+
|
485
|
+
### Authorization
|
486
|
+
|
487
|
+
[API Key](../README.md#API Key)
|
488
|
+
|
489
|
+
### HTTP request headers
|
490
|
+
|
491
|
+
- **Content-Type**: application/json
|
492
|
+
- **Accept**: application/json
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
# **update_item_by_id**
|
497
|
+
> Success update_item_by_id(id, opts)
|
498
|
+
|
499
|
+
Update extended item details by ID.
|
500
|
+
|
501
|
+
Update item by id.
|
502
|
+
|
503
|
+
### Example
|
504
|
+
```ruby
|
505
|
+
# load the gem
|
506
|
+
require 'radiomanager_client'
|
507
|
+
# setup authorization
|
508
|
+
RadioManagerClient.configure do |config|
|
509
|
+
# Configure API key authorization: API Key
|
510
|
+
config.api_key['api-key'] = 'YOUR API KEY'
|
511
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
512
|
+
#config.api_key_prefix['api-key'] = 'Bearer'
|
513
|
+
end
|
514
|
+
|
515
|
+
api_instance = RadioManagerClient::ItemApi.new
|
516
|
+
|
517
|
+
id = 789 # Integer | ID of Item **(Required)**
|
518
|
+
|
519
|
+
opts = {
|
520
|
+
data: RadioManagerClient::Item.new # Item | Data *(Optional)*
|
521
|
+
}
|
522
|
+
|
523
|
+
begin
|
524
|
+
#Update extended item details by ID.
|
525
|
+
result = api_instance.update_item_by_id(id, opts)
|
526
|
+
p result
|
527
|
+
rescue RadioManagerClient::ApiError => e
|
528
|
+
puts "Exception when calling ItemApi->update_item_by_id: #{e}"
|
529
|
+
end
|
530
|
+
```
|
531
|
+
|
532
|
+
### Parameters
|
533
|
+
|
534
|
+
Name | Type | Description | Notes
|
535
|
+
------------- | ------------- | ------------- | -------------
|
536
|
+
**id** | **Integer**| ID of Item **(Required)** |
|
537
|
+
**data** | [**Item**](Item.md)| Data *(Optional)* | [optional]
|
538
|
+
|
539
|
+
### Return type
|
540
|
+
|
541
|
+
[**Success**](Success.md)
|
542
|
+
|
543
|
+
### Authorization
|
544
|
+
|
545
|
+
[API Key](../README.md#API Key)
|
546
|
+
|
547
|
+
### HTTP request headers
|
548
|
+
|
549
|
+
- **Content-Type**: application/json
|
550
|
+
- **Accept**: application/json
|
551
|
+
|
552
|
+
|
553
|
+
|