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,78 @@
|
|
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.2.3-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require "uri"
|
14
|
+
|
15
|
+
module RadioManagerClient
|
16
|
+
class ExternalMessageApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
|
23
|
+
# Queue External Message.
|
24
|
+
# Queue External Message.
|
25
|
+
# @param message Data **(Required)**
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @return [Object]
|
28
|
+
def queue_external_message(message, opts = {})
|
29
|
+
data, _status_code, _headers = queue_external_message_with_http_info(message, opts)
|
30
|
+
return data
|
31
|
+
end
|
32
|
+
|
33
|
+
# Queue External Message.
|
34
|
+
# Queue External Message.
|
35
|
+
# @param message Data **(Required)**
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
38
|
+
def queue_external_message_with_http_info(message, opts = {})
|
39
|
+
if @api_client.config.debugging
|
40
|
+
@api_client.config.logger.debug "Calling API: ExternalMessageApi.queue_external_message ..."
|
41
|
+
end
|
42
|
+
# verify the required parameter 'message' is set
|
43
|
+
if @api_client.config.client_side_validation && message.nil?
|
44
|
+
fail ArgumentError, "Missing the required parameter 'message' when calling ExternalMessageApi.queue_external_message"
|
45
|
+
end
|
46
|
+
# resource path
|
47
|
+
local_var_path = "/externalmessagequeue"
|
48
|
+
|
49
|
+
# query parameters
|
50
|
+
query_params = {}
|
51
|
+
|
52
|
+
# header parameters
|
53
|
+
header_params = {}
|
54
|
+
# HTTP header 'Accept' (if needed)
|
55
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
56
|
+
# HTTP header 'Content-Type'
|
57
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
58
|
+
|
59
|
+
# form parameters
|
60
|
+
form_params = {}
|
61
|
+
|
62
|
+
# http body (model)
|
63
|
+
post_body = @api_client.object_to_http_body(message)
|
64
|
+
auth_names = ['API Key']
|
65
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
66
|
+
:header_params => header_params,
|
67
|
+
:query_params => query_params,
|
68
|
+
:form_params => form_params,
|
69
|
+
:body => post_body,
|
70
|
+
:auth_names => auth_names,
|
71
|
+
:return_type => 'Object')
|
72
|
+
if @api_client.config.debugging
|
73
|
+
@api_client.config.logger.debug "API called: ExternalMessageApi#queue_external_message\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
74
|
+
end
|
75
|
+
return data, status_code, headers
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -0,0 +1,153 @@
|
|
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.2.3-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require "uri"
|
14
|
+
|
15
|
+
module RadioManagerClient
|
16
|
+
class GenreApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
|
23
|
+
# Get genre by id
|
24
|
+
# Get genre by id
|
25
|
+
# @param id ID of Genre **(Required)**
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
|
28
|
+
# @return [GenreResult]
|
29
|
+
def get_genre_by_id(id, opts = {})
|
30
|
+
data, _status_code, _headers = get_genre_by_id_with_http_info(id, opts)
|
31
|
+
return data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Get genre by id
|
35
|
+
# Get genre by id
|
36
|
+
# @param id ID of Genre **(Required)**
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
|
39
|
+
# @return [Array<(GenreResult, Fixnum, Hash)>] GenreResult data, response status code and response headers
|
40
|
+
def get_genre_by_id_with_http_info(id, opts = {})
|
41
|
+
if @api_client.config.debugging
|
42
|
+
@api_client.config.logger.debug "Calling API: GenreApi.get_genre_by_id ..."
|
43
|
+
end
|
44
|
+
# verify the required parameter 'id' is set
|
45
|
+
if @api_client.config.client_side_validation && id.nil?
|
46
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling GenreApi.get_genre_by_id"
|
47
|
+
end
|
48
|
+
if @api_client.config.client_side_validation && id < 0
|
49
|
+
fail ArgumentError, 'invalid value for "id" when calling GenreApi.get_genre_by_id, must be greater than or equal to 0.'
|
50
|
+
end
|
51
|
+
|
52
|
+
# resource path
|
53
|
+
local_var_path = "/genres/{id}".sub('{' + 'id' + '}', id.to_s)
|
54
|
+
|
55
|
+
# query parameters
|
56
|
+
query_params = {}
|
57
|
+
query_params[:'_external_station_id'] = opts[:'_external_station_id'] if !opts[:'_external_station_id'].nil?
|
58
|
+
|
59
|
+
# header parameters
|
60
|
+
header_params = {}
|
61
|
+
# HTTP header 'Accept' (if needed)
|
62
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
63
|
+
# HTTP header 'Content-Type'
|
64
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
65
|
+
|
66
|
+
# form parameters
|
67
|
+
form_params = {}
|
68
|
+
|
69
|
+
# http body (model)
|
70
|
+
post_body = nil
|
71
|
+
auth_names = ['API Key']
|
72
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
73
|
+
:header_params => header_params,
|
74
|
+
:query_params => query_params,
|
75
|
+
:form_params => form_params,
|
76
|
+
:body => post_body,
|
77
|
+
:auth_names => auth_names,
|
78
|
+
:return_type => 'GenreResult')
|
79
|
+
if @api_client.config.debugging
|
80
|
+
@api_client.config.logger.debug "API called: GenreApi#get_genre_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
81
|
+
end
|
82
|
+
return data, status_code, headers
|
83
|
+
end
|
84
|
+
|
85
|
+
# List all genres.
|
86
|
+
# List all genres.
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @option opts [Integer] :page Current page *(Optional)*
|
89
|
+
# @option opts [Integer] :parent_id Search on Parent ID of Genre *(Optional)*
|
90
|
+
# @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
|
91
|
+
# @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)* `(Relation)`
|
92
|
+
# @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
|
93
|
+
# @return [GenreResults]
|
94
|
+
def list_genres(opts = {})
|
95
|
+
data, _status_code, _headers = list_genres_with_http_info(opts)
|
96
|
+
return data
|
97
|
+
end
|
98
|
+
|
99
|
+
# List all genres.
|
100
|
+
# List all genres.
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [Integer] :page Current page *(Optional)*
|
103
|
+
# @option opts [Integer] :parent_id Search on Parent ID of Genre *(Optional)*
|
104
|
+
# @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
|
105
|
+
# @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)* `(Relation)`
|
106
|
+
# @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
|
107
|
+
# @return [Array<(GenreResults, Fixnum, Hash)>] GenreResults data, response status code and response headers
|
108
|
+
def list_genres_with_http_info(opts = {})
|
109
|
+
if @api_client.config.debugging
|
110
|
+
@api_client.config.logger.debug "Calling API: GenreApi.list_genres ..."
|
111
|
+
end
|
112
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 0
|
113
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling GenreApi.list_genres, must be greater than or equal to 0.'
|
114
|
+
end
|
115
|
+
|
116
|
+
# resource path
|
117
|
+
local_var_path = "/genres"
|
118
|
+
|
119
|
+
# query parameters
|
120
|
+
query_params = {}
|
121
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
122
|
+
query_params[:'parent_id'] = opts[:'parent_id'] if !opts[:'parent_id'].nil?
|
123
|
+
query_params[:'program_id'] = opts[:'program_id'] if !opts[:'program_id'].nil?
|
124
|
+
query_params[:'broadcast_id'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
125
|
+
query_params[:'_external_station_id'] = opts[:'_external_station_id'] if !opts[:'_external_station_id'].nil?
|
126
|
+
|
127
|
+
# header parameters
|
128
|
+
header_params = {}
|
129
|
+
# HTTP header 'Accept' (if needed)
|
130
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
131
|
+
# HTTP header 'Content-Type'
|
132
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
133
|
+
|
134
|
+
# form parameters
|
135
|
+
form_params = {}
|
136
|
+
|
137
|
+
# http body (model)
|
138
|
+
post_body = nil
|
139
|
+
auth_names = ['API Key']
|
140
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
141
|
+
:header_params => header_params,
|
142
|
+
:query_params => query_params,
|
143
|
+
:form_params => form_params,
|
144
|
+
:body => post_body,
|
145
|
+
:auth_names => auth_names,
|
146
|
+
:return_type => 'GenreResults')
|
147
|
+
if @api_client.config.debugging
|
148
|
+
@api_client.config.logger.debug "API called: GenreApi#list_genres\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
149
|
+
end
|
150
|
+
return data, status_code, headers
|
151
|
+
end
|
152
|
+
end
|
153
|
+
end
|
@@ -0,0 +1,576 @@
|
|
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.2.3-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require "uri"
|
14
|
+
|
15
|
+
module RadioManagerClient
|
16
|
+
class ItemApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
|
23
|
+
# Create an new item.
|
24
|
+
# Create item.
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [ItemDataInput] :data Data *(Optional)*
|
27
|
+
# @return [PostSuccess]
|
28
|
+
def create_item(opts = {})
|
29
|
+
data, _status_code, _headers = create_item_with_http_info(opts)
|
30
|
+
return data
|
31
|
+
end
|
32
|
+
|
33
|
+
# Create an new item.
|
34
|
+
# Create item.
|
35
|
+
# @param [Hash] opts the optional parameters
|
36
|
+
# @option opts [ItemDataInput] :data Data *(Optional)*
|
37
|
+
# @return [Array<(PostSuccess, Fixnum, Hash)>] PostSuccess data, response status code and response headers
|
38
|
+
def create_item_with_http_info(opts = {})
|
39
|
+
if @api_client.config.debugging
|
40
|
+
@api_client.config.logger.debug "Calling API: ItemApi.create_item ..."
|
41
|
+
end
|
42
|
+
# resource path
|
43
|
+
local_var_path = "/items"
|
44
|
+
|
45
|
+
# query parameters
|
46
|
+
query_params = {}
|
47
|
+
|
48
|
+
# header parameters
|
49
|
+
header_params = {}
|
50
|
+
# HTTP header 'Accept' (if needed)
|
51
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
52
|
+
# HTTP header 'Content-Type'
|
53
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
54
|
+
|
55
|
+
# form parameters
|
56
|
+
form_params = {}
|
57
|
+
|
58
|
+
# http body (model)
|
59
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
60
|
+
auth_names = ['API Key']
|
61
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
62
|
+
:header_params => header_params,
|
63
|
+
:query_params => query_params,
|
64
|
+
:form_params => form_params,
|
65
|
+
:body => post_body,
|
66
|
+
:auth_names => auth_names,
|
67
|
+
:return_type => 'PostSuccess')
|
68
|
+
if @api_client.config.debugging
|
69
|
+
@api_client.config.logger.debug "API called: ItemApi#create_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
|
+
end
|
71
|
+
return data, status_code, headers
|
72
|
+
end
|
73
|
+
|
74
|
+
# Post a current playing item, keep structure
|
75
|
+
# Post a current playing item, keep structure
|
76
|
+
# @param [Hash] opts the optional parameters
|
77
|
+
# @option opts [ImportItem] :data Data *(Optional)*
|
78
|
+
# @return [Success]
|
79
|
+
def current_item_post_structure(opts = {})
|
80
|
+
data, _status_code, _headers = current_item_post_structure_with_http_info(opts)
|
81
|
+
return data
|
82
|
+
end
|
83
|
+
|
84
|
+
# Post a current playing item, keep structure
|
85
|
+
# Post a current playing item, keep structure
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @option opts [ImportItem] :data Data *(Optional)*
|
88
|
+
# @return [Array<(Success, Fixnum, Hash)>] Success data, response status code and response headers
|
89
|
+
def current_item_post_structure_with_http_info(opts = {})
|
90
|
+
if @api_client.config.debugging
|
91
|
+
@api_client.config.logger.debug "Calling API: ItemApi.current_item_post_structure ..."
|
92
|
+
end
|
93
|
+
# resource path
|
94
|
+
local_var_path = "/items/current/structure"
|
95
|
+
|
96
|
+
# query parameters
|
97
|
+
query_params = {}
|
98
|
+
|
99
|
+
# header parameters
|
100
|
+
header_params = {}
|
101
|
+
# HTTP header 'Accept' (if needed)
|
102
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
103
|
+
# HTTP header 'Content-Type'
|
104
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
105
|
+
|
106
|
+
# form parameters
|
107
|
+
form_params = {}
|
108
|
+
|
109
|
+
# http body (model)
|
110
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
111
|
+
auth_names = ['API Key']
|
112
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
113
|
+
:header_params => header_params,
|
114
|
+
:query_params => query_params,
|
115
|
+
:form_params => form_params,
|
116
|
+
:body => post_body,
|
117
|
+
:auth_names => auth_names,
|
118
|
+
:return_type => 'Success')
|
119
|
+
if @api_client.config.debugging
|
120
|
+
@api_client.config.logger.debug "API called: ItemApi#current_item_post_structure\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
121
|
+
end
|
122
|
+
return data, status_code, headers
|
123
|
+
end
|
124
|
+
|
125
|
+
# Post a current playing item
|
126
|
+
# Post a current playing item
|
127
|
+
# @param [Hash] opts the optional parameters
|
128
|
+
# @option opts [ImportItem] :data Data *(Optional)*
|
129
|
+
# @return [Success]
|
130
|
+
def current_item_post_timing(opts = {})
|
131
|
+
data, _status_code, _headers = current_item_post_timing_with_http_info(opts)
|
132
|
+
return data
|
133
|
+
end
|
134
|
+
|
135
|
+
# Post a current playing item
|
136
|
+
# Post a current playing item
|
137
|
+
# @param [Hash] opts the optional parameters
|
138
|
+
# @option opts [ImportItem] :data Data *(Optional)*
|
139
|
+
# @return [Array<(Success, Fixnum, Hash)>] Success data, response status code and response headers
|
140
|
+
def current_item_post_timing_with_http_info(opts = {})
|
141
|
+
if @api_client.config.debugging
|
142
|
+
@api_client.config.logger.debug "Calling API: ItemApi.current_item_post_timing ..."
|
143
|
+
end
|
144
|
+
# resource path
|
145
|
+
local_var_path = "/items/current/timing"
|
146
|
+
|
147
|
+
# query parameters
|
148
|
+
query_params = {}
|
149
|
+
|
150
|
+
# header parameters
|
151
|
+
header_params = {}
|
152
|
+
# HTTP header 'Accept' (if needed)
|
153
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
154
|
+
# HTTP header 'Content-Type'
|
155
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
156
|
+
|
157
|
+
# form parameters
|
158
|
+
form_params = {}
|
159
|
+
|
160
|
+
# http body (model)
|
161
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
162
|
+
auth_names = ['API Key']
|
163
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
164
|
+
:header_params => header_params,
|
165
|
+
:query_params => query_params,
|
166
|
+
:form_params => form_params,
|
167
|
+
:body => post_body,
|
168
|
+
:auth_names => auth_names,
|
169
|
+
:return_type => 'Success')
|
170
|
+
if @api_client.config.debugging
|
171
|
+
@api_client.config.logger.debug "API called: ItemApi#current_item_post_timing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
172
|
+
end
|
173
|
+
return data, status_code, headers
|
174
|
+
end
|
175
|
+
|
176
|
+
# Delete item by ID.
|
177
|
+
# Delete item by id.
|
178
|
+
# @param id ID of Item **(Required)**
|
179
|
+
# @param [Hash] opts the optional parameters
|
180
|
+
# @return [Success]
|
181
|
+
def delete_item_by_id(id, opts = {})
|
182
|
+
data, _status_code, _headers = delete_item_by_id_with_http_info(id, opts)
|
183
|
+
return data
|
184
|
+
end
|
185
|
+
|
186
|
+
# Delete item by ID.
|
187
|
+
# Delete item by id.
|
188
|
+
# @param id ID of Item **(Required)**
|
189
|
+
# @param [Hash] opts the optional parameters
|
190
|
+
# @return [Array<(Success, Fixnum, Hash)>] Success data, response status code and response headers
|
191
|
+
def delete_item_by_id_with_http_info(id, opts = {})
|
192
|
+
if @api_client.config.debugging
|
193
|
+
@api_client.config.logger.debug "Calling API: ItemApi.delete_item_by_id ..."
|
194
|
+
end
|
195
|
+
# verify the required parameter 'id' is set
|
196
|
+
if @api_client.config.client_side_validation && id.nil?
|
197
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ItemApi.delete_item_by_id"
|
198
|
+
end
|
199
|
+
if @api_client.config.client_side_validation && id < 0
|
200
|
+
fail ArgumentError, 'invalid value for "id" when calling ItemApi.delete_item_by_id, must be greater than or equal to 0.'
|
201
|
+
end
|
202
|
+
|
203
|
+
# resource path
|
204
|
+
local_var_path = "/items/{id}".sub('{' + 'id' + '}', id.to_s)
|
205
|
+
|
206
|
+
# query parameters
|
207
|
+
query_params = {}
|
208
|
+
|
209
|
+
# header parameters
|
210
|
+
header_params = {}
|
211
|
+
# HTTP header 'Accept' (if needed)
|
212
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
213
|
+
# HTTP header 'Content-Type'
|
214
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
215
|
+
|
216
|
+
# form parameters
|
217
|
+
form_params = {}
|
218
|
+
|
219
|
+
# http body (model)
|
220
|
+
post_body = nil
|
221
|
+
auth_names = ['API Key']
|
222
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
223
|
+
:header_params => header_params,
|
224
|
+
:query_params => query_params,
|
225
|
+
:form_params => form_params,
|
226
|
+
:body => post_body,
|
227
|
+
:auth_names => auth_names,
|
228
|
+
:return_type => 'Success')
|
229
|
+
if @api_client.config.debugging
|
230
|
+
@api_client.config.logger.debug "API called: ItemApi#delete_item_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
231
|
+
end
|
232
|
+
return data, status_code, headers
|
233
|
+
end
|
234
|
+
|
235
|
+
# Get extended item details by ID.
|
236
|
+
# Read item by id.
|
237
|
+
# @param id ID of Item **(Required)**
|
238
|
+
# @param [Hash] opts the optional parameters
|
239
|
+
# @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
|
240
|
+
# @return [ItemResult]
|
241
|
+
def get_item_by_id(id, opts = {})
|
242
|
+
data, _status_code, _headers = get_item_by_id_with_http_info(id, opts)
|
243
|
+
return data
|
244
|
+
end
|
245
|
+
|
246
|
+
# Get extended item details by ID.
|
247
|
+
# Read item by id.
|
248
|
+
# @param id ID of Item **(Required)**
|
249
|
+
# @param [Hash] opts the optional parameters
|
250
|
+
# @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
|
251
|
+
# @return [Array<(ItemResult, Fixnum, Hash)>] ItemResult data, response status code and response headers
|
252
|
+
def get_item_by_id_with_http_info(id, opts = {})
|
253
|
+
if @api_client.config.debugging
|
254
|
+
@api_client.config.logger.debug "Calling API: ItemApi.get_item_by_id ..."
|
255
|
+
end
|
256
|
+
# verify the required parameter 'id' is set
|
257
|
+
if @api_client.config.client_side_validation && id.nil?
|
258
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ItemApi.get_item_by_id"
|
259
|
+
end
|
260
|
+
if @api_client.config.client_side_validation && id < 0
|
261
|
+
fail ArgumentError, 'invalid value for "id" when calling ItemApi.get_item_by_id, must be greater than or equal to 0.'
|
262
|
+
end
|
263
|
+
|
264
|
+
# resource path
|
265
|
+
local_var_path = "/items/{id}".sub('{' + 'id' + '}', id.to_s)
|
266
|
+
|
267
|
+
# query parameters
|
268
|
+
query_params = {}
|
269
|
+
query_params[:'_external_station_id'] = opts[:'_external_station_id'] if !opts[:'_external_station_id'].nil?
|
270
|
+
|
271
|
+
# header parameters
|
272
|
+
header_params = {}
|
273
|
+
# HTTP header 'Accept' (if needed)
|
274
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
275
|
+
# HTTP header 'Content-Type'
|
276
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
277
|
+
|
278
|
+
# form parameters
|
279
|
+
form_params = {}
|
280
|
+
|
281
|
+
# http body (model)
|
282
|
+
post_body = nil
|
283
|
+
auth_names = ['API Key']
|
284
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
285
|
+
:header_params => header_params,
|
286
|
+
:query_params => query_params,
|
287
|
+
:form_params => form_params,
|
288
|
+
:body => post_body,
|
289
|
+
:auth_names => auth_names,
|
290
|
+
:return_type => 'ItemResult')
|
291
|
+
if @api_client.config.debugging
|
292
|
+
@api_client.config.logger.debug "API called: ItemApi#get_item_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
293
|
+
end
|
294
|
+
return data, status_code, headers
|
295
|
+
end
|
296
|
+
|
297
|
+
# Get a list of all the items currently in your station.
|
298
|
+
# 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.
|
299
|
+
# @param [Hash] opts the optional parameters
|
300
|
+
# @option opts [Integer] :page Current page *(Optional)*
|
301
|
+
# @option opts [String] :order_by Field to order the results *(Optional)*
|
302
|
+
# @option opts [String] :order_direction Direction of ordering *(Optional)*
|
303
|
+
# @option opts [DateTime] :start_min Minimum start date *(Optional)*
|
304
|
+
# @option opts [DateTime] :start_max Maximum start date *(Optional)*
|
305
|
+
# @option opts [Integer] :duration_min Minimum duration (seconds) *(Optional)*
|
306
|
+
# @option opts [Integer] :duration_max Maximum duration (seconds) *(Optional)*
|
307
|
+
# @option opts [String] :status Play Status of item *(Optional)*
|
308
|
+
# @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)*
|
309
|
+
# @option opts [Integer] :program_draft_id Search on Program Draft ID *(Optional)*
|
310
|
+
# @option opts [Integer] :user_draft_id Search on User Draft ID *(Optional)*
|
311
|
+
# @option opts [Integer] :station_draft_id Search on Station Draft ID *(Optional)*
|
312
|
+
# @option opts [Integer] :block_id Search on Block ID *(Optional)* `(Relation)`
|
313
|
+
# @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)* `(Relation)`
|
314
|
+
# @option opts [Integer] :campaign_id Search on Campaign ID *(Optional)* `(Relation)`
|
315
|
+
# @option opts [Integer] :contact_id Search on Contact ID *(Optional)* `(Relation)`
|
316
|
+
# @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
|
317
|
+
# @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
|
318
|
+
# @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
|
319
|
+
# @return [ItemResults]
|
320
|
+
def list_items(opts = {})
|
321
|
+
data, _status_code, _headers = list_items_with_http_info(opts)
|
322
|
+
return data
|
323
|
+
end
|
324
|
+
|
325
|
+
# Get a list of all the items currently in your station.
|
326
|
+
# 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.
|
327
|
+
# @param [Hash] opts the optional parameters
|
328
|
+
# @option opts [Integer] :page Current page *(Optional)*
|
329
|
+
# @option opts [String] :order_by Field to order the results *(Optional)*
|
330
|
+
# @option opts [String] :order_direction Direction of ordering *(Optional)*
|
331
|
+
# @option opts [DateTime] :start_min Minimum start date *(Optional)*
|
332
|
+
# @option opts [DateTime] :start_max Maximum start date *(Optional)*
|
333
|
+
# @option opts [Integer] :duration_min Minimum duration (seconds) *(Optional)*
|
334
|
+
# @option opts [Integer] :duration_max Maximum duration (seconds) *(Optional)*
|
335
|
+
# @option opts [String] :status Play Status of item *(Optional)*
|
336
|
+
# @option opts [Integer] :model_type_id Search on ModelType ID *(Optional)*
|
337
|
+
# @option opts [Integer] :program_draft_id Search on Program Draft ID *(Optional)*
|
338
|
+
# @option opts [Integer] :user_draft_id Search on User Draft ID *(Optional)*
|
339
|
+
# @option opts [Integer] :station_draft_id Search on Station Draft ID *(Optional)*
|
340
|
+
# @option opts [Integer] :block_id Search on Block ID *(Optional)* `(Relation)`
|
341
|
+
# @option opts [Integer] :broadcast_id Search on Broadcast ID *(Optional)* `(Relation)`
|
342
|
+
# @option opts [Integer] :campaign_id Search on Campaign ID *(Optional)* `(Relation)`
|
343
|
+
# @option opts [Integer] :contact_id Search on Contact ID *(Optional)* `(Relation)`
|
344
|
+
# @option opts [Integer] :program_id Search on Program ID *(Optional)* `(Relation)`
|
345
|
+
# @option opts [Integer] :tag_id Search on Tag ID *(Optional)* `(Relation)`
|
346
|
+
# @option opts [Integer] :_external_station_id Query on a different (content providing) station *(Optional)*
|
347
|
+
# @return [Array<(ItemResults, Fixnum, Hash)>] ItemResults data, response status code and response headers
|
348
|
+
def list_items_with_http_info(opts = {})
|
349
|
+
if @api_client.config.debugging
|
350
|
+
@api_client.config.logger.debug "Calling API: ItemApi.list_items ..."
|
351
|
+
end
|
352
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
|
353
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling ItemApi.list_items, must be greater than or equal to 1.'
|
354
|
+
end
|
355
|
+
|
356
|
+
if @api_client.config.client_side_validation && opts[:'order_direction'] && !['asc', 'desc'].include?(opts[:'order_direction'])
|
357
|
+
fail ArgumentError, 'invalid value for "order_direction", must be one of asc, desc'
|
358
|
+
end
|
359
|
+
if @api_client.config.client_side_validation && opts[:'status'] && !['scheduled', 'playing', 'played'].include?(opts[:'status'])
|
360
|
+
fail ArgumentError, 'invalid value for "status", must be one of scheduled, playing, played'
|
361
|
+
end
|
362
|
+
# resource path
|
363
|
+
local_var_path = "/items"
|
364
|
+
|
365
|
+
# query parameters
|
366
|
+
query_params = {}
|
367
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
368
|
+
query_params[:'order-by'] = opts[:'order_by'] if !opts[:'order_by'].nil?
|
369
|
+
query_params[:'order-direction'] = opts[:'order_direction'] if !opts[:'order_direction'].nil?
|
370
|
+
query_params[:'start-min'] = opts[:'start_min'] if !opts[:'start_min'].nil?
|
371
|
+
query_params[:'start-max'] = opts[:'start_max'] if !opts[:'start_max'].nil?
|
372
|
+
query_params[:'duration-min'] = opts[:'duration_min'] if !opts[:'duration_min'].nil?
|
373
|
+
query_params[:'duration-max'] = opts[:'duration_max'] if !opts[:'duration_max'].nil?
|
374
|
+
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
375
|
+
query_params[:'model_type_id'] = opts[:'model_type_id'] if !opts[:'model_type_id'].nil?
|
376
|
+
query_params[:'program_draft_id'] = opts[:'program_draft_id'] if !opts[:'program_draft_id'].nil?
|
377
|
+
query_params[:'user_draft_id'] = opts[:'user_draft_id'] if !opts[:'user_draft_id'].nil?
|
378
|
+
query_params[:'station_draft_id'] = opts[:'station_draft_id'] if !opts[:'station_draft_id'].nil?
|
379
|
+
query_params[:'block_id'] = opts[:'block_id'] if !opts[:'block_id'].nil?
|
380
|
+
query_params[:'broadcast_id'] = opts[:'broadcast_id'] if !opts[:'broadcast_id'].nil?
|
381
|
+
query_params[:'campaign_id'] = opts[:'campaign_id'] if !opts[:'campaign_id'].nil?
|
382
|
+
query_params[:'contact_id'] = opts[:'contact_id'] if !opts[:'contact_id'].nil?
|
383
|
+
query_params[:'program_id'] = opts[:'program_id'] if !opts[:'program_id'].nil?
|
384
|
+
query_params[:'tag_id'] = opts[:'tag_id'] if !opts[:'tag_id'].nil?
|
385
|
+
query_params[:'_external_station_id'] = opts[:'_external_station_id'] if !opts[:'_external_station_id'].nil?
|
386
|
+
|
387
|
+
# header parameters
|
388
|
+
header_params = {}
|
389
|
+
# HTTP header 'Accept' (if needed)
|
390
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
391
|
+
# HTTP header 'Content-Type'
|
392
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
393
|
+
|
394
|
+
# form parameters
|
395
|
+
form_params = {}
|
396
|
+
|
397
|
+
# http body (model)
|
398
|
+
post_body = nil
|
399
|
+
auth_names = ['API Key']
|
400
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
401
|
+
:header_params => header_params,
|
402
|
+
:query_params => query_params,
|
403
|
+
:form_params => form_params,
|
404
|
+
:body => post_body,
|
405
|
+
:auth_names => auth_names,
|
406
|
+
:return_type => 'ItemResults')
|
407
|
+
if @api_client.config.debugging
|
408
|
+
@api_client.config.logger.debug "API called: ItemApi#list_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
409
|
+
end
|
410
|
+
return data, status_code, headers
|
411
|
+
end
|
412
|
+
|
413
|
+
# Post a playlist, keep current structure
|
414
|
+
# Post a playlist, keep current structure
|
415
|
+
# @param [Hash] opts the optional parameters
|
416
|
+
# @option opts [Data1] :data Data *(Optional)*
|
417
|
+
# @return [InlineResponse202]
|
418
|
+
def playlist_post_structure(opts = {})
|
419
|
+
data, _status_code, _headers = playlist_post_structure_with_http_info(opts)
|
420
|
+
return data
|
421
|
+
end
|
422
|
+
|
423
|
+
# Post a playlist, keep current structure
|
424
|
+
# Post a playlist, keep current structure
|
425
|
+
# @param [Hash] opts the optional parameters
|
426
|
+
# @option opts [Data1] :data Data *(Optional)*
|
427
|
+
# @return [Array<(InlineResponse202, Fixnum, Hash)>] InlineResponse202 data, response status code and response headers
|
428
|
+
def playlist_post_structure_with_http_info(opts = {})
|
429
|
+
if @api_client.config.debugging
|
430
|
+
@api_client.config.logger.debug "Calling API: ItemApi.playlist_post_structure ..."
|
431
|
+
end
|
432
|
+
# resource path
|
433
|
+
local_var_path = "/items/playlist/structure"
|
434
|
+
|
435
|
+
# query parameters
|
436
|
+
query_params = {}
|
437
|
+
|
438
|
+
# header parameters
|
439
|
+
header_params = {}
|
440
|
+
# HTTP header 'Accept' (if needed)
|
441
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
442
|
+
# HTTP header 'Content-Type'
|
443
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
444
|
+
|
445
|
+
# form parameters
|
446
|
+
form_params = {}
|
447
|
+
|
448
|
+
# http body (model)
|
449
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
450
|
+
auth_names = ['API Key']
|
451
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
452
|
+
:header_params => header_params,
|
453
|
+
:query_params => query_params,
|
454
|
+
:form_params => form_params,
|
455
|
+
:body => post_body,
|
456
|
+
:auth_names => auth_names,
|
457
|
+
:return_type => 'InlineResponse202')
|
458
|
+
if @api_client.config.debugging
|
459
|
+
@api_client.config.logger.debug "API called: ItemApi#playlist_post_structure\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
460
|
+
end
|
461
|
+
return data, status_code, headers
|
462
|
+
end
|
463
|
+
|
464
|
+
# Post a playlist
|
465
|
+
# Post a playlist
|
466
|
+
# @param [Hash] opts the optional parameters
|
467
|
+
# @option opts [Data] :data Data *(Optional)*
|
468
|
+
# @return [InlineResponse202]
|
469
|
+
def playlist_post_timing(opts = {})
|
470
|
+
data, _status_code, _headers = playlist_post_timing_with_http_info(opts)
|
471
|
+
return data
|
472
|
+
end
|
473
|
+
|
474
|
+
# Post a playlist
|
475
|
+
# Post a playlist
|
476
|
+
# @param [Hash] opts the optional parameters
|
477
|
+
# @option opts [Data] :data Data *(Optional)*
|
478
|
+
# @return [Array<(InlineResponse202, Fixnum, Hash)>] InlineResponse202 data, response status code and response headers
|
479
|
+
def playlist_post_timing_with_http_info(opts = {})
|
480
|
+
if @api_client.config.debugging
|
481
|
+
@api_client.config.logger.debug "Calling API: ItemApi.playlist_post_timing ..."
|
482
|
+
end
|
483
|
+
# resource path
|
484
|
+
local_var_path = "/items/playlist/timing"
|
485
|
+
|
486
|
+
# query parameters
|
487
|
+
query_params = {}
|
488
|
+
|
489
|
+
# header parameters
|
490
|
+
header_params = {}
|
491
|
+
# HTTP header 'Accept' (if needed)
|
492
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
493
|
+
# HTTP header 'Content-Type'
|
494
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
495
|
+
|
496
|
+
# form parameters
|
497
|
+
form_params = {}
|
498
|
+
|
499
|
+
# http body (model)
|
500
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
501
|
+
auth_names = ['API Key']
|
502
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
503
|
+
:header_params => header_params,
|
504
|
+
:query_params => query_params,
|
505
|
+
:form_params => form_params,
|
506
|
+
:body => post_body,
|
507
|
+
:auth_names => auth_names,
|
508
|
+
:return_type => 'InlineResponse202')
|
509
|
+
if @api_client.config.debugging
|
510
|
+
@api_client.config.logger.debug "API called: ItemApi#playlist_post_timing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
511
|
+
end
|
512
|
+
return data, status_code, headers
|
513
|
+
end
|
514
|
+
|
515
|
+
# Update extended item details by ID.
|
516
|
+
# Update item by id.
|
517
|
+
# @param id ID of Item **(Required)**
|
518
|
+
# @param [Hash] opts the optional parameters
|
519
|
+
# @option opts [Item] :data Data *(Optional)*
|
520
|
+
# @return [Success]
|
521
|
+
def update_item_by_id(id, opts = {})
|
522
|
+
data, _status_code, _headers = update_item_by_id_with_http_info(id, opts)
|
523
|
+
return data
|
524
|
+
end
|
525
|
+
|
526
|
+
# Update extended item details by ID.
|
527
|
+
# Update item by id.
|
528
|
+
# @param id ID of Item **(Required)**
|
529
|
+
# @param [Hash] opts the optional parameters
|
530
|
+
# @option opts [Item] :data Data *(Optional)*
|
531
|
+
# @return [Array<(Success, Fixnum, Hash)>] Success data, response status code and response headers
|
532
|
+
def update_item_by_id_with_http_info(id, opts = {})
|
533
|
+
if @api_client.config.debugging
|
534
|
+
@api_client.config.logger.debug "Calling API: ItemApi.update_item_by_id ..."
|
535
|
+
end
|
536
|
+
# verify the required parameter 'id' is set
|
537
|
+
if @api_client.config.client_side_validation && id.nil?
|
538
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ItemApi.update_item_by_id"
|
539
|
+
end
|
540
|
+
if @api_client.config.client_side_validation && id < 0
|
541
|
+
fail ArgumentError, 'invalid value for "id" when calling ItemApi.update_item_by_id, must be greater than or equal to 0.'
|
542
|
+
end
|
543
|
+
|
544
|
+
# resource path
|
545
|
+
local_var_path = "/items/{id}".sub('{' + 'id' + '}', id.to_s)
|
546
|
+
|
547
|
+
# query parameters
|
548
|
+
query_params = {}
|
549
|
+
|
550
|
+
# header parameters
|
551
|
+
header_params = {}
|
552
|
+
# HTTP header 'Accept' (if needed)
|
553
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
554
|
+
# HTTP header 'Content-Type'
|
555
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
556
|
+
|
557
|
+
# form parameters
|
558
|
+
form_params = {}
|
559
|
+
|
560
|
+
# http body (model)
|
561
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
562
|
+
auth_names = ['API Key']
|
563
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
564
|
+
:header_params => header_params,
|
565
|
+
:query_params => query_params,
|
566
|
+
:form_params => form_params,
|
567
|
+
:body => post_body,
|
568
|
+
:auth_names => auth_names,
|
569
|
+
:return_type => 'Success')
|
570
|
+
if @api_client.config.debugging
|
571
|
+
@api_client.config.logger.debug "API called: ItemApi#update_item_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
572
|
+
end
|
573
|
+
return data, status_code, headers
|
574
|
+
end
|
575
|
+
end
|
576
|
+
end
|