radiomanager_client 1.1.6 → 1.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +10 -2
- data/docs/BroadcastApi.md +8 -12
- data/docs/BroadcastRelations.md +1 -0
- data/docs/BroadcastRelationsGenre.md +11 -0
- data/docs/BroadcastResult.md +1 -0
- data/docs/CampaignOutputOnly.md +1 -1
- data/docs/CampaignResult.md +1 -1
- data/docs/CampaignTemplateItem.md +15 -0
- data/docs/ContactRelations.md +1 -1
- data/docs/ContactResult.md +1 -1
- data/docs/Data.md +1 -0
- data/docs/Data1.md +1 -0
- data/docs/Data2.md +12 -0
- data/docs/Data3.md +8 -0
- data/docs/ItemApi.md +170 -0
- data/docs/ProgramApi.md +2 -0
- data/docs/ProgramRelations.md +1 -0
- data/docs/ProgramResult.md +1 -0
- data/docs/StationResultStation.md +3 -0
- data/docs/StationResultStationStartDays.md +14 -0
- data/docs/StoryRelations.md +1 -1
- data/docs/StoryResult.md +1 -1
- data/git_push.sh +1 -1
- data/lib/radiomanager_client.rb +6 -1
- data/lib/radiomanager_client/api/block_api.rb +1 -1
- data/lib/radiomanager_client/api/broadcast_api.rb +11 -17
- data/lib/radiomanager_client/api/campaign_api.rb +1 -1
- data/lib/radiomanager_client/api/contact_api.rb +1 -1
- data/lib/radiomanager_client/api/genre_api.rb +1 -1
- data/lib/radiomanager_client/api/item_api.rb +158 -1
- data/lib/radiomanager_client/api/model_type_api.rb +1 -1
- data/lib/radiomanager_client/api/presenter_api.rb +1 -1
- data/lib/radiomanager_client/api/program_api.rb +12 -1
- data/lib/radiomanager_client/api/station_api.rb +1 -1
- data/lib/radiomanager_client/api/story_api.rb +1 -1
- data/lib/radiomanager_client/api/string_api.rb +1 -1
- data/lib/radiomanager_client/api/tag_api.rb +1 -1
- data/lib/radiomanager_client/api/user_api.rb +1 -1
- data/lib/radiomanager_client/api/visual_slide_api.rb +1 -1
- data/lib/radiomanager_client/api_client.rb +2 -2
- data/lib/radiomanager_client/api_error.rb +1 -1
- data/lib/radiomanager_client/configuration.rb +1 -1
- data/lib/radiomanager_client/models/block.rb +2 -2
- data/lib/radiomanager_client/models/block_relations.rb +2 -2
- data/lib/radiomanager_client/models/block_relations_broadcast.rb +2 -2
- data/lib/radiomanager_client/models/block_relations_broadcast_params.rb +2 -2
- data/lib/radiomanager_client/models/block_relations_items.rb +2 -2
- data/lib/radiomanager_client/models/block_relations_items_params.rb +2 -2
- data/lib/radiomanager_client/models/block_relations_program.rb +2 -2
- data/lib/radiomanager_client/models/block_result.rb +2 -2
- data/lib/radiomanager_client/models/block_results.rb +2 -2
- data/lib/radiomanager_client/models/broadcast.rb +4 -20
- data/lib/radiomanager_client/models/broadcast_data_input.rb +4 -20
- data/lib/radiomanager_client/models/broadcast_epg_day.rb +2 -2
- data/lib/radiomanager_client/models/broadcast_epg_relations.rb +2 -2
- data/lib/radiomanager_client/models/broadcast_epg_result.rb +4 -20
- data/lib/radiomanager_client/models/broadcast_input_only.rb +2 -2
- data/lib/radiomanager_client/models/broadcast_output_only.rb +2 -2
- data/lib/radiomanager_client/models/broadcast_relations.rb +12 -3
- data/lib/radiomanager_client/models/broadcast_relations_blocks.rb +2 -2
- data/lib/radiomanager_client/models/broadcast_relations_genre.rb +215 -0
- data/lib/radiomanager_client/models/broadcast_relations_items.rb +2 -2
- data/lib/radiomanager_client/models/broadcast_relations_items_params.rb +2 -2
- data/lib/radiomanager_client/models/broadcast_relations_model_type.rb +2 -2
- data/lib/radiomanager_client/models/broadcast_relations_presenters.rb +2 -2
- data/lib/radiomanager_client/models/broadcast_relations_tags.rb +2 -2
- data/lib/radiomanager_client/models/broadcast_result.rb +14 -21
- data/lib/radiomanager_client/models/broadcast_results.rb +2 -2
- data/lib/radiomanager_client/models/campaign.rb +2 -2
- data/lib/radiomanager_client/models/campaign_data_input.rb +2 -2
- data/lib/radiomanager_client/models/campaign_output_only.rb +4 -6
- data/lib/radiomanager_client/models/campaign_relations.rb +2 -2
- data/lib/radiomanager_client/models/campaign_relations_items.rb +2 -2
- data/lib/radiomanager_client/models/campaign_relations_items_params.rb +2 -2
- data/lib/radiomanager_client/models/campaign_result.rb +4 -6
- data/lib/radiomanager_client/models/campaign_results.rb +2 -2
- data/lib/radiomanager_client/models/campaign_template_item.rb +251 -0
- data/lib/radiomanager_client/models/contact.rb +2 -2
- data/lib/radiomanager_client/models/contact_data_input.rb +2 -2
- data/lib/radiomanager_client/models/contact_output_only.rb +2 -2
- data/lib/radiomanager_client/models/contact_relations.rb +7 -2
- data/lib/radiomanager_client/models/contact_relations_items.rb +2 -2
- data/lib/radiomanager_client/models/contact_relations_tags.rb +2 -2
- data/lib/radiomanager_client/models/contact_relations_tags_params.rb +2 -2
- data/lib/radiomanager_client/models/contact_result.rb +7 -2
- data/lib/radiomanager_client/models/contact_results.rb +2 -2
- data/lib/radiomanager_client/models/data.rb +12 -3
- data/lib/radiomanager_client/models/data_1.rb +12 -3
- data/lib/radiomanager_client/models/data_2.rb +226 -0
- data/lib/radiomanager_client/models/data_3.rb +188 -0
- data/lib/radiomanager_client/models/epg_results.rb +2 -2
- data/lib/radiomanager_client/models/forbidden.rb +2 -2
- data/lib/radiomanager_client/models/genre.rb +2 -2
- data/lib/radiomanager_client/models/genre_output_only.rb +2 -2
- data/lib/radiomanager_client/models/genre_relations.rb +2 -2
- data/lib/radiomanager_client/models/genre_relations_broadcasts.rb +2 -2
- data/lib/radiomanager_client/models/genre_relations_broadcasts_params.rb +2 -2
- data/lib/radiomanager_client/models/genre_relations_programs.rb +2 -2
- data/lib/radiomanager_client/models/genre_result.rb +2 -2
- data/lib/radiomanager_client/models/genre_results.rb +2 -2
- data/lib/radiomanager_client/models/import_item.rb +2 -2
- data/lib/radiomanager_client/models/inline_response_202.rb +2 -2
- data/lib/radiomanager_client/models/internal_server_error.rb +2 -2
- data/lib/radiomanager_client/models/invite_user_data.rb +2 -2
- data/lib/radiomanager_client/models/invite_user_success.rb +2 -2
- data/lib/radiomanager_client/models/item.rb +2 -2
- data/lib/radiomanager_client/models/item_data_input.rb +2 -2
- data/lib/radiomanager_client/models/item_input_only.rb +2 -2
- data/lib/radiomanager_client/models/item_output_only.rb +2 -2
- data/lib/radiomanager_client/models/item_relations.rb +2 -2
- data/lib/radiomanager_client/models/item_relations_block.rb +2 -2
- data/lib/radiomanager_client/models/item_relations_campaign.rb +2 -2
- data/lib/radiomanager_client/models/item_relations_contacts.rb +2 -2
- data/lib/radiomanager_client/models/item_relations_contacts_params.rb +2 -2
- data/lib/radiomanager_client/models/item_relations_program.rb +2 -2
- data/lib/radiomanager_client/models/item_relations_tags.rb +2 -2
- data/lib/radiomanager_client/models/item_result.rb +2 -2
- data/lib/radiomanager_client/models/item_results.rb +2 -2
- data/lib/radiomanager_client/models/model_type.rb +2 -2
- data/lib/radiomanager_client/models/model_type_options.rb +2 -2
- data/lib/radiomanager_client/models/model_type_output_only.rb +2 -2
- data/lib/radiomanager_client/models/model_type_relations.rb +2 -2
- data/lib/radiomanager_client/models/model_type_relations_broadcasts.rb +2 -2
- data/lib/radiomanager_client/models/model_type_relations_campaigns.rb +2 -2
- data/lib/radiomanager_client/models/model_type_relations_campaigns_params.rb +2 -2
- data/lib/radiomanager_client/models/model_type_relations_contacts.rb +2 -2
- data/lib/radiomanager_client/models/model_type_relations_items.rb +2 -2
- data/lib/radiomanager_client/models/model_type_relations_presenters.rb +2 -2
- data/lib/radiomanager_client/models/model_type_relations_programs.rb +2 -2
- data/lib/radiomanager_client/models/model_type_result.rb +2 -2
- data/lib/radiomanager_client/models/model_type_results.rb +2 -2
- data/lib/radiomanager_client/models/not_found.rb +2 -2
- data/lib/radiomanager_client/models/post_success.rb +2 -2
- data/lib/radiomanager_client/models/presenter.rb +2 -2
- data/lib/radiomanager_client/models/presenter_data_input.rb +2 -2
- data/lib/radiomanager_client/models/presenter_epg_result.rb +2 -2
- data/lib/radiomanager_client/models/presenter_output_only.rb +2 -2
- data/lib/radiomanager_client/models/presenter_relations.rb +2 -2
- data/lib/radiomanager_client/models/presenter_relations_broadcasts.rb +2 -2
- data/lib/radiomanager_client/models/presenter_relations_programs.rb +2 -2
- data/lib/radiomanager_client/models/presenter_relations_programs_params.rb +2 -2
- data/lib/radiomanager_client/models/presenter_result.rb +2 -2
- data/lib/radiomanager_client/models/presenter_results.rb +2 -2
- data/lib/radiomanager_client/models/program.rb +2 -2
- data/lib/radiomanager_client/models/program_data_input.rb +2 -2
- data/lib/radiomanager_client/models/program_input_only.rb +2 -2
- data/lib/radiomanager_client/models/program_output_only.rb +2 -2
- data/lib/radiomanager_client/models/program_relations.rb +12 -3
- data/lib/radiomanager_client/models/program_relations_blocks.rb +2 -2
- data/lib/radiomanager_client/models/program_relations_broadcasts.rb +2 -2
- data/lib/radiomanager_client/models/program_relations_items.rb +2 -2
- data/lib/radiomanager_client/models/program_relations_items_params.rb +2 -2
- data/lib/radiomanager_client/models/program_relations_presenters.rb +2 -2
- data/lib/radiomanager_client/models/program_relations_tags.rb +2 -2
- data/lib/radiomanager_client/models/program_result.rb +12 -3
- data/lib/radiomanager_client/models/program_results.rb +2 -2
- data/lib/radiomanager_client/models/read_only.rb +2 -2
- data/lib/radiomanager_client/models/relations_placeholder.rb +2 -2
- data/lib/radiomanager_client/models/station_result.rb +2 -2
- data/lib/radiomanager_client/models/station_result_station.rb +33 -6
- data/lib/radiomanager_client/models/station_result_station_start_days.rb +242 -0
- data/lib/radiomanager_client/models/story.rb +2 -2
- data/lib/radiomanager_client/models/story_data_input.rb +2 -2
- data/lib/radiomanager_client/models/story_input_only.rb +2 -2
- data/lib/radiomanager_client/models/story_output_only.rb +2 -2
- data/lib/radiomanager_client/models/story_relations.rb +7 -2
- data/lib/radiomanager_client/models/story_relations_items.rb +2 -2
- data/lib/radiomanager_client/models/story_relations_tags.rb +2 -2
- data/lib/radiomanager_client/models/story_relations_tags_params.rb +2 -2
- data/lib/radiomanager_client/models/story_result.rb +7 -2
- data/lib/radiomanager_client/models/story_results.rb +2 -2
- data/lib/radiomanager_client/models/success.rb +2 -2
- data/lib/radiomanager_client/models/tag.rb +2 -2
- data/lib/radiomanager_client/models/tag_data_input.rb +2 -2
- data/lib/radiomanager_client/models/tag_output_only.rb +2 -2
- data/lib/radiomanager_client/models/tag_relations.rb +2 -2
- data/lib/radiomanager_client/models/tag_relations_broadcasts.rb +2 -2
- data/lib/radiomanager_client/models/tag_relations_broadcasts_params.rb +2 -2
- data/lib/radiomanager_client/models/tag_relations_contacts.rb +2 -2
- data/lib/radiomanager_client/models/tag_relations_items.rb +2 -2
- data/lib/radiomanager_client/models/tag_relations_programs.rb +2 -2
- data/lib/radiomanager_client/models/tag_result.rb +2 -2
- data/lib/radiomanager_client/models/tag_results.rb +2 -2
- data/lib/radiomanager_client/models/text_string.rb +2 -2
- data/lib/radiomanager_client/models/too_many_requests.rb +2 -2
- data/lib/radiomanager_client/models/unprocessable_entity.rb +2 -2
- data/lib/radiomanager_client/models/user_result.rb +2 -2
- data/lib/radiomanager_client/models/user_result_roles.rb +2 -2
- data/lib/radiomanager_client/models/user_result_settings.rb +2 -2
- data/lib/radiomanager_client/models/user_results.rb +2 -2
- data/lib/radiomanager_client/models/visual_result.rb +2 -2
- data/lib/radiomanager_client/version.rb +1 -1
- data/radiomanager_client.gemspec +2 -2
- data/spec/api/block_api_spec.rb +1 -1
- data/spec/api/broadcast_api_spec.rb +5 -7
- data/spec/api/campaign_api_spec.rb +1 -1
- data/spec/api/contact_api_spec.rb +1 -1
- data/spec/api/genre_api_spec.rb +1 -1
- data/spec/api/item_api_spec.rb +38 -1
- data/spec/api/model_type_api_spec.rb +1 -1
- data/spec/api/presenter_api_spec.rb +1 -1
- data/spec/api/program_api_spec.rb +2 -1
- data/spec/api/station_api_spec.rb +1 -1
- data/spec/api/story_api_spec.rb +1 -1
- data/spec/api/string_api_spec.rb +1 -1
- data/spec/api/tag_api_spec.rb +1 -1
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/api/visual_slide_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/block_relations_broadcast_params_spec.rb +1 -1
- data/spec/models/block_relations_broadcast_spec.rb +1 -1
- data/spec/models/block_relations_items_params_spec.rb +1 -1
- data/spec/models/block_relations_items_spec.rb +1 -1
- data/spec/models/block_relations_program_spec.rb +1 -1
- data/spec/models/block_relations_spec.rb +1 -1
- data/spec/models/block_result_spec.rb +1 -1
- data/spec/models/block_results_spec.rb +1 -1
- data/spec/models/block_spec.rb +1 -1
- data/spec/models/broadcast_data_input_spec.rb +2 -2
- data/spec/models/broadcast_epg_day_spec.rb +1 -1
- data/spec/models/broadcast_epg_relations_spec.rb +1 -1
- data/spec/models/broadcast_epg_result_spec.rb +2 -2
- data/spec/models/broadcast_input_only_spec.rb +1 -1
- data/spec/models/broadcast_output_only_spec.rb +1 -1
- data/spec/models/broadcast_relations_blocks_spec.rb +1 -1
- data/spec/models/broadcast_relations_genre_spec.rb +60 -0
- data/spec/models/broadcast_relations_items_params_spec.rb +1 -1
- data/spec/models/broadcast_relations_items_spec.rb +1 -1
- data/spec/models/broadcast_relations_model_type_spec.rb +1 -1
- data/spec/models/broadcast_relations_presenters_spec.rb +1 -1
- data/spec/models/broadcast_relations_spec.rb +7 -1
- data/spec/models/broadcast_relations_tags_spec.rb +1 -1
- data/spec/models/broadcast_result_spec.rb +8 -2
- data/spec/models/broadcast_results_spec.rb +1 -1
- data/spec/models/broadcast_spec.rb +2 -2
- data/spec/models/campaign_data_input_spec.rb +1 -1
- data/spec/models/campaign_output_only_spec.rb +1 -1
- data/spec/models/campaign_relations_items_params_spec.rb +1 -1
- data/spec/models/campaign_relations_items_spec.rb +1 -1
- data/spec/models/campaign_relations_spec.rb +1 -1
- data/spec/models/campaign_result_spec.rb +1 -1
- data/spec/models/campaign_results_spec.rb +1 -1
- data/spec/models/campaign_spec.rb +1 -1
- data/spec/models/campaign_template_item_spec.rb +84 -0
- data/spec/models/contact_data_input_spec.rb +1 -1
- data/spec/models/contact_output_only_spec.rb +1 -1
- data/spec/models/contact_relations_items_spec.rb +1 -1
- data/spec/models/contact_relations_spec.rb +1 -1
- data/spec/models/contact_relations_tags_params_spec.rb +1 -1
- data/spec/models/contact_relations_tags_spec.rb +1 -1
- data/spec/models/contact_result_spec.rb +1 -1
- data/spec/models/contact_results_spec.rb +1 -1
- data/spec/models/contact_spec.rb +1 -1
- data/spec/models/data_1_spec.rb +7 -1
- data/spec/models/data_2_spec.rb +66 -0
- data/spec/models/data_3_spec.rb +42 -0
- data/spec/models/data_spec.rb +7 -1
- data/spec/models/epg_results_spec.rb +1 -1
- data/spec/models/forbidden_spec.rb +1 -1
- data/spec/models/genre_output_only_spec.rb +1 -1
- data/spec/models/genre_relations_broadcasts_params_spec.rb +1 -1
- data/spec/models/genre_relations_broadcasts_spec.rb +1 -1
- data/spec/models/genre_relations_programs_spec.rb +1 -1
- data/spec/models/genre_relations_spec.rb +1 -1
- data/spec/models/genre_result_spec.rb +1 -1
- data/spec/models/genre_results_spec.rb +1 -1
- data/spec/models/genre_spec.rb +1 -1
- data/spec/models/import_item_spec.rb +1 -1
- data/spec/models/inline_response_202_spec.rb +1 -1
- data/spec/models/internal_server_error_spec.rb +1 -1
- data/spec/models/invite_user_data_spec.rb +1 -1
- data/spec/models/invite_user_success_spec.rb +1 -1
- data/spec/models/item_data_input_spec.rb +1 -1
- data/spec/models/item_input_only_spec.rb +1 -1
- data/spec/models/item_output_only_spec.rb +1 -1
- data/spec/models/item_relations_block_spec.rb +1 -1
- data/spec/models/item_relations_campaign_spec.rb +1 -1
- data/spec/models/item_relations_contacts_params_spec.rb +1 -1
- data/spec/models/item_relations_contacts_spec.rb +1 -1
- data/spec/models/item_relations_program_spec.rb +1 -1
- data/spec/models/item_relations_spec.rb +1 -1
- data/spec/models/item_relations_tags_spec.rb +1 -1
- data/spec/models/item_result_spec.rb +1 -1
- data/spec/models/item_results_spec.rb +1 -1
- data/spec/models/item_spec.rb +1 -1
- data/spec/models/model_type_options_spec.rb +1 -1
- data/spec/models/model_type_output_only_spec.rb +1 -1
- data/spec/models/model_type_relations_broadcasts_spec.rb +1 -1
- data/spec/models/model_type_relations_campaigns_params_spec.rb +1 -1
- data/spec/models/model_type_relations_campaigns_spec.rb +1 -1
- data/spec/models/model_type_relations_contacts_spec.rb +1 -1
- data/spec/models/model_type_relations_items_spec.rb +1 -1
- data/spec/models/model_type_relations_presenters_spec.rb +1 -1
- data/spec/models/model_type_relations_programs_spec.rb +1 -1
- data/spec/models/model_type_relations_spec.rb +1 -1
- data/spec/models/model_type_result_spec.rb +1 -1
- data/spec/models/model_type_results_spec.rb +1 -1
- data/spec/models/model_type_spec.rb +1 -1
- data/spec/models/not_found_spec.rb +1 -1
- data/spec/models/post_success_spec.rb +1 -1
- data/spec/models/presenter_data_input_spec.rb +1 -1
- data/spec/models/presenter_epg_result_spec.rb +1 -1
- data/spec/models/presenter_output_only_spec.rb +1 -1
- data/spec/models/presenter_relations_broadcasts_spec.rb +1 -1
- data/spec/models/presenter_relations_programs_params_spec.rb +1 -1
- data/spec/models/presenter_relations_programs_spec.rb +1 -1
- data/spec/models/presenter_relations_spec.rb +1 -1
- data/spec/models/presenter_result_spec.rb +1 -1
- data/spec/models/presenter_results_spec.rb +1 -1
- data/spec/models/presenter_spec.rb +1 -1
- data/spec/models/program_data_input_spec.rb +1 -1
- data/spec/models/program_input_only_spec.rb +1 -1
- data/spec/models/program_output_only_spec.rb +1 -1
- data/spec/models/program_relations_blocks_spec.rb +1 -1
- data/spec/models/program_relations_broadcasts_spec.rb +1 -1
- data/spec/models/program_relations_items_params_spec.rb +1 -1
- data/spec/models/program_relations_items_spec.rb +1 -1
- data/spec/models/program_relations_presenters_spec.rb +1 -1
- data/spec/models/program_relations_spec.rb +7 -1
- data/spec/models/program_relations_tags_spec.rb +1 -1
- data/spec/models/program_result_spec.rb +7 -1
- data/spec/models/program_results_spec.rb +1 -1
- data/spec/models/program_spec.rb +1 -1
- data/spec/models/read_only_spec.rb +1 -1
- data/spec/models/relations_placeholder_spec.rb +1 -1
- data/spec/models/station_result_spec.rb +1 -1
- data/spec/models/station_result_station_spec.rb +19 -1
- data/spec/models/station_result_station_start_days_spec.rb +78 -0
- data/spec/models/story_data_input_spec.rb +1 -1
- data/spec/models/story_input_only_spec.rb +1 -1
- data/spec/models/story_output_only_spec.rb +1 -1
- data/spec/models/story_relations_items_spec.rb +1 -1
- data/spec/models/story_relations_spec.rb +1 -1
- data/spec/models/story_relations_tags_params_spec.rb +1 -1
- data/spec/models/story_relations_tags_spec.rb +1 -1
- data/spec/models/story_result_spec.rb +1 -1
- data/spec/models/story_results_spec.rb +1 -1
- data/spec/models/story_spec.rb +1 -1
- data/spec/models/success_spec.rb +1 -1
- data/spec/models/tag_data_input_spec.rb +1 -1
- data/spec/models/tag_output_only_spec.rb +1 -1
- data/spec/models/tag_relations_broadcasts_params_spec.rb +1 -1
- data/spec/models/tag_relations_broadcasts_spec.rb +1 -1
- data/spec/models/tag_relations_contacts_spec.rb +1 -1
- data/spec/models/tag_relations_items_spec.rb +1 -1
- data/spec/models/tag_relations_programs_spec.rb +1 -1
- data/spec/models/tag_relations_spec.rb +1 -1
- data/spec/models/tag_result_spec.rb +1 -1
- data/spec/models/tag_results_spec.rb +1 -1
- data/spec/models/tag_spec.rb +1 -1
- data/spec/models/text_string_spec.rb +1 -1
- data/spec/models/too_many_requests_spec.rb +1 -1
- data/spec/models/unprocessable_entity_spec.rb +1 -1
- data/spec/models/user_result_roles_spec.rb +1 -1
- data/spec/models/user_result_settings_spec.rb +1 -1
- data/spec/models/user_result_spec.rb +1 -1
- data/spec/models/user_results_spec.rb +1 -1
- data/spec/models/visual_result_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +23 -3
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
Contact: support@pluxbox.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -326,7 +326,7 @@ module RadioManagerClient
|
|
326
326
|
end
|
327
327
|
|
328
328
|
# Show invalid properties with the reasons. Usually used together with valid?
|
329
|
-
# @return Array for valid
|
329
|
+
# @return Array for valid properties with the reasons
|
330
330
|
def list_invalid_properties
|
331
331
|
invalid_properties = Array.new
|
332
332
|
if @id.nil?
|
@@ -345,10 +345,6 @@ module RadioManagerClient
|
|
345
345
|
invalid_properties.push("invalid value for 'deleted_at', deleted_at cannot be nil.")
|
346
346
|
end
|
347
347
|
|
348
|
-
if !@pty_code_id.nil? && @pty_code_id < 1
|
349
|
-
invalid_properties.push("invalid value for 'pty_code_id', must be greater than or equal to 1.")
|
350
|
-
end
|
351
|
-
|
352
348
|
return invalid_properties
|
353
349
|
end
|
354
350
|
|
@@ -359,33 +355,21 @@ module RadioManagerClient
|
|
359
355
|
return false if @updated_at.nil?
|
360
356
|
return false if @created_at.nil?
|
361
357
|
return false if @deleted_at.nil?
|
362
|
-
repetition_type_validator = EnumAttributeValidator.new('String', ["1 week", "2
|
358
|
+
repetition_type_validator = EnumAttributeValidator.new('String', ["1 week", "2 week", "4 week", "1 month"])
|
363
359
|
return false unless repetition_type_validator.valid?(@repetition_type)
|
364
|
-
return false if !@pty_code_id.nil? && @pty_code_id < 1
|
365
360
|
return true
|
366
361
|
end
|
367
362
|
|
368
363
|
# Custom attribute writer method checking allowed values (enum).
|
369
364
|
# @param [Object] repetition_type Object to be assigned
|
370
365
|
def repetition_type=(repetition_type)
|
371
|
-
validator = EnumAttributeValidator.new('String', ["1 week", "2
|
366
|
+
validator = EnumAttributeValidator.new('String', ["1 week", "2 week", "4 week", "1 month"])
|
372
367
|
unless validator.valid?(repetition_type)
|
373
368
|
fail ArgumentError, "invalid value for 'repetition_type', must be one of #{validator.allowable_values}."
|
374
369
|
end
|
375
370
|
@repetition_type = repetition_type
|
376
371
|
end
|
377
372
|
|
378
|
-
# Custom attribute writer method with validation
|
379
|
-
# @param [Object] pty_code_id Value to be assigned
|
380
|
-
def pty_code_id=(pty_code_id)
|
381
|
-
|
382
|
-
if !pty_code_id.nil? && pty_code_id < 1
|
383
|
-
fail ArgumentError, "invalid value for 'pty_code_id', must be greater than or equal to 1."
|
384
|
-
end
|
385
|
-
|
386
|
-
@pty_code_id = pty_code_id
|
387
|
-
end
|
388
|
-
|
389
373
|
# Checks equality by comparing each attribute.
|
390
374
|
# @param [Object] Object to be compared
|
391
375
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
Contact: support@pluxbox.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -59,7 +59,7 @@ module RadioManagerClient
|
|
59
59
|
end
|
60
60
|
|
61
61
|
# Show invalid properties with the reasons. Usually used together with valid?
|
62
|
-
# @return Array for valid
|
62
|
+
# @return Array for valid properties with the reasons
|
63
63
|
def list_invalid_properties
|
64
64
|
invalid_properties = Array.new
|
65
65
|
return invalid_properties
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
Contact: support@pluxbox.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -79,7 +79,7 @@ module RadioManagerClient
|
|
79
79
|
end
|
80
80
|
|
81
81
|
# Show invalid properties with the reasons. Usually used together with valid?
|
82
|
-
# @return Array for valid
|
82
|
+
# @return Array for valid properties with the reasons
|
83
83
|
def list_invalid_properties
|
84
84
|
invalid_properties = Array.new
|
85
85
|
if @id.nil?
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
Contact: support@pluxbox.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,6 +15,8 @@ require 'date'
|
|
15
15
|
module RadioManagerClient
|
16
16
|
|
17
17
|
class BroadcastRelations
|
18
|
+
attr_accessor :genre
|
19
|
+
|
18
20
|
attr_accessor :items
|
19
21
|
|
20
22
|
attr_accessor :blocks
|
@@ -31,6 +33,7 @@ module RadioManagerClient
|
|
31
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
34
|
def self.attribute_map
|
33
35
|
{
|
36
|
+
:'genre' => :'genre',
|
34
37
|
:'items' => :'items',
|
35
38
|
:'blocks' => :'blocks',
|
36
39
|
:'program' => :'program',
|
@@ -43,6 +46,7 @@ module RadioManagerClient
|
|
43
46
|
# Attribute type mapping.
|
44
47
|
def self.swagger_types
|
45
48
|
{
|
49
|
+
:'genre' => :'BroadcastRelationsGenre',
|
46
50
|
:'items' => :'BroadcastRelationsItems',
|
47
51
|
:'blocks' => :'BroadcastRelationsBlocks',
|
48
52
|
:'program' => :'BlockRelationsProgram',
|
@@ -60,6 +64,10 @@ module RadioManagerClient
|
|
60
64
|
# convert string to symbol for hash key
|
61
65
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
62
66
|
|
67
|
+
if attributes.has_key?(:'genre')
|
68
|
+
self.genre = attributes[:'genre']
|
69
|
+
end
|
70
|
+
|
63
71
|
if attributes.has_key?(:'items')
|
64
72
|
self.items = attributes[:'items']
|
65
73
|
end
|
@@ -87,7 +95,7 @@ module RadioManagerClient
|
|
87
95
|
end
|
88
96
|
|
89
97
|
# Show invalid properties with the reasons. Usually used together with valid?
|
90
|
-
# @return Array for valid
|
98
|
+
# @return Array for valid properties with the reasons
|
91
99
|
def list_invalid_properties
|
92
100
|
invalid_properties = Array.new
|
93
101
|
return invalid_properties
|
@@ -104,6 +112,7 @@ module RadioManagerClient
|
|
104
112
|
def ==(o)
|
105
113
|
return true if self.equal?(o)
|
106
114
|
self.class == o.class &&
|
115
|
+
genre == o.genre &&
|
107
116
|
items == o.items &&
|
108
117
|
blocks == o.blocks &&
|
109
118
|
program == o.program &&
|
@@ -121,7 +130,7 @@ module RadioManagerClient
|
|
121
130
|
# Calculates hash code according to all attributes.
|
122
131
|
# @return [Fixnum] Hash code
|
123
132
|
def hash
|
124
|
-
[items, blocks, program, tags, presenters, model_type].hash
|
133
|
+
[genre, items, blocks, program, tags, presenters, model_type].hash
|
125
134
|
end
|
126
135
|
|
127
136
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
Contact: support@pluxbox.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -71,7 +71,7 @@ module RadioManagerClient
|
|
71
71
|
end
|
72
72
|
|
73
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
74
|
-
# @return Array for valid
|
74
|
+
# @return Array for valid properties with the reasons
|
75
75
|
def list_invalid_properties
|
76
76
|
invalid_properties = Array.new
|
77
77
|
return invalid_properties
|
@@ -0,0 +1,215 @@
|
|
1
|
+
=begin
|
2
|
+
#RadioManager
|
3
|
+
|
4
|
+
#RadioManager
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0
|
7
|
+
Contact: support@pluxbox.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module RadioManagerClient
|
16
|
+
|
17
|
+
class BroadcastRelationsGenre
|
18
|
+
attr_accessor :href
|
19
|
+
|
20
|
+
attr_accessor :model
|
21
|
+
|
22
|
+
attr_accessor :operation
|
23
|
+
|
24
|
+
attr_accessor :params
|
25
|
+
|
26
|
+
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
28
|
+
def self.attribute_map
|
29
|
+
{
|
30
|
+
:'href' => :'href',
|
31
|
+
:'model' => :'model',
|
32
|
+
:'operation' => :'operation',
|
33
|
+
:'params' => :'params'
|
34
|
+
}
|
35
|
+
end
|
36
|
+
|
37
|
+
# Attribute type mapping.
|
38
|
+
def self.swagger_types
|
39
|
+
{
|
40
|
+
:'href' => :'String',
|
41
|
+
:'model' => :'String',
|
42
|
+
:'operation' => :'String',
|
43
|
+
:'params' => :'BlockRelationsBroadcastParams'
|
44
|
+
}
|
45
|
+
end
|
46
|
+
|
47
|
+
# Initializes the object
|
48
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
49
|
+
def initialize(attributes = {})
|
50
|
+
return unless attributes.is_a?(Hash)
|
51
|
+
|
52
|
+
# convert string to symbol for hash key
|
53
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
54
|
+
|
55
|
+
if attributes.has_key?(:'href')
|
56
|
+
self.href = attributes[:'href']
|
57
|
+
end
|
58
|
+
|
59
|
+
if attributes.has_key?(:'model')
|
60
|
+
self.model = attributes[:'model']
|
61
|
+
end
|
62
|
+
|
63
|
+
if attributes.has_key?(:'operation')
|
64
|
+
self.operation = attributes[:'operation']
|
65
|
+
end
|
66
|
+
|
67
|
+
if attributes.has_key?(:'params')
|
68
|
+
self.params = attributes[:'params']
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
72
|
+
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
74
|
+
# @return Array for valid properties with the reasons
|
75
|
+
def list_invalid_properties
|
76
|
+
invalid_properties = Array.new
|
77
|
+
return invalid_properties
|
78
|
+
end
|
79
|
+
|
80
|
+
# Check to see if the all the properties in the model are valid
|
81
|
+
# @return true if the model is valid
|
82
|
+
def valid?
|
83
|
+
return true
|
84
|
+
end
|
85
|
+
|
86
|
+
# Checks equality by comparing each attribute.
|
87
|
+
# @param [Object] Object to be compared
|
88
|
+
def ==(o)
|
89
|
+
return true if self.equal?(o)
|
90
|
+
self.class == o.class &&
|
91
|
+
href == o.href &&
|
92
|
+
model == o.model &&
|
93
|
+
operation == o.operation &&
|
94
|
+
params == o.params
|
95
|
+
end
|
96
|
+
|
97
|
+
# @see the `==` method
|
98
|
+
# @param [Object] Object to be compared
|
99
|
+
def eql?(o)
|
100
|
+
self == o
|
101
|
+
end
|
102
|
+
|
103
|
+
# Calculates hash code according to all attributes.
|
104
|
+
# @return [Fixnum] Hash code
|
105
|
+
def hash
|
106
|
+
[href, model, operation, params].hash
|
107
|
+
end
|
108
|
+
|
109
|
+
# Builds the object from hash
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
111
|
+
# @return [Object] Returns the model itself
|
112
|
+
def build_from_hash(attributes)
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
114
|
+
self.class.swagger_types.each_pair do |key, type|
|
115
|
+
if type =~ /\AArray<(.*)>/i
|
116
|
+
# check to ensure the input is an array given that the the attribute
|
117
|
+
# is documented as an array but the input is not
|
118
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
119
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
120
|
+
end
|
121
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
122
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
123
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
124
|
+
end
|
125
|
+
|
126
|
+
self
|
127
|
+
end
|
128
|
+
|
129
|
+
# Deserializes the data based on type
|
130
|
+
# @param string type Data type
|
131
|
+
# @param string value Value to be deserialized
|
132
|
+
# @return [Object] Deserialized data
|
133
|
+
def _deserialize(type, value)
|
134
|
+
case type.to_sym
|
135
|
+
when :DateTime
|
136
|
+
DateTime.parse(value)
|
137
|
+
when :Date
|
138
|
+
Date.parse(value)
|
139
|
+
when :String
|
140
|
+
value.to_s
|
141
|
+
when :Integer
|
142
|
+
value.to_i
|
143
|
+
when :Float
|
144
|
+
value.to_f
|
145
|
+
when :BOOLEAN
|
146
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
147
|
+
true
|
148
|
+
else
|
149
|
+
false
|
150
|
+
end
|
151
|
+
when :Object
|
152
|
+
# generic object (usually a Hash), return directly
|
153
|
+
value
|
154
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
155
|
+
inner_type = Regexp.last_match[:inner_type]
|
156
|
+
value.map { |v| _deserialize(inner_type, v) }
|
157
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
158
|
+
k_type = Regexp.last_match[:k_type]
|
159
|
+
v_type = Regexp.last_match[:v_type]
|
160
|
+
{}.tap do |hash|
|
161
|
+
value.each do |k, v|
|
162
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
163
|
+
end
|
164
|
+
end
|
165
|
+
else # model
|
166
|
+
temp_model = RadioManagerClient.const_get(type).new
|
167
|
+
temp_model.build_from_hash(value)
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
# Returns the string representation of the object
|
172
|
+
# @return [String] String presentation of the object
|
173
|
+
def to_s
|
174
|
+
to_hash.to_s
|
175
|
+
end
|
176
|
+
|
177
|
+
# to_body is an alias to to_hash (backward compatibility)
|
178
|
+
# @return [Hash] Returns the object in the form of hash
|
179
|
+
def to_body
|
180
|
+
to_hash
|
181
|
+
end
|
182
|
+
|
183
|
+
# Returns the object in the form of hash
|
184
|
+
# @return [Hash] Returns the object in the form of hash
|
185
|
+
def to_hash
|
186
|
+
hash = {}
|
187
|
+
self.class.attribute_map.each_pair do |attr, param|
|
188
|
+
value = self.send(attr)
|
189
|
+
next if value.nil?
|
190
|
+
hash[param] = _to_hash(value)
|
191
|
+
end
|
192
|
+
hash
|
193
|
+
end
|
194
|
+
|
195
|
+
# Outputs non-array value in the form of hash
|
196
|
+
# For object, use to_hash. Otherwise, just return the value
|
197
|
+
# @param [Object] value Any valid value
|
198
|
+
# @return [Hash] Returns the value in the form of hash
|
199
|
+
def _to_hash(value)
|
200
|
+
if value.is_a?(Array)
|
201
|
+
value.compact.map{ |v| _to_hash(v) }
|
202
|
+
elsif value.is_a?(Hash)
|
203
|
+
{}.tap do |hash|
|
204
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
205
|
+
end
|
206
|
+
elsif value.respond_to? :to_hash
|
207
|
+
value.to_hash
|
208
|
+
else
|
209
|
+
value
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
213
|
+
end
|
214
|
+
|
215
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
Contact: support@pluxbox.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -71,7 +71,7 @@ module RadioManagerClient
|
|
71
71
|
end
|
72
72
|
|
73
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
74
|
-
# @return Array for valid
|
74
|
+
# @return Array for valid properties with the reasons
|
75
75
|
def list_invalid_properties
|
76
76
|
invalid_properties = Array.new
|
77
77
|
return invalid_properties
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
Contact: support@pluxbox.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -47,7 +47,7 @@ module RadioManagerClient
|
|
47
47
|
end
|
48
48
|
|
49
49
|
# Show invalid properties with the reasons. Usually used together with valid?
|
50
|
-
# @return Array for valid
|
50
|
+
# @return Array for valid properties with the reasons
|
51
51
|
def list_invalid_properties
|
52
52
|
invalid_properties = Array.new
|
53
53
|
return invalid_properties
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
Contact: support@pluxbox.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -71,7 +71,7 @@ module RadioManagerClient
|
|
71
71
|
end
|
72
72
|
|
73
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
74
|
-
# @return Array for valid
|
74
|
+
# @return Array for valid properties with the reasons
|
75
75
|
def list_invalid_properties
|
76
76
|
invalid_properties = Array.new
|
77
77
|
return invalid_properties
|