plex_ruby_sdk 0.3.4
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/lib/plex_ruby_sdk/activities.rb +116 -0
- data/lib/plex_ruby_sdk/authentication.rb +221 -0
- data/lib/plex_ruby_sdk/butler.rb +243 -0
- data/lib/plex_ruby_sdk/hubs.rb +126 -0
- data/lib/plex_ruby_sdk/library.rb +692 -0
- data/lib/plex_ruby_sdk/log.rb +174 -0
- data/lib/plex_ruby_sdk/media.rb +250 -0
- data/lib/plex_ruby_sdk/models/operations/account.rb +45 -0
- data/lib/plex_ruby_sdk/models/operations/activity.rb +45 -0
- data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_mediacontainer.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_metadata.rb +60 -0
- data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_playlists_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_request.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/applyupdates_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/applyupdates_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/applyupdates_request.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/applyupdates_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/applyupdates_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/applyupdates_updater_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/autoselectsubtitle.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/billing.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/butlertask.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/butlertasks.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_activities_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/checkforupdates_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/checkforupdates_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/checkforupdates_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/checkforupdates_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/checkforupdates_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/checkforupdates_updater_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_playlists_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/connections.rb +45 -0
- data/lib/plex_ruby_sdk/models/operations/context.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/country.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/createplaylist_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/createplaylist_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/createplaylist_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/createplaylist_metadata.rb +69 -0
- data/lib/plex_ruby_sdk/models/operations/createplaylist_playlists_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/createplaylist_queryparam_type.rb +19 -0
- data/lib/plex_ruby_sdk/models/operations/createplaylist_request.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/createplaylist_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/createplaylist_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/createplaylist_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/defaultsubtitleaccessibility.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/defaultsubtitleforced.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/deletelibrary_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/deletelibrary_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/deletelibrary_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/deletelibrary_request.rb +26 -0
- data/lib/plex_ruby_sdk/models/operations/deletelibrary_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/deletelibrary_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/deleteplaylist_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/deleteplaylist_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/deleteplaylist_playlists_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/deleteplaylist_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/deleteplaylist_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/deleteplaylist_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/device.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/director.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/directory.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/download.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/enablepapertrail_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/enablepapertrail_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/enablepapertrail_log_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/enablepapertrail_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/enablepapertrail_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/feature.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/features.rb +78 -0
- data/lib/plex_ruby_sdk/models/operations/field.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/fieldtype.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/filter.rb +22 -0
- data/lib/plex_ruby_sdk/models/operations/force.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/friend.rb +60 -0
- data/lib/plex_ruby_sdk/models/operations/genre.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/geodata.rb +57 -0
- data/lib/plex_ruby_sdk/models/operations/get_all_libraries_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb +84 -0
- data/lib/plex_ruby_sdk/models/operations/get_all_libraries_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_all_libraries_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_all_libraries_mediacontainer.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/get_all_libraries_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_all_libraries_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_all_libraries_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_banner_image_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_banner_image_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_banner_image_media_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_banner_image_request.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_banner_image_response.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/get_banner_image_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_directory.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_filter.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_mediacontainer.rb +66 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_request.rb +31 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_type.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_details_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_country.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_director.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_genre.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb +63 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb +69 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb +192 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_request.rb +58 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_role.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_writer.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_providers_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_providers_directory.rb +63 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_providers_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_providers_mediacontainer.rb +153 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_providers_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_providers_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_providers_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_providers_server_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_providers_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_country.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_director.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_genre.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_media.rb +72 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_mediacontainer.rb +48 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_metadata.rb +120 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_part.rb +54 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_role.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_writer.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_request.rb +29 -0
- data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_library_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_library_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_library_mediacontainer.rb +60 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_library_metadata.rb +81 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_library_request.rb +35 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_library_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_library_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_library_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_identity_mediacontainer.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_identity_requesttimeout.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_identity_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_identity_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_badrequest.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_plex_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_request.rb +41 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_response.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/get_server_resources_unauthorized.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/get_thumb_image_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_thumb_image_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_thumb_image_media_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/get_thumb_image_request.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/get_thumb_image_response.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/get_thumb_image_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/get_watch_list_badrequest.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/get_watch_list_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/get_watch_list_request.rb +65 -0
- data/lib/plex_ruby_sdk/models/operations/get_watch_list_response.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/get_watch_list_responsebody.rb +45 -0
- data/lib/plex_ruby_sdk/models/operations/get_watch_list_unauthorized.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/get_watch_list_watchlist_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getavailableclients_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getavailableclients_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getavailableclients_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getavailableclients_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getavailableclients_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getavailableclients_server_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getavailableclients_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_account.rb +45 -0
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_device.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_mediacontainer.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_request.rb +26 -0
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_statistics_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getbutlertasks_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getbutlertasks_butler_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getbutlertasks_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getbutlertasks_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getbutlertasks_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getbutlertasks_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_badrequest.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_plex_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_response.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_unauthorized.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getdevices_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getdevices_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getdevices_mediacontainer.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getdevices_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getdevices_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getdevices_server_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getdevices_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getfilehash_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getfilehash_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getfilehash_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getfilehash_request.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getfilehash_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/getfilehash_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getgeodata_badrequest.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getgeodata_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getgeodata_geodata.rb +57 -0
- data/lib/plex_ruby_sdk/models/operations/getgeodata_plex_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getgeodata_response.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/getgeodata_unauthorized.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getglobalhubs_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getglobalhubs_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getglobalhubs_hubs_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getglobalhubs_mediacontainer.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getglobalhubs_metadata.rb +72 -0
- data/lib/plex_ruby_sdk/models/operations/getglobalhubs_request.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getglobalhubs_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getglobalhubs_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getglobalhubs_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gethomedata_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gethomedata_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gethomedata_plex_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gethomedata_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/gethomedata_responsebody.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/gethomedata_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_country.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_director.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_genre.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hub.rb +57 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hubs_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_media.rb +72 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_mediacontainer.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_metadata.rb +123 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_part.rb +51 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_request.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_role.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_writer.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_directory.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_mediacontainer.rb +90 -0
- data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_metadata.rb +102 -0
- data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_request.rb +28 -0
- data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_server_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_guids.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_media.rb +66 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_mediacontainer.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_metadata.rb +129 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_part.rb +48 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_stream.rb +90 -0
- data/lib/plex_ruby_sdk/models/operations/getondeck_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getpin_authpincontainer.rb +60 -0
- data/lib/plex_ruby_sdk/models/operations/getpin_badrequest.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getpin_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getpin_request.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getpin_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylist_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylist_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylist_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylist_metadata.rb +66 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylist_playlists_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylist_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylist_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylist_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylist_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_country.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_director.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_genre.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_media.rb +72 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_mediacontainer.rb +48 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_metadata.rb +117 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_part.rb +51 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_playlists_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_queryparam_type.rb +26 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_request.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_role.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_writer.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylists_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylists_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylists_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylists_metadata.rb +69 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylists_playlists_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylists_request.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylists_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylists_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getplaylists_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_mediacontainer.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_metadata.rb +117 -0
- data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_request.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getresizedphoto_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getresizedphoto_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getresizedphoto_request.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/getresizedphoto_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/getresizedphoto_server_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getresizedphoto_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_request.rb +26 -0
- data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_statistics_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_country.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_director.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_genre.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_media.rb +66 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_mediacontainer.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_metadata.rb +123 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_part.rb +45 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_role.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_search_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsearchresults_writer.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getserveractivities_activities_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getserveractivities_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getserveractivities_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getserveractivities_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getserveractivities_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getserveractivities_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getserveractivities_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getservercapabilities_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getservercapabilities_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getservercapabilities_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getservercapabilities_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getservercapabilities_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getserverlist_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getserverlist_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getserverlist_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getserverlist_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getserverlist_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getserverlist_server.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getserverlist_server_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getserverlist_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getserverpreferences_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getserverpreferences_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getserverpreferences_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getserverpreferences_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getserverpreferences_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getserverpreferences_server_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getserverpreferences_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsessionhistory_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsessionhistory_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getsessionhistory_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getsessionhistory_metadata.rb +78 -0
- data/lib/plex_ruby_sdk/models/operations/getsessionhistory_request.rb +38 -0
- data/lib/plex_ruby_sdk/models/operations/getsessionhistory_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getsessionhistory_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsessionhistory_sessions_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getsessionhistory_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_media.rb +45 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_metadata.rb +132 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_part.rb +51 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_sessions_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_stream.rb +81 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsessions_user.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_authentication_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getstatistics_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getstatistics_device.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/getstatistics_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getstatistics_mediacontainer.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getstatistics_request.rb +26 -0
- data/lib/plex_ruby_sdk/models/operations/getstatistics_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getstatistics_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getstatistics_statistics_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getstatistics_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettimeline_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettimeline_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettimeline_request.rb +51 -0
- data/lib/plex_ruby_sdk/models/operations/gettimeline_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/gettimeline_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettimeline_video_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb +60 -0
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_badrequest.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb +57 -0
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_plex_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_request.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_response.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_responsebody.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_response_status.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_status.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_badrequest.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_features.rb +78 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_response.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_status.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_subscription.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_unauthorized.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb +146 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_country.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_genre.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_guids.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_library_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_mediacontainer.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_metadata.rb +117 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_queryparam_type.rb +26 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_request.rb +34 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_role.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_mediacontainer.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_sessions_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettransienttoken_authentication_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettransienttoken_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/gettransienttoken_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/gettransienttoken_queryparam_type.rb +17 -0
- data/lib/plex_ruby_sdk/models/operations/gettransienttoken_request.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/gettransienttoken_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/gettransienttoken_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getupdatestatus_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getupdatestatus_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getupdatestatus_mediacontainer.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getupdatestatus_response.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/getupdatestatus_responsebody.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getupdatestatus_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/getupdatestatus_updater_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/getuserfriends_badrequest.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/getuserfriends_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getuserfriends_plex_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/getuserfriends_response.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/getuserfriends_unauthorized.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/guids.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/hub.rb +54 -0
- data/lib/plex_ruby_sdk/models/operations/image.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/includecollections.rb +22 -0
- data/lib/plex_ruby_sdk/models/operations/includedetails.rb +20 -0
- data/lib/plex_ruby_sdk/models/operations/includeexternalmedia.rb +22 -0
- data/lib/plex_ruby_sdk/models/operations/includeguids.rb +19 -0
- data/lib/plex_ruby_sdk/models/operations/includehttps.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/includeipv6.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/includemeta.rb +19 -0
- data/lib/plex_ruby_sdk/models/operations/includerelay.rb +23 -0
- data/lib/plex_ruby_sdk/models/operations/internalpaymentmethod.rb +23 -0
- data/lib/plex_ruby_sdk/models/operations/level.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/libtype.rb +22 -0
- data/lib/plex_ruby_sdk/models/operations/location.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/logline_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/logline_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/logline_log_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/logline_request.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/logline_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/logline_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/logmultiline_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/logmultiline_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/logmultiline_log_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/logmultiline_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/logmultiline_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/mailingliststatus.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/markplayed_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/markplayed_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/markplayed_media_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/markplayed_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/markplayed_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/markplayed_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/markunplayed_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/markunplayed_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/markunplayed_media_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/markunplayed_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/markunplayed_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/markunplayed_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/media.rb +69 -0
- data/lib/plex_ruby_sdk/models/operations/mediacontainer.rb +174 -0
- data/lib/plex_ruby_sdk/models/operations/mediaprovider.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/mediareviewsvisibility.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/metadata.rb +129 -0
- data/lib/plex_ruby_sdk/models/operations/minsize.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/myplex.rb +57 -0
- data/lib/plex_ruby_sdk/models/operations/onlytransient.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/operator.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/part.rb +51 -0
- data/lib/plex_ruby_sdk/models/operations/pastsubscription.rb +69 -0
- data/lib/plex_ruby_sdk/models/operations/pathparam_taskname.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/performsearch_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/performsearch_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/performsearch_request.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/performsearch_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/performsearch_search_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/performsearch_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/performvoicesearch_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/performvoicesearch_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/performvoicesearch_request.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/performvoicesearch_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/performvoicesearch_search_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/performvoicesearch_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/pivot.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/player.rb +66 -0
- data/lib/plex_ruby_sdk/models/operations/playlisttype.rb +19 -0
- data/lib/plex_ruby_sdk/models/operations/plexdevice.rb +96 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_features.rb +78 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_response_status.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_status.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_subscription.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_autoselectsubtitle.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_badrequest.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_defaultsubtitleaccessibility.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_defaultsubtitleforced.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_errors.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_features.rb +78 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_mailingliststatus.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_mediareviewsvisibility.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_request.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_requestbody.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_response.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_services.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_state.rb +20 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_status.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_subscription.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_unauthorized.rb +27 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userplexaccount.rb +152 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userprofile.rb +48 -0
- data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_watchedindicator.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/producer.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/provider.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/queryparam_filter.rb +22 -0
- data/lib/plex_ruby_sdk/models/operations/queryparam_force.rb +22 -0
- data/lib/plex_ruby_sdk/models/operations/queryparam_onlytransient.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/queryparam_smart.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/queryparam_type.rb +26 -0
- data/lib/plex_ruby_sdk/models/operations/ratings.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/release.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/responsebody.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/role.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/scope.rb +17 -0
- data/lib/plex_ruby_sdk/models/operations/server.rb +54 -0
- data/lib/plex_ruby_sdk/models/operations/services.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/session.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/setting.rb +51 -0
- data/lib/plex_ruby_sdk/models/operations/sharedservers.rb +23 -0
- data/lib/plex_ruby_sdk/models/operations/sharedsources.rb +23 -0
- data/lib/plex_ruby_sdk/models/operations/skip.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/smart.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/sort.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/startalltasks_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/startalltasks_butler_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/startalltasks_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/startalltasks_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/startalltasks_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/starttask_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/starttask_butler_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/starttask_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/starttask_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/starttask_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/starttask_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_request.rb +69 -0
- data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_video_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/state.rb +19 -0
- data/lib/plex_ruby_sdk/models/operations/statisticsbandwidth.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/statisticsmedia.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/statisticsresources.rb +39 -0
- data/lib/plex_ruby_sdk/models/operations/status.rb +20 -0
- data/lib/plex_ruby_sdk/models/operations/stopalltasks_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/stopalltasks_butler_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/stopalltasks_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/stopalltasks_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/stopalltasks_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/stoptask_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/stoptask_butler_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/stoptask_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/stoptask_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/stoptask_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/stoptask_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_request.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_sessions_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/stream.rb +117 -0
- data/lib/plex_ruby_sdk/models/operations/subscription.rb +42 -0
- data/lib/plex_ruby_sdk/models/operations/tag.rb +35 -0
- data/lib/plex_ruby_sdk/models/operations/taskname.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/tonight.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/transcodesession.rb +93 -0
- data/lib/plex_ruby_sdk/models/operations/trials.rb +23 -0
- data/lib/plex_ruby_sdk/models/operations/type.rb +26 -0
- data/lib/plex_ruby_sdk/models/operations/updateplaylist_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/updateplaylist_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/updateplaylist_playlists_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/updateplaylist_request.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/updateplaylist_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/updateplaylist_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/updateplayprogress_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/updateplayprogress_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/updateplayprogress_media_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/updateplayprogress_request.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/updateplayprogress_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/updateplayprogress_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/uploadplaylist_badrequest.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/uploadplaylist_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/uploadplaylist_playlists_errors.rb +30 -0
- data/lib/plex_ruby_sdk/models/operations/uploadplaylist_request.rb +37 -0
- data/lib/plex_ruby_sdk/models/operations/uploadplaylist_response.rb +36 -0
- data/lib/plex_ruby_sdk/models/operations/uploadplaylist_unauthorized.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/upscale.rb +18 -0
- data/lib/plex_ruby_sdk/models/operations/user.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations/userprofile.rb +48 -0
- data/lib/plex_ruby_sdk/models/operations/watchedindicator.rb +21 -0
- data/lib/plex_ruby_sdk/models/operations/writer.rb +24 -0
- data/lib/plex_ruby_sdk/models/operations.rb +694 -0
- data/lib/plex_ruby_sdk/models/shared/security.rb +24 -0
- data/lib/plex_ruby_sdk/models/shared.rb +10 -0
- data/lib/plex_ruby_sdk/playlists.rb +480 -0
- data/lib/plex_ruby_sdk/plex.rb +367 -0
- data/lib/plex_ruby_sdk/plex_api.rb +134 -0
- data/lib/plex_ruby_sdk/sdkconfiguration.rb +56 -0
- data/lib/plex_ruby_sdk/search.rb +175 -0
- data/lib/plex_ruby_sdk/server.rb +390 -0
- data/lib/plex_ruby_sdk/server_variables/server_protocol.rb +18 -0
- data/lib/plex_ruby_sdk/server_variables.rb +10 -0
- data/lib/plex_ruby_sdk/sessions.rb +201 -0
- data/lib/plex_ruby_sdk/statistics.rb +163 -0
- data/lib/plex_ruby_sdk/updater.rb +152 -0
- data/lib/plex_ruby_sdk/utils/metadata_fields.rb +150 -0
- data/lib/plex_ruby_sdk/utils/t.rb +59 -0
- data/lib/plex_ruby_sdk/utils/utils.rb +772 -0
- data/lib/plex_ruby_sdk/video.rb +100 -0
- data/lib/plex_ruby_sdk/watchlist.rb +77 -0
- data/lib/plex_ruby_sdk.rb +32 -0
- metadata +883 -0
@@ -0,0 +1,174 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
require 'faraday'
|
7
|
+
require 'faraday/multipart'
|
8
|
+
require 'sorbet-runtime'
|
9
|
+
|
10
|
+
module PlexRubySDK
|
11
|
+
extend T::Sig
|
12
|
+
class Log
|
13
|
+
extend T::Sig
|
14
|
+
# Submit logs to the Log Handler for Plex Media Server
|
15
|
+
#
|
16
|
+
|
17
|
+
sig { params(sdk_config: SDKConfiguration).void }
|
18
|
+
def initialize(sdk_config)
|
19
|
+
@sdk_configuration = sdk_config
|
20
|
+
end
|
21
|
+
|
22
|
+
|
23
|
+
sig { params(level: ::PlexRubySDK::Operations::Level, message: ::String, source: ::String).returns(::PlexRubySDK::Operations::LogLineResponse) }
|
24
|
+
def log_line(level, message, source)
|
25
|
+
# log_line - Logging a single line message.
|
26
|
+
# This endpoint will write a single-line log message, including a level and source to the main Plex Media Server log.
|
27
|
+
#
|
28
|
+
request = ::PlexRubySDK::Operations::LogLineRequest.new(
|
29
|
+
|
30
|
+
level: level,
|
31
|
+
message: message,
|
32
|
+
source: source
|
33
|
+
)
|
34
|
+
url, params = @sdk_configuration.get_server_details
|
35
|
+
base_url = Utils.template_url(url, params)
|
36
|
+
url = "#{base_url}/log"
|
37
|
+
headers = {}
|
38
|
+
query_params = Utils.get_query_params(::PlexRubySDK::Operations::LogLineRequest, request, @sdk_configuration.globals)
|
39
|
+
headers['Accept'] = 'application/json'
|
40
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
41
|
+
|
42
|
+
r = @sdk_configuration.client.get(url) do |req|
|
43
|
+
req.headers = headers
|
44
|
+
req.params = query_params
|
45
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
46
|
+
end
|
47
|
+
|
48
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
49
|
+
|
50
|
+
res = ::PlexRubySDK::Operations::LogLineResponse.new(
|
51
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
52
|
+
)
|
53
|
+
if r.status == 200
|
54
|
+
elsif r.status == 400
|
55
|
+
if Utils.match_content_type(content_type, 'application/json')
|
56
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogLineBadRequest)
|
57
|
+
res.bad_request = out
|
58
|
+
end
|
59
|
+
elsif r.status == 401
|
60
|
+
if Utils.match_content_type(content_type, 'application/json')
|
61
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogLineUnauthorized)
|
62
|
+
res.unauthorized = out
|
63
|
+
end
|
64
|
+
end
|
65
|
+
res
|
66
|
+
end
|
67
|
+
|
68
|
+
|
69
|
+
sig { params(request: ::String).returns(::PlexRubySDK::Operations::LogMultiLineResponse) }
|
70
|
+
def log_multi_line(request)
|
71
|
+
# log_multi_line - Logging a multi-line message
|
72
|
+
# This endpoint allows for the batch addition of log entries to the main Plex Media Server log.
|
73
|
+
# It accepts a text/plain request body, where each line represents a distinct log entry.
|
74
|
+
# Each log entry consists of URL-encoded key-value pairs, specifying log attributes such as 'level', 'message', and 'source'.
|
75
|
+
#
|
76
|
+
# Log entries are separated by a newline character (`\n`).
|
77
|
+
# Each entry's parameters should be URL-encoded to ensure accurate parsing and handling of special characters.
|
78
|
+
# This method is efficient for logging multiple entries in a single API call, reducing the overhead of multiple individual requests.
|
79
|
+
#
|
80
|
+
# The 'level' parameter specifies the log entry's severity or importance, with the following integer values:
|
81
|
+
# - `0`: Error - Critical issues that require immediate attention.
|
82
|
+
# - `1`: Warning - Important events that are not critical but may indicate potential issues.
|
83
|
+
# - `2`: Info - General informational messages about system operation.
|
84
|
+
# - `3`: Debug - Detailed information useful for debugging purposes.
|
85
|
+
# - `4`: Verbose - Highly detailed diagnostic information for in-depth analysis.
|
86
|
+
#
|
87
|
+
# The 'message' parameter contains the log text, and 'source' identifies the log message's origin (e.g., an application name or module).
|
88
|
+
#
|
89
|
+
# Example of a single log entry format:
|
90
|
+
# `level=4&message=Sample%20log%20entry&source=applicationName`
|
91
|
+
#
|
92
|
+
# Ensure each parameter is properly URL-encoded to avoid interpretation issues.
|
93
|
+
#
|
94
|
+
url, params = @sdk_configuration.get_server_details
|
95
|
+
base_url = Utils.template_url(url, params)
|
96
|
+
url = "#{base_url}/log"
|
97
|
+
headers = {}
|
98
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :request, :string)
|
99
|
+
headers['content-type'] = req_content_type
|
100
|
+
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
101
|
+
headers['Accept'] = 'application/json'
|
102
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
103
|
+
|
104
|
+
r = @sdk_configuration.client.post(url) do |req|
|
105
|
+
req.headers = headers
|
106
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
107
|
+
if form
|
108
|
+
req.body = Utils.encode_form(form)
|
109
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
110
|
+
req.body = URI.encode_www_form(data)
|
111
|
+
else
|
112
|
+
req.body = data
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
117
|
+
|
118
|
+
res = ::PlexRubySDK::Operations::LogMultiLineResponse.new(
|
119
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
120
|
+
)
|
121
|
+
if r.status == 200
|
122
|
+
elsif r.status == 400
|
123
|
+
if Utils.match_content_type(content_type, 'application/json')
|
124
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogMultiLineBadRequest)
|
125
|
+
res.bad_request = out
|
126
|
+
end
|
127
|
+
elsif r.status == 401
|
128
|
+
if Utils.match_content_type(content_type, 'application/json')
|
129
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogMultiLineUnauthorized)
|
130
|
+
res.unauthorized = out
|
131
|
+
end
|
132
|
+
end
|
133
|
+
res
|
134
|
+
end
|
135
|
+
|
136
|
+
|
137
|
+
sig { returns(::PlexRubySDK::Operations::EnablePaperTrailResponse) }
|
138
|
+
def enable_paper_trail
|
139
|
+
# enable_paper_trail - Enabling Papertrail
|
140
|
+
# This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail networked logging site for a period of time.
|
141
|
+
#
|
142
|
+
url, params = @sdk_configuration.get_server_details
|
143
|
+
base_url = Utils.template_url(url, params)
|
144
|
+
url = "#{base_url}/log/networked"
|
145
|
+
headers = {}
|
146
|
+
headers['Accept'] = 'application/json'
|
147
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
148
|
+
|
149
|
+
r = @sdk_configuration.client.get(url) do |req|
|
150
|
+
req.headers = headers
|
151
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
152
|
+
end
|
153
|
+
|
154
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
155
|
+
|
156
|
+
res = ::PlexRubySDK::Operations::EnablePaperTrailResponse.new(
|
157
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
158
|
+
)
|
159
|
+
if [200, 403].include?(r.status)
|
160
|
+
elsif r.status == 400
|
161
|
+
if Utils.match_content_type(content_type, 'application/json')
|
162
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::EnablePaperTrailBadRequest)
|
163
|
+
res.bad_request = out
|
164
|
+
end
|
165
|
+
elsif r.status == 401
|
166
|
+
if Utils.match_content_type(content_type, 'application/json')
|
167
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::EnablePaperTrailUnauthorized)
|
168
|
+
res.unauthorized = out
|
169
|
+
end
|
170
|
+
end
|
171
|
+
res
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
@@ -0,0 +1,250 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
require 'faraday'
|
7
|
+
require 'faraday/multipart'
|
8
|
+
require 'sorbet-runtime'
|
9
|
+
|
10
|
+
module PlexRubySDK
|
11
|
+
extend T::Sig
|
12
|
+
class Media
|
13
|
+
extend T::Sig
|
14
|
+
# API Calls interacting with Plex Media Server Media
|
15
|
+
#
|
16
|
+
|
17
|
+
sig { params(sdk_config: SDKConfiguration).void }
|
18
|
+
def initialize(sdk_config)
|
19
|
+
@sdk_configuration = sdk_config
|
20
|
+
end
|
21
|
+
|
22
|
+
|
23
|
+
sig { params(key: ::Float).returns(::PlexRubySDK::Operations::MarkPlayedResponse) }
|
24
|
+
def mark_played(key)
|
25
|
+
# mark_played - Mark Media Played
|
26
|
+
# This will mark the provided media key as Played.
|
27
|
+
request = ::PlexRubySDK::Operations::MarkPlayedRequest.new(
|
28
|
+
|
29
|
+
key: key
|
30
|
+
)
|
31
|
+
url, params = @sdk_configuration.get_server_details
|
32
|
+
base_url = Utils.template_url(url, params)
|
33
|
+
url = "#{base_url}/:/scrobble"
|
34
|
+
headers = {}
|
35
|
+
query_params = Utils.get_query_params(::PlexRubySDK::Operations::MarkPlayedRequest, request, @sdk_configuration.globals)
|
36
|
+
headers['Accept'] = 'application/json'
|
37
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
38
|
+
|
39
|
+
r = @sdk_configuration.client.get(url) do |req|
|
40
|
+
req.headers = headers
|
41
|
+
req.params = query_params
|
42
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
43
|
+
end
|
44
|
+
|
45
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
46
|
+
|
47
|
+
res = ::PlexRubySDK::Operations::MarkPlayedResponse.new(
|
48
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
49
|
+
)
|
50
|
+
if r.status == 200
|
51
|
+
elsif r.status == 400
|
52
|
+
if Utils.match_content_type(content_type, 'application/json')
|
53
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkPlayedBadRequest)
|
54
|
+
res.bad_request = out
|
55
|
+
end
|
56
|
+
elsif r.status == 401
|
57
|
+
if Utils.match_content_type(content_type, 'application/json')
|
58
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkPlayedUnauthorized)
|
59
|
+
res.unauthorized = out
|
60
|
+
end
|
61
|
+
end
|
62
|
+
res
|
63
|
+
end
|
64
|
+
|
65
|
+
|
66
|
+
sig { params(key: ::Float).returns(::PlexRubySDK::Operations::MarkUnplayedResponse) }
|
67
|
+
def mark_unplayed(key)
|
68
|
+
# mark_unplayed - Mark Media Unplayed
|
69
|
+
# This will mark the provided media key as Unplayed.
|
70
|
+
request = ::PlexRubySDK::Operations::MarkUnplayedRequest.new(
|
71
|
+
|
72
|
+
key: key
|
73
|
+
)
|
74
|
+
url, params = @sdk_configuration.get_server_details
|
75
|
+
base_url = Utils.template_url(url, params)
|
76
|
+
url = "#{base_url}/:/unscrobble"
|
77
|
+
headers = {}
|
78
|
+
query_params = Utils.get_query_params(::PlexRubySDK::Operations::MarkUnplayedRequest, request, @sdk_configuration.globals)
|
79
|
+
headers['Accept'] = 'application/json'
|
80
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
81
|
+
|
82
|
+
r = @sdk_configuration.client.get(url) do |req|
|
83
|
+
req.headers = headers
|
84
|
+
req.params = query_params
|
85
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
86
|
+
end
|
87
|
+
|
88
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
89
|
+
|
90
|
+
res = ::PlexRubySDK::Operations::MarkUnplayedResponse.new(
|
91
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
92
|
+
)
|
93
|
+
if r.status == 200
|
94
|
+
elsif r.status == 400
|
95
|
+
if Utils.match_content_type(content_type, 'application/json')
|
96
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkUnplayedBadRequest)
|
97
|
+
res.bad_request = out
|
98
|
+
end
|
99
|
+
elsif r.status == 401
|
100
|
+
if Utils.match_content_type(content_type, 'application/json')
|
101
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkUnplayedUnauthorized)
|
102
|
+
res.unauthorized = out
|
103
|
+
end
|
104
|
+
end
|
105
|
+
res
|
106
|
+
end
|
107
|
+
|
108
|
+
|
109
|
+
sig { params(key: ::String, time: ::Float, state: ::String).returns(::PlexRubySDK::Operations::UpdatePlayProgressResponse) }
|
110
|
+
def update_play_progress(key, time, state)
|
111
|
+
# update_play_progress - Update Media Play Progress
|
112
|
+
# This API command can be used to update the play progress of a media item.
|
113
|
+
#
|
114
|
+
request = ::PlexRubySDK::Operations::UpdatePlayProgressRequest.new(
|
115
|
+
|
116
|
+
key: key,
|
117
|
+
time: time,
|
118
|
+
state: state
|
119
|
+
)
|
120
|
+
url, params = @sdk_configuration.get_server_details
|
121
|
+
base_url = Utils.template_url(url, params)
|
122
|
+
url = "#{base_url}/:/progress"
|
123
|
+
headers = {}
|
124
|
+
query_params = Utils.get_query_params(::PlexRubySDK::Operations::UpdatePlayProgressRequest, request, @sdk_configuration.globals)
|
125
|
+
headers['Accept'] = 'application/json'
|
126
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
127
|
+
|
128
|
+
r = @sdk_configuration.client.post(url) do |req|
|
129
|
+
req.headers = headers
|
130
|
+
req.params = query_params
|
131
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
132
|
+
end
|
133
|
+
|
134
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
135
|
+
|
136
|
+
res = ::PlexRubySDK::Operations::UpdatePlayProgressResponse.new(
|
137
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
138
|
+
)
|
139
|
+
if r.status == 200
|
140
|
+
elsif r.status == 400
|
141
|
+
if Utils.match_content_type(content_type, 'application/json')
|
142
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::UpdatePlayProgressBadRequest)
|
143
|
+
res.bad_request = out
|
144
|
+
end
|
145
|
+
elsif r.status == 401
|
146
|
+
if Utils.match_content_type(content_type, 'application/json')
|
147
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::UpdatePlayProgressUnauthorized)
|
148
|
+
res.unauthorized = out
|
149
|
+
end
|
150
|
+
end
|
151
|
+
res
|
152
|
+
end
|
153
|
+
|
154
|
+
|
155
|
+
sig { params(request: T.nilable(::PlexRubySDK::Operations::GetBannerImageRequest)).returns(::PlexRubySDK::Operations::GetBannerImageResponse) }
|
156
|
+
def get_banner_image(request)
|
157
|
+
# get_banner_image - Get Banner Image
|
158
|
+
# Gets the banner image of the media item
|
159
|
+
url, params = @sdk_configuration.get_server_details
|
160
|
+
base_url = Utils.template_url(url, params)
|
161
|
+
url = Utils.generate_url(
|
162
|
+
::PlexRubySDK::Operations::GetBannerImageRequest,
|
163
|
+
base_url,
|
164
|
+
'/library/metadata/{ratingKey}/banner',
|
165
|
+
request,
|
166
|
+
@sdk_configuration.globals
|
167
|
+
)
|
168
|
+
headers = {}
|
169
|
+
query_params = Utils.get_query_params(::PlexRubySDK::Operations::GetBannerImageRequest, request, @sdk_configuration.globals)
|
170
|
+
headers['Accept'] = 'application/json;q=1, image/jpeg;q=0'
|
171
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
172
|
+
|
173
|
+
r = @sdk_configuration.client.get(url) do |req|
|
174
|
+
req.headers = headers
|
175
|
+
req.params = query_params
|
176
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
177
|
+
end
|
178
|
+
|
179
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
180
|
+
|
181
|
+
res = ::PlexRubySDK::Operations::GetBannerImageResponse.new(
|
182
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
183
|
+
)
|
184
|
+
if r.status == 200
|
185
|
+
res.headers = r.headers
|
186
|
+
res.bytes = r.env.response_body if Utils.match_content_type(content_type, 'image/jpeg')
|
187
|
+
|
188
|
+
elsif r.status == 400
|
189
|
+
if Utils.match_content_type(content_type, 'application/json')
|
190
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetBannerImageBadRequest)
|
191
|
+
res.bad_request = out
|
192
|
+
end
|
193
|
+
elsif r.status == 401
|
194
|
+
if Utils.match_content_type(content_type, 'application/json')
|
195
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetBannerImageUnauthorized)
|
196
|
+
res.unauthorized = out
|
197
|
+
end
|
198
|
+
end
|
199
|
+
res
|
200
|
+
end
|
201
|
+
|
202
|
+
|
203
|
+
sig { params(request: T.nilable(::PlexRubySDK::Operations::GetThumbImageRequest)).returns(::PlexRubySDK::Operations::GetThumbImageResponse) }
|
204
|
+
def get_thumb_image(request)
|
205
|
+
# get_thumb_image - Get Thumb Image
|
206
|
+
# Gets the thumbnail image of the media item
|
207
|
+
url, params = @sdk_configuration.get_server_details
|
208
|
+
base_url = Utils.template_url(url, params)
|
209
|
+
url = Utils.generate_url(
|
210
|
+
::PlexRubySDK::Operations::GetThumbImageRequest,
|
211
|
+
base_url,
|
212
|
+
'/library/metadata/{ratingKey}/thumb',
|
213
|
+
request,
|
214
|
+
@sdk_configuration.globals
|
215
|
+
)
|
216
|
+
headers = {}
|
217
|
+
query_params = Utils.get_query_params(::PlexRubySDK::Operations::GetThumbImageRequest, request, @sdk_configuration.globals)
|
218
|
+
headers['Accept'] = 'application/json;q=1, image/jpeg;q=0'
|
219
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
220
|
+
|
221
|
+
r = @sdk_configuration.client.get(url) do |req|
|
222
|
+
req.headers = headers
|
223
|
+
req.params = query_params
|
224
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
225
|
+
end
|
226
|
+
|
227
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
228
|
+
|
229
|
+
res = ::PlexRubySDK::Operations::GetThumbImageResponse.new(
|
230
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
231
|
+
)
|
232
|
+
if r.status == 200
|
233
|
+
res.headers = r.headers
|
234
|
+
res.bytes = r.env.response_body if Utils.match_content_type(content_type, 'image/jpeg')
|
235
|
+
|
236
|
+
elsif r.status == 400
|
237
|
+
if Utils.match_content_type(content_type, 'application/json')
|
238
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetThumbImageBadRequest)
|
239
|
+
res.bad_request = out
|
240
|
+
end
|
241
|
+
elsif r.status == 401
|
242
|
+
if Utils.match_content_type(content_type, 'application/json')
|
243
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetThumbImageUnauthorized)
|
244
|
+
res.unauthorized = out
|
245
|
+
end
|
246
|
+
end
|
247
|
+
res
|
248
|
+
end
|
249
|
+
end
|
250
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module PlexRubySDK
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class Account < ::PlexRubySDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :auto_select_audio, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('autoSelectAudio') } }
|
16
|
+
|
17
|
+
field :default_audio_language, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('defaultAudioLanguage') } }
|
18
|
+
|
19
|
+
field :default_subtitle_language, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('defaultSubtitleLanguage') } }
|
20
|
+
|
21
|
+
field :id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
|
22
|
+
|
23
|
+
field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
|
24
|
+
|
25
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('name') } }
|
26
|
+
|
27
|
+
field :subtitle_mode, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subtitleMode') } }
|
28
|
+
|
29
|
+
field :thumb, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('thumb') } }
|
30
|
+
|
31
|
+
|
32
|
+
sig { params(auto_select_audio: T.nilable(T::Boolean), default_audio_language: T.nilable(::String), default_subtitle_language: T.nilable(::String), id: T.nilable(::Integer), key: T.nilable(::String), name: T.nilable(::String), subtitle_mode: T.nilable(::Integer), thumb: T.nilable(::String)).void }
|
33
|
+
def initialize(auto_select_audio: nil, default_audio_language: nil, default_subtitle_language: nil, id: nil, key: nil, name: nil, subtitle_mode: nil, thumb: nil)
|
34
|
+
@auto_select_audio = auto_select_audio
|
35
|
+
@default_audio_language = default_audio_language
|
36
|
+
@default_subtitle_language = default_subtitle_language
|
37
|
+
@id = id
|
38
|
+
@key = key
|
39
|
+
@name = name
|
40
|
+
@subtitle_mode = subtitle_mode
|
41
|
+
@thumb = thumb
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module PlexRubySDK
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class Activity < ::PlexRubySDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :cancellable, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('cancellable') } }
|
16
|
+
|
17
|
+
field :context, T.nilable(::PlexRubySDK::Operations::Context), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Context') } }
|
18
|
+
|
19
|
+
field :progress, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('progress') } }
|
20
|
+
|
21
|
+
field :subtitle, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subtitle') } }
|
22
|
+
|
23
|
+
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
|
24
|
+
|
25
|
+
field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
|
26
|
+
|
27
|
+
field :user_id, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('userID') } }
|
28
|
+
|
29
|
+
field :uuid, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('uuid') } }
|
30
|
+
|
31
|
+
|
32
|
+
sig { params(cancellable: T.nilable(T::Boolean), context: T.nilable(::PlexRubySDK::Operations::Context), progress: T.nilable(::Float), subtitle: T.nilable(::String), title: T.nilable(::String), type: T.nilable(::String), user_id: T.nilable(::Float), uuid: T.nilable(::String)).void }
|
33
|
+
def initialize(cancellable: nil, context: nil, progress: nil, subtitle: nil, title: nil, type: nil, user_id: nil, uuid: nil)
|
34
|
+
@cancellable = cancellable
|
35
|
+
@context = context
|
36
|
+
@progress = progress
|
37
|
+
@subtitle = subtitle
|
38
|
+
@title = title
|
39
|
+
@type = type
|
40
|
+
@user_id = user_id
|
41
|
+
@uuid = uuid
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module PlexRubySDK
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
# Bad Request - A parameter was not specified, or was specified incorrectly.
|
11
|
+
class AddPlaylistContentsBadRequest < ::PlexRubySDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :errors, T.nilable(T::Array[::PlexRubySDK::Operations::AddPlaylistContentsErrors]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('errors') } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(errors: T.nilable(T::Array[::PlexRubySDK::Operations::AddPlaylistContentsErrors])).void }
|
19
|
+
def initialize(errors: nil)
|
20
|
+
@errors = errors
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module PlexRubySDK
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AddPlaylistContentsErrors < ::PlexRubySDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :code, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('code') } }
|
16
|
+
|
17
|
+
field :message, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('message') } }
|
18
|
+
|
19
|
+
field :status, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('status') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(code: T.nilable(::Integer), message: T.nilable(::String), status: T.nilable(::Integer)).void }
|
23
|
+
def initialize(code: nil, message: nil, status: nil)
|
24
|
+
@code = code
|
25
|
+
@message = message
|
26
|
+
@status = status
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module PlexRubySDK
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AddPlaylistContentsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :leaf_count_added, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('leafCountAdded') } }
|
16
|
+
|
17
|
+
field :leaf_count_requested, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('leafCountRequested') } }
|
18
|
+
|
19
|
+
field :metadata, T.nilable(T::Array[::PlexRubySDK::Operations::AddPlaylistContentsMetadata]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Metadata') } }
|
20
|
+
|
21
|
+
field :size, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(leaf_count_added: T.nilable(::Integer), leaf_count_requested: T.nilable(::Integer), metadata: T.nilable(T::Array[::PlexRubySDK::Operations::AddPlaylistContentsMetadata]), size: T.nilable(::Integer)).void }
|
25
|
+
def initialize(leaf_count_added: nil, leaf_count_requested: nil, metadata: nil, size: nil)
|
26
|
+
@leaf_count_added = leaf_count_added
|
27
|
+
@leaf_count_requested = leaf_count_requested
|
28
|
+
@metadata = metadata
|
29
|
+
@size = size
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module PlexRubySDK
|
8
|
+
module Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AddPlaylistContentsMetadata < ::PlexRubySDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :added_at, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('addedAt') } }
|
16
|
+
|
17
|
+
field :composite, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('composite') } }
|
18
|
+
|
19
|
+
field :duration, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
|
20
|
+
|
21
|
+
field :guid, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('guid') } }
|
22
|
+
|
23
|
+
field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
|
24
|
+
|
25
|
+
field :leaf_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('leafCount') } }
|
26
|
+
|
27
|
+
field :playlist_type, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('playlistType') } }
|
28
|
+
|
29
|
+
field :rating_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('ratingKey') } }
|
30
|
+
|
31
|
+
field :smart, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('smart') } }
|
32
|
+
|
33
|
+
field :summary, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('summary') } }
|
34
|
+
|
35
|
+
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
|
36
|
+
|
37
|
+
field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
|
38
|
+
|
39
|
+
field :updated_at, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('updatedAt') } }
|
40
|
+
|
41
|
+
|
42
|
+
sig { params(added_at: T.nilable(::Integer), composite: T.nilable(::String), duration: T.nilable(::Integer), guid: T.nilable(::String), key: T.nilable(::String), leaf_count: T.nilable(::Integer), playlist_type: T.nilable(::String), rating_key: T.nilable(::String), smart: T.nilable(T::Boolean), summary: T.nilable(::String), title: T.nilable(::String), type: T.nilable(::String), updated_at: T.nilable(::Integer)).void }
|
43
|
+
def initialize(added_at: nil, composite: nil, duration: nil, guid: nil, key: nil, leaf_count: nil, playlist_type: nil, rating_key: nil, smart: nil, summary: nil, title: nil, type: nil, updated_at: nil)
|
44
|
+
@added_at = added_at
|
45
|
+
@composite = composite
|
46
|
+
@duration = duration
|
47
|
+
@guid = guid
|
48
|
+
@key = key
|
49
|
+
@leaf_count = leaf_count
|
50
|
+
@playlist_type = playlist_type
|
51
|
+
@rating_key = rating_key
|
52
|
+
@smart = smart
|
53
|
+
@summary = summary
|
54
|
+
@title = title
|
55
|
+
@type = type
|
56
|
+
@updated_at = updated_at
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|