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.
Files changed (714) hide show
  1. checksums.yaml +7 -0
  2. data/lib/plex_ruby_sdk/activities.rb +116 -0
  3. data/lib/plex_ruby_sdk/authentication.rb +221 -0
  4. data/lib/plex_ruby_sdk/butler.rb +243 -0
  5. data/lib/plex_ruby_sdk/hubs.rb +126 -0
  6. data/lib/plex_ruby_sdk/library.rb +692 -0
  7. data/lib/plex_ruby_sdk/log.rb +174 -0
  8. data/lib/plex_ruby_sdk/media.rb +250 -0
  9. data/lib/plex_ruby_sdk/models/operations/account.rb +45 -0
  10. data/lib/plex_ruby_sdk/models/operations/activity.rb +45 -0
  11. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_badrequest.rb +24 -0
  12. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_errors.rb +30 -0
  13. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_mediacontainer.rb +33 -0
  14. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_metadata.rb +60 -0
  15. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_playlists_errors.rb +30 -0
  16. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_request.rb +30 -0
  17. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_response.rb +39 -0
  18. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_responsebody.rb +24 -0
  19. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_unauthorized.rb +24 -0
  20. data/lib/plex_ruby_sdk/models/operations/applyupdates_badrequest.rb +24 -0
  21. data/lib/plex_ruby_sdk/models/operations/applyupdates_errors.rb +30 -0
  22. data/lib/plex_ruby_sdk/models/operations/applyupdates_request.rb +27 -0
  23. data/lib/plex_ruby_sdk/models/operations/applyupdates_response.rb +36 -0
  24. data/lib/plex_ruby_sdk/models/operations/applyupdates_unauthorized.rb +24 -0
  25. data/lib/plex_ruby_sdk/models/operations/applyupdates_updater_errors.rb +30 -0
  26. data/lib/plex_ruby_sdk/models/operations/autoselectsubtitle.rb +21 -0
  27. data/lib/plex_ruby_sdk/models/operations/billing.rb +30 -0
  28. data/lib/plex_ruby_sdk/models/operations/butlertask.rb +39 -0
  29. data/lib/plex_ruby_sdk/models/operations/butlertasks.rb +24 -0
  30. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_activities_errors.rb +30 -0
  31. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_badrequest.rb +24 -0
  32. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_errors.rb +30 -0
  33. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_request.rb +24 -0
  34. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_response.rb +36 -0
  35. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_unauthorized.rb +24 -0
  36. data/lib/plex_ruby_sdk/models/operations/checkforupdates_badrequest.rb +24 -0
  37. data/lib/plex_ruby_sdk/models/operations/checkforupdates_errors.rb +30 -0
  38. data/lib/plex_ruby_sdk/models/operations/checkforupdates_request.rb +24 -0
  39. data/lib/plex_ruby_sdk/models/operations/checkforupdates_response.rb +36 -0
  40. data/lib/plex_ruby_sdk/models/operations/checkforupdates_unauthorized.rb +24 -0
  41. data/lib/plex_ruby_sdk/models/operations/checkforupdates_updater_errors.rb +30 -0
  42. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_badrequest.rb +24 -0
  43. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_errors.rb +30 -0
  44. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_playlists_errors.rb +30 -0
  45. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_request.rb +24 -0
  46. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_response.rb +36 -0
  47. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_unauthorized.rb +24 -0
  48. data/lib/plex_ruby_sdk/models/operations/connections.rb +45 -0
  49. data/lib/plex_ruby_sdk/models/operations/context.rb +24 -0
  50. data/lib/plex_ruby_sdk/models/operations/country.rb +24 -0
  51. data/lib/plex_ruby_sdk/models/operations/createplaylist_badrequest.rb +24 -0
  52. data/lib/plex_ruby_sdk/models/operations/createplaylist_errors.rb +30 -0
  53. data/lib/plex_ruby_sdk/models/operations/createplaylist_mediacontainer.rb +27 -0
  54. data/lib/plex_ruby_sdk/models/operations/createplaylist_metadata.rb +69 -0
  55. data/lib/plex_ruby_sdk/models/operations/createplaylist_playlists_errors.rb +30 -0
  56. data/lib/plex_ruby_sdk/models/operations/createplaylist_queryparam_type.rb +19 -0
  57. data/lib/plex_ruby_sdk/models/operations/createplaylist_request.rb +36 -0
  58. data/lib/plex_ruby_sdk/models/operations/createplaylist_response.rb +39 -0
  59. data/lib/plex_ruby_sdk/models/operations/createplaylist_responsebody.rb +24 -0
  60. data/lib/plex_ruby_sdk/models/operations/createplaylist_unauthorized.rb +24 -0
  61. data/lib/plex_ruby_sdk/models/operations/defaultsubtitleaccessibility.rb +21 -0
  62. data/lib/plex_ruby_sdk/models/operations/defaultsubtitleforced.rb +21 -0
  63. data/lib/plex_ruby_sdk/models/operations/deletelibrary_badrequest.rb +24 -0
  64. data/lib/plex_ruby_sdk/models/operations/deletelibrary_errors.rb +30 -0
  65. data/lib/plex_ruby_sdk/models/operations/deletelibrary_library_errors.rb +30 -0
  66. data/lib/plex_ruby_sdk/models/operations/deletelibrary_request.rb +26 -0
  67. data/lib/plex_ruby_sdk/models/operations/deletelibrary_response.rb +36 -0
  68. data/lib/plex_ruby_sdk/models/operations/deletelibrary_unauthorized.rb +24 -0
  69. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_badrequest.rb +24 -0
  70. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_errors.rb +30 -0
  71. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_playlists_errors.rb +30 -0
  72. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_request.rb +24 -0
  73. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_response.rb +36 -0
  74. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_unauthorized.rb +24 -0
  75. data/lib/plex_ruby_sdk/models/operations/device.rb +36 -0
  76. data/lib/plex_ruby_sdk/models/operations/director.rb +24 -0
  77. data/lib/plex_ruby_sdk/models/operations/directory.rb +30 -0
  78. data/lib/plex_ruby_sdk/models/operations/download.rb +18 -0
  79. data/lib/plex_ruby_sdk/models/operations/enablepapertrail_badrequest.rb +24 -0
  80. data/lib/plex_ruby_sdk/models/operations/enablepapertrail_errors.rb +30 -0
  81. data/lib/plex_ruby_sdk/models/operations/enablepapertrail_log_errors.rb +30 -0
  82. data/lib/plex_ruby_sdk/models/operations/enablepapertrail_response.rb +36 -0
  83. data/lib/plex_ruby_sdk/models/operations/enablepapertrail_unauthorized.rb +24 -0
  84. data/lib/plex_ruby_sdk/models/operations/errors.rb +30 -0
  85. data/lib/plex_ruby_sdk/models/operations/feature.rb +30 -0
  86. data/lib/plex_ruby_sdk/models/operations/features.rb +78 -0
  87. data/lib/plex_ruby_sdk/models/operations/field.rb +33 -0
  88. data/lib/plex_ruby_sdk/models/operations/fieldtype.rb +27 -0
  89. data/lib/plex_ruby_sdk/models/operations/filter.rb +22 -0
  90. data/lib/plex_ruby_sdk/models/operations/force.rb +18 -0
  91. data/lib/plex_ruby_sdk/models/operations/friend.rb +60 -0
  92. data/lib/plex_ruby_sdk/models/operations/genre.rb +24 -0
  93. data/lib/plex_ruby_sdk/models/operations/geodata.rb +57 -0
  94. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_badrequest.rb +24 -0
  95. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb +84 -0
  96. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_errors.rb +30 -0
  97. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_library_errors.rb +30 -0
  98. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_mediacontainer.rb +33 -0
  99. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_response.rb +39 -0
  100. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_responsebody.rb +24 -0
  101. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_unauthorized.rb +24 -0
  102. data/lib/plex_ruby_sdk/models/operations/get_banner_image_badrequest.rb +24 -0
  103. data/lib/plex_ruby_sdk/models/operations/get_banner_image_errors.rb +30 -0
  104. data/lib/plex_ruby_sdk/models/operations/get_banner_image_media_errors.rb +30 -0
  105. data/lib/plex_ruby_sdk/models/operations/get_banner_image_request.rb +39 -0
  106. data/lib/plex_ruby_sdk/models/operations/get_banner_image_response.rb +42 -0
  107. data/lib/plex_ruby_sdk/models/operations/get_banner_image_unauthorized.rb +24 -0
  108. data/lib/plex_ruby_sdk/models/operations/get_library_details_badrequest.rb +24 -0
  109. data/lib/plex_ruby_sdk/models/operations/get_library_details_directory.rb +36 -0
  110. data/lib/plex_ruby_sdk/models/operations/get_library_details_errors.rb +30 -0
  111. data/lib/plex_ruby_sdk/models/operations/get_library_details_filter.rb +36 -0
  112. data/lib/plex_ruby_sdk/models/operations/get_library_details_library_errors.rb +30 -0
  113. data/lib/plex_ruby_sdk/models/operations/get_library_details_mediacontainer.rb +66 -0
  114. data/lib/plex_ruby_sdk/models/operations/get_library_details_request.rb +31 -0
  115. data/lib/plex_ruby_sdk/models/operations/get_library_details_response.rb +39 -0
  116. data/lib/plex_ruby_sdk/models/operations/get_library_details_responsebody.rb +24 -0
  117. data/lib/plex_ruby_sdk/models/operations/get_library_details_type.rb +42 -0
  118. data/lib/plex_ruby_sdk/models/operations/get_library_details_unauthorized.rb +24 -0
  119. data/lib/plex_ruby_sdk/models/operations/get_library_items_badrequest.rb +24 -0
  120. data/lib/plex_ruby_sdk/models/operations/get_library_items_country.rb +24 -0
  121. data/lib/plex_ruby_sdk/models/operations/get_library_items_director.rb +24 -0
  122. data/lib/plex_ruby_sdk/models/operations/get_library_items_errors.rb +30 -0
  123. data/lib/plex_ruby_sdk/models/operations/get_library_items_genre.rb +24 -0
  124. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_errors.rb +30 -0
  125. data/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb +63 -0
  126. data/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb +69 -0
  127. data/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb +192 -0
  128. data/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb +42 -0
  129. data/lib/plex_ruby_sdk/models/operations/get_library_items_request.rb +58 -0
  130. data/lib/plex_ruby_sdk/models/operations/get_library_items_response.rb +39 -0
  131. data/lib/plex_ruby_sdk/models/operations/get_library_items_responsebody.rb +24 -0
  132. data/lib/plex_ruby_sdk/models/operations/get_library_items_role.rb +24 -0
  133. data/lib/plex_ruby_sdk/models/operations/get_library_items_unauthorized.rb +24 -0
  134. data/lib/plex_ruby_sdk/models/operations/get_library_items_writer.rb +24 -0
  135. data/lib/plex_ruby_sdk/models/operations/get_media_providers_badrequest.rb +24 -0
  136. data/lib/plex_ruby_sdk/models/operations/get_media_providers_directory.rb +63 -0
  137. data/lib/plex_ruby_sdk/models/operations/get_media_providers_errors.rb +30 -0
  138. data/lib/plex_ruby_sdk/models/operations/get_media_providers_mediacontainer.rb +153 -0
  139. data/lib/plex_ruby_sdk/models/operations/get_media_providers_request.rb +24 -0
  140. data/lib/plex_ruby_sdk/models/operations/get_media_providers_response.rb +39 -0
  141. data/lib/plex_ruby_sdk/models/operations/get_media_providers_responsebody.rb +24 -0
  142. data/lib/plex_ruby_sdk/models/operations/get_media_providers_server_errors.rb +30 -0
  143. data/lib/plex_ruby_sdk/models/operations/get_media_providers_unauthorized.rb +24 -0
  144. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_badrequest.rb +24 -0
  145. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_country.rb +30 -0
  146. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_director.rb +36 -0
  147. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_errors.rb +30 -0
  148. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_genre.rb +30 -0
  149. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_library_errors.rb +30 -0
  150. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_media.rb +72 -0
  151. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_mediacontainer.rb +48 -0
  152. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_metadata.rb +120 -0
  153. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_part.rb +54 -0
  154. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_request.rb +24 -0
  155. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_response.rb +39 -0
  156. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_responsebody.rb +24 -0
  157. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_role.rb +39 -0
  158. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_unauthorized.rb +24 -0
  159. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_writer.rb +36 -0
  160. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_badrequest.rb +24 -0
  161. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_errors.rb +30 -0
  162. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_library_errors.rb +30 -0
  163. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_request.rb +29 -0
  164. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_response.rb +36 -0
  165. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_unauthorized.rb +24 -0
  166. data/lib/plex_ruby_sdk/models/operations/get_search_library_badrequest.rb +24 -0
  167. data/lib/plex_ruby_sdk/models/operations/get_search_library_errors.rb +30 -0
  168. data/lib/plex_ruby_sdk/models/operations/get_search_library_library_errors.rb +30 -0
  169. data/lib/plex_ruby_sdk/models/operations/get_search_library_mediacontainer.rb +60 -0
  170. data/lib/plex_ruby_sdk/models/operations/get_search_library_metadata.rb +81 -0
  171. data/lib/plex_ruby_sdk/models/operations/get_search_library_request.rb +35 -0
  172. data/lib/plex_ruby_sdk/models/operations/get_search_library_response.rb +39 -0
  173. data/lib/plex_ruby_sdk/models/operations/get_search_library_responsebody.rb +24 -0
  174. data/lib/plex_ruby_sdk/models/operations/get_search_library_unauthorized.rb +24 -0
  175. data/lib/plex_ruby_sdk/models/operations/get_server_identity_mediacontainer.rb +33 -0
  176. data/lib/plex_ruby_sdk/models/operations/get_server_identity_requesttimeout.rb +27 -0
  177. data/lib/plex_ruby_sdk/models/operations/get_server_identity_response.rb +36 -0
  178. data/lib/plex_ruby_sdk/models/operations/get_server_identity_responsebody.rb +24 -0
  179. data/lib/plex_ruby_sdk/models/operations/get_server_resources_badrequest.rb +27 -0
  180. data/lib/plex_ruby_sdk/models/operations/get_server_resources_errors.rb +33 -0
  181. data/lib/plex_ruby_sdk/models/operations/get_server_resources_plex_errors.rb +33 -0
  182. data/lib/plex_ruby_sdk/models/operations/get_server_resources_request.rb +41 -0
  183. data/lib/plex_ruby_sdk/models/operations/get_server_resources_response.rb +42 -0
  184. data/lib/plex_ruby_sdk/models/operations/get_server_resources_unauthorized.rb +27 -0
  185. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_badrequest.rb +24 -0
  186. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_errors.rb +30 -0
  187. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_media_errors.rb +30 -0
  188. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_request.rb +39 -0
  189. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_response.rb +42 -0
  190. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_unauthorized.rb +24 -0
  191. data/lib/plex_ruby_sdk/models/operations/get_watch_list_badrequest.rb +27 -0
  192. data/lib/plex_ruby_sdk/models/operations/get_watch_list_errors.rb +33 -0
  193. data/lib/plex_ruby_sdk/models/operations/get_watch_list_request.rb +65 -0
  194. data/lib/plex_ruby_sdk/models/operations/get_watch_list_response.rb +42 -0
  195. data/lib/plex_ruby_sdk/models/operations/get_watch_list_responsebody.rb +45 -0
  196. data/lib/plex_ruby_sdk/models/operations/get_watch_list_unauthorized.rb +27 -0
  197. data/lib/plex_ruby_sdk/models/operations/get_watch_list_watchlist_errors.rb +33 -0
  198. data/lib/plex_ruby_sdk/models/operations/getavailableclients_badrequest.rb +24 -0
  199. data/lib/plex_ruby_sdk/models/operations/getavailableclients_errors.rb +30 -0
  200. data/lib/plex_ruby_sdk/models/operations/getavailableclients_mediacontainer.rb +27 -0
  201. data/lib/plex_ruby_sdk/models/operations/getavailableclients_response.rb +39 -0
  202. data/lib/plex_ruby_sdk/models/operations/getavailableclients_responsebody.rb +24 -0
  203. data/lib/plex_ruby_sdk/models/operations/getavailableclients_server_errors.rb +30 -0
  204. data/lib/plex_ruby_sdk/models/operations/getavailableclients_unauthorized.rb +24 -0
  205. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_account.rb +45 -0
  206. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_badrequest.rb +24 -0
  207. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_device.rb +36 -0
  208. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_errors.rb +30 -0
  209. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_mediacontainer.rb +33 -0
  210. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_request.rb +26 -0
  211. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_response.rb +39 -0
  212. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_responsebody.rb +24 -0
  213. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_statistics_errors.rb +30 -0
  214. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_unauthorized.rb +24 -0
  215. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_badrequest.rb +24 -0
  216. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_butler_errors.rb +30 -0
  217. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_errors.rb +30 -0
  218. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_response.rb +39 -0
  219. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_responsebody.rb +24 -0
  220. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_unauthorized.rb +24 -0
  221. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_badrequest.rb +27 -0
  222. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_errors.rb +33 -0
  223. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_plex_errors.rb +33 -0
  224. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_response.rb +42 -0
  225. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_unauthorized.rb +27 -0
  226. data/lib/plex_ruby_sdk/models/operations/getdevices_badrequest.rb +24 -0
  227. data/lib/plex_ruby_sdk/models/operations/getdevices_errors.rb +30 -0
  228. data/lib/plex_ruby_sdk/models/operations/getdevices_mediacontainer.rb +30 -0
  229. data/lib/plex_ruby_sdk/models/operations/getdevices_response.rb +39 -0
  230. data/lib/plex_ruby_sdk/models/operations/getdevices_responsebody.rb +24 -0
  231. data/lib/plex_ruby_sdk/models/operations/getdevices_server_errors.rb +30 -0
  232. data/lib/plex_ruby_sdk/models/operations/getdevices_unauthorized.rb +24 -0
  233. data/lib/plex_ruby_sdk/models/operations/getfilehash_badrequest.rb +24 -0
  234. data/lib/plex_ruby_sdk/models/operations/getfilehash_errors.rb +30 -0
  235. data/lib/plex_ruby_sdk/models/operations/getfilehash_library_errors.rb +30 -0
  236. data/lib/plex_ruby_sdk/models/operations/getfilehash_request.rb +27 -0
  237. data/lib/plex_ruby_sdk/models/operations/getfilehash_response.rb +36 -0
  238. data/lib/plex_ruby_sdk/models/operations/getfilehash_unauthorized.rb +24 -0
  239. data/lib/plex_ruby_sdk/models/operations/getgeodata_badrequest.rb +27 -0
  240. data/lib/plex_ruby_sdk/models/operations/getgeodata_errors.rb +33 -0
  241. data/lib/plex_ruby_sdk/models/operations/getgeodata_geodata.rb +57 -0
  242. data/lib/plex_ruby_sdk/models/operations/getgeodata_plex_errors.rb +33 -0
  243. data/lib/plex_ruby_sdk/models/operations/getgeodata_response.rb +42 -0
  244. data/lib/plex_ruby_sdk/models/operations/getgeodata_unauthorized.rb +27 -0
  245. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_badrequest.rb +24 -0
  246. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_errors.rb +30 -0
  247. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_hubs_errors.rb +30 -0
  248. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_mediacontainer.rb +33 -0
  249. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_metadata.rb +72 -0
  250. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_request.rb +27 -0
  251. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_response.rb +39 -0
  252. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_responsebody.rb +24 -0
  253. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_unauthorized.rb +24 -0
  254. data/lib/plex_ruby_sdk/models/operations/gethomedata_badrequest.rb +24 -0
  255. data/lib/plex_ruby_sdk/models/operations/gethomedata_errors.rb +30 -0
  256. data/lib/plex_ruby_sdk/models/operations/gethomedata_plex_errors.rb +30 -0
  257. data/lib/plex_ruby_sdk/models/operations/gethomedata_response.rb +39 -0
  258. data/lib/plex_ruby_sdk/models/operations/gethomedata_responsebody.rb +39 -0
  259. data/lib/plex_ruby_sdk/models/operations/gethomedata_unauthorized.rb +24 -0
  260. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_badrequest.rb +24 -0
  261. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_country.rb +24 -0
  262. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_director.rb +24 -0
  263. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_errors.rb +30 -0
  264. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_genre.rb +24 -0
  265. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hub.rb +57 -0
  266. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hubs_errors.rb +30 -0
  267. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_media.rb +72 -0
  268. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_mediacontainer.rb +42 -0
  269. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_metadata.rb +123 -0
  270. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_part.rb +51 -0
  271. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_request.rb +30 -0
  272. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_response.rb +39 -0
  273. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_responsebody.rb +24 -0
  274. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_role.rb +24 -0
  275. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_unauthorized.rb +24 -0
  276. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_writer.rb +24 -0
  277. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_badrequest.rb +24 -0
  278. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_directory.rb +36 -0
  279. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_errors.rb +30 -0
  280. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_library_errors.rb +30 -0
  281. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_mediacontainer.rb +90 -0
  282. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_metadata.rb +102 -0
  283. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_request.rb +28 -0
  284. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_response.rb +39 -0
  285. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_responsebody.rb +24 -0
  286. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_unauthorized.rb +24 -0
  287. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_badrequest.rb +24 -0
  288. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_errors.rb +30 -0
  289. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_response.rb +39 -0
  290. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_responsebody.rb +24 -0
  291. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_server_errors.rb +30 -0
  292. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_unauthorized.rb +24 -0
  293. data/lib/plex_ruby_sdk/models/operations/getondeck_badrequest.rb +24 -0
  294. data/lib/plex_ruby_sdk/models/operations/getondeck_errors.rb +30 -0
  295. data/lib/plex_ruby_sdk/models/operations/getondeck_guids.rb +24 -0
  296. data/lib/plex_ruby_sdk/models/operations/getondeck_library_errors.rb +30 -0
  297. data/lib/plex_ruby_sdk/models/operations/getondeck_media.rb +66 -0
  298. data/lib/plex_ruby_sdk/models/operations/getondeck_mediacontainer.rb +42 -0
  299. data/lib/plex_ruby_sdk/models/operations/getondeck_metadata.rb +129 -0
  300. data/lib/plex_ruby_sdk/models/operations/getondeck_part.rb +48 -0
  301. data/lib/plex_ruby_sdk/models/operations/getondeck_response.rb +39 -0
  302. data/lib/plex_ruby_sdk/models/operations/getondeck_responsebody.rb +24 -0
  303. data/lib/plex_ruby_sdk/models/operations/getondeck_stream.rb +90 -0
  304. data/lib/plex_ruby_sdk/models/operations/getondeck_unauthorized.rb +24 -0
  305. data/lib/plex_ruby_sdk/models/operations/getpin_authpincontainer.rb +60 -0
  306. data/lib/plex_ruby_sdk/models/operations/getpin_badrequest.rb +27 -0
  307. data/lib/plex_ruby_sdk/models/operations/getpin_errors.rb +33 -0
  308. data/lib/plex_ruby_sdk/models/operations/getpin_request.rb +39 -0
  309. data/lib/plex_ruby_sdk/models/operations/getpin_response.rb +39 -0
  310. data/lib/plex_ruby_sdk/models/operations/getplaylist_badrequest.rb +24 -0
  311. data/lib/plex_ruby_sdk/models/operations/getplaylist_errors.rb +30 -0
  312. data/lib/plex_ruby_sdk/models/operations/getplaylist_mediacontainer.rb +27 -0
  313. data/lib/plex_ruby_sdk/models/operations/getplaylist_metadata.rb +66 -0
  314. data/lib/plex_ruby_sdk/models/operations/getplaylist_playlists_errors.rb +30 -0
  315. data/lib/plex_ruby_sdk/models/operations/getplaylist_request.rb +24 -0
  316. data/lib/plex_ruby_sdk/models/operations/getplaylist_response.rb +39 -0
  317. data/lib/plex_ruby_sdk/models/operations/getplaylist_responsebody.rb +24 -0
  318. data/lib/plex_ruby_sdk/models/operations/getplaylist_unauthorized.rb +24 -0
  319. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_badrequest.rb +24 -0
  320. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_country.rb +24 -0
  321. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_director.rb +24 -0
  322. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_errors.rb +30 -0
  323. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_genre.rb +24 -0
  324. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_media.rb +72 -0
  325. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_mediacontainer.rb +48 -0
  326. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_metadata.rb +117 -0
  327. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_part.rb +51 -0
  328. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_playlists_errors.rb +30 -0
  329. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_queryparam_type.rb +26 -0
  330. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_request.rb +33 -0
  331. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_response.rb +39 -0
  332. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_responsebody.rb +24 -0
  333. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_role.rb +24 -0
  334. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_unauthorized.rb +24 -0
  335. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_writer.rb +24 -0
  336. data/lib/plex_ruby_sdk/models/operations/getplaylists_badrequest.rb +24 -0
  337. data/lib/plex_ruby_sdk/models/operations/getplaylists_errors.rb +30 -0
  338. data/lib/plex_ruby_sdk/models/operations/getplaylists_mediacontainer.rb +27 -0
  339. data/lib/plex_ruby_sdk/models/operations/getplaylists_metadata.rb +69 -0
  340. data/lib/plex_ruby_sdk/models/operations/getplaylists_playlists_errors.rb +30 -0
  341. data/lib/plex_ruby_sdk/models/operations/getplaylists_request.rb +27 -0
  342. data/lib/plex_ruby_sdk/models/operations/getplaylists_response.rb +39 -0
  343. data/lib/plex_ruby_sdk/models/operations/getplaylists_responsebody.rb +24 -0
  344. data/lib/plex_ruby_sdk/models/operations/getplaylists_unauthorized.rb +24 -0
  345. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_badrequest.rb +24 -0
  346. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_errors.rb +30 -0
  347. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_library_errors.rb +30 -0
  348. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_mediacontainer.rb +42 -0
  349. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_metadata.rb +117 -0
  350. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_request.rb +33 -0
  351. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_response.rb +39 -0
  352. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_responsebody.rb +24 -0
  353. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_unauthorized.rb +24 -0
  354. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_badrequest.rb +24 -0
  355. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_errors.rb +30 -0
  356. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_request.rb +42 -0
  357. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_response.rb +36 -0
  358. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_server_errors.rb +30 -0
  359. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_unauthorized.rb +24 -0
  360. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_badrequest.rb +24 -0
  361. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_errors.rb +30 -0
  362. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_mediacontainer.rb +27 -0
  363. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_request.rb +26 -0
  364. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_response.rb +39 -0
  365. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_responsebody.rb +24 -0
  366. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_statistics_errors.rb +30 -0
  367. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_unauthorized.rb +24 -0
  368. data/lib/plex_ruby_sdk/models/operations/getsearchresults_badrequest.rb +24 -0
  369. data/lib/plex_ruby_sdk/models/operations/getsearchresults_country.rb +24 -0
  370. data/lib/plex_ruby_sdk/models/operations/getsearchresults_director.rb +24 -0
  371. data/lib/plex_ruby_sdk/models/operations/getsearchresults_errors.rb +30 -0
  372. data/lib/plex_ruby_sdk/models/operations/getsearchresults_genre.rb +24 -0
  373. data/lib/plex_ruby_sdk/models/operations/getsearchresults_media.rb +66 -0
  374. data/lib/plex_ruby_sdk/models/operations/getsearchresults_mediacontainer.rb +39 -0
  375. data/lib/plex_ruby_sdk/models/operations/getsearchresults_metadata.rb +123 -0
  376. data/lib/plex_ruby_sdk/models/operations/getsearchresults_part.rb +45 -0
  377. data/lib/plex_ruby_sdk/models/operations/getsearchresults_request.rb +24 -0
  378. data/lib/plex_ruby_sdk/models/operations/getsearchresults_response.rb +39 -0
  379. data/lib/plex_ruby_sdk/models/operations/getsearchresults_responsebody.rb +24 -0
  380. data/lib/plex_ruby_sdk/models/operations/getsearchresults_role.rb +24 -0
  381. data/lib/plex_ruby_sdk/models/operations/getsearchresults_search_errors.rb +30 -0
  382. data/lib/plex_ruby_sdk/models/operations/getsearchresults_unauthorized.rb +24 -0
  383. data/lib/plex_ruby_sdk/models/operations/getsearchresults_writer.rb +24 -0
  384. data/lib/plex_ruby_sdk/models/operations/getserveractivities_activities_errors.rb +30 -0
  385. data/lib/plex_ruby_sdk/models/operations/getserveractivities_badrequest.rb +24 -0
  386. data/lib/plex_ruby_sdk/models/operations/getserveractivities_errors.rb +30 -0
  387. data/lib/plex_ruby_sdk/models/operations/getserveractivities_mediacontainer.rb +27 -0
  388. data/lib/plex_ruby_sdk/models/operations/getserveractivities_response.rb +39 -0
  389. data/lib/plex_ruby_sdk/models/operations/getserveractivities_responsebody.rb +24 -0
  390. data/lib/plex_ruby_sdk/models/operations/getserveractivities_unauthorized.rb +24 -0
  391. data/lib/plex_ruby_sdk/models/operations/getservercapabilities_badrequest.rb +24 -0
  392. data/lib/plex_ruby_sdk/models/operations/getservercapabilities_errors.rb +30 -0
  393. data/lib/plex_ruby_sdk/models/operations/getservercapabilities_response.rb +39 -0
  394. data/lib/plex_ruby_sdk/models/operations/getservercapabilities_responsebody.rb +24 -0
  395. data/lib/plex_ruby_sdk/models/operations/getservercapabilities_unauthorized.rb +24 -0
  396. data/lib/plex_ruby_sdk/models/operations/getserverlist_badrequest.rb +24 -0
  397. data/lib/plex_ruby_sdk/models/operations/getserverlist_errors.rb +30 -0
  398. data/lib/plex_ruby_sdk/models/operations/getserverlist_mediacontainer.rb +27 -0
  399. data/lib/plex_ruby_sdk/models/operations/getserverlist_response.rb +39 -0
  400. data/lib/plex_ruby_sdk/models/operations/getserverlist_responsebody.rb +24 -0
  401. data/lib/plex_ruby_sdk/models/operations/getserverlist_server.rb +39 -0
  402. data/lib/plex_ruby_sdk/models/operations/getserverlist_server_errors.rb +30 -0
  403. data/lib/plex_ruby_sdk/models/operations/getserverlist_unauthorized.rb +24 -0
  404. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_badrequest.rb +24 -0
  405. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_errors.rb +30 -0
  406. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_mediacontainer.rb +27 -0
  407. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_response.rb +39 -0
  408. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_responsebody.rb +24 -0
  409. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_server_errors.rb +30 -0
  410. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_unauthorized.rb +24 -0
  411. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_badrequest.rb +24 -0
  412. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_errors.rb +30 -0
  413. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_mediacontainer.rb +27 -0
  414. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_metadata.rb +78 -0
  415. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_request.rb +38 -0
  416. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_response.rb +39 -0
  417. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_responsebody.rb +24 -0
  418. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_sessions_errors.rb +30 -0
  419. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_unauthorized.rb +24 -0
  420. data/lib/plex_ruby_sdk/models/operations/getsessions_badrequest.rb +24 -0
  421. data/lib/plex_ruby_sdk/models/operations/getsessions_errors.rb +30 -0
  422. data/lib/plex_ruby_sdk/models/operations/getsessions_media.rb +45 -0
  423. data/lib/plex_ruby_sdk/models/operations/getsessions_mediacontainer.rb +27 -0
  424. data/lib/plex_ruby_sdk/models/operations/getsessions_metadata.rb +132 -0
  425. data/lib/plex_ruby_sdk/models/operations/getsessions_part.rb +51 -0
  426. data/lib/plex_ruby_sdk/models/operations/getsessions_response.rb +39 -0
  427. data/lib/plex_ruby_sdk/models/operations/getsessions_responsebody.rb +24 -0
  428. data/lib/plex_ruby_sdk/models/operations/getsessions_sessions_errors.rb +30 -0
  429. data/lib/plex_ruby_sdk/models/operations/getsessions_stream.rb +81 -0
  430. data/lib/plex_ruby_sdk/models/operations/getsessions_unauthorized.rb +24 -0
  431. data/lib/plex_ruby_sdk/models/operations/getsessions_user.rb +30 -0
  432. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_authentication_errors.rb +30 -0
  433. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_badrequest.rb +24 -0
  434. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_errors.rb +30 -0
  435. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_request.rb +24 -0
  436. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_response.rb +36 -0
  437. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_unauthorized.rb +24 -0
  438. data/lib/plex_ruby_sdk/models/operations/getstatistics_badrequest.rb +24 -0
  439. data/lib/plex_ruby_sdk/models/operations/getstatistics_device.rb +36 -0
  440. data/lib/plex_ruby_sdk/models/operations/getstatistics_errors.rb +30 -0
  441. data/lib/plex_ruby_sdk/models/operations/getstatistics_mediacontainer.rb +33 -0
  442. data/lib/plex_ruby_sdk/models/operations/getstatistics_request.rb +26 -0
  443. data/lib/plex_ruby_sdk/models/operations/getstatistics_response.rb +39 -0
  444. data/lib/plex_ruby_sdk/models/operations/getstatistics_responsebody.rb +24 -0
  445. data/lib/plex_ruby_sdk/models/operations/getstatistics_statistics_errors.rb +30 -0
  446. data/lib/plex_ruby_sdk/models/operations/getstatistics_unauthorized.rb +24 -0
  447. data/lib/plex_ruby_sdk/models/operations/gettimeline_badrequest.rb +24 -0
  448. data/lib/plex_ruby_sdk/models/operations/gettimeline_errors.rb +30 -0
  449. data/lib/plex_ruby_sdk/models/operations/gettimeline_request.rb +51 -0
  450. data/lib/plex_ruby_sdk/models/operations/gettimeline_response.rb +36 -0
  451. data/lib/plex_ruby_sdk/models/operations/gettimeline_unauthorized.rb +24 -0
  452. data/lib/plex_ruby_sdk/models/operations/gettimeline_video_errors.rb +30 -0
  453. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb +60 -0
  454. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_badrequest.rb +27 -0
  455. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_errors.rb +33 -0
  456. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb +57 -0
  457. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_plex_errors.rb +30 -0
  458. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_request.rb +33 -0
  459. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_response.rb +42 -0
  460. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_responsebody.rb +27 -0
  461. data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_errors.rb +33 -0
  462. data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_response_status.rb +21 -0
  463. data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_status.rb +21 -0
  464. data/lib/plex_ruby_sdk/models/operations/gettokendetails_badrequest.rb +27 -0
  465. data/lib/plex_ruby_sdk/models/operations/gettokendetails_errors.rb +33 -0
  466. data/lib/plex_ruby_sdk/models/operations/gettokendetails_features.rb +78 -0
  467. data/lib/plex_ruby_sdk/models/operations/gettokendetails_response.rb +42 -0
  468. data/lib/plex_ruby_sdk/models/operations/gettokendetails_status.rb +21 -0
  469. data/lib/plex_ruby_sdk/models/operations/gettokendetails_subscription.rb +42 -0
  470. data/lib/plex_ruby_sdk/models/operations/gettokendetails_unauthorized.rb +27 -0
  471. data/lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb +146 -0
  472. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_badrequest.rb +24 -0
  473. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_country.rb +30 -0
  474. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_errors.rb +30 -0
  475. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_genre.rb +30 -0
  476. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_guids.rb +24 -0
  477. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_library_errors.rb +30 -0
  478. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_mediacontainer.rb +39 -0
  479. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_metadata.rb +117 -0
  480. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_queryparam_type.rb +26 -0
  481. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_request.rb +34 -0
  482. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_response.rb +39 -0
  483. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_responsebody.rb +24 -0
  484. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_role.rb +39 -0
  485. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_unauthorized.rb +24 -0
  486. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_badrequest.rb +24 -0
  487. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_errors.rb +30 -0
  488. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_mediacontainer.rb +27 -0
  489. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_response.rb +39 -0
  490. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_responsebody.rb +24 -0
  491. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_sessions_errors.rb +30 -0
  492. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_unauthorized.rb +24 -0
  493. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_authentication_errors.rb +30 -0
  494. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_badrequest.rb +24 -0
  495. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_errors.rb +30 -0
  496. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_queryparam_type.rb +17 -0
  497. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_request.rb +27 -0
  498. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_response.rb +36 -0
  499. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_unauthorized.rb +24 -0
  500. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_badrequest.rb +24 -0
  501. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_errors.rb +30 -0
  502. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_mediacontainer.rb +39 -0
  503. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_response.rb +39 -0
  504. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_responsebody.rb +24 -0
  505. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_unauthorized.rb +24 -0
  506. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_updater_errors.rb +30 -0
  507. data/lib/plex_ruby_sdk/models/operations/getuserfriends_badrequest.rb +27 -0
  508. data/lib/plex_ruby_sdk/models/operations/getuserfriends_errors.rb +33 -0
  509. data/lib/plex_ruby_sdk/models/operations/getuserfriends_plex_errors.rb +33 -0
  510. data/lib/plex_ruby_sdk/models/operations/getuserfriends_response.rb +42 -0
  511. data/lib/plex_ruby_sdk/models/operations/getuserfriends_unauthorized.rb +27 -0
  512. data/lib/plex_ruby_sdk/models/operations/guids.rb +24 -0
  513. data/lib/plex_ruby_sdk/models/operations/hub.rb +54 -0
  514. data/lib/plex_ruby_sdk/models/operations/image.rb +33 -0
  515. data/lib/plex_ruby_sdk/models/operations/includecollections.rb +22 -0
  516. data/lib/plex_ruby_sdk/models/operations/includedetails.rb +20 -0
  517. data/lib/plex_ruby_sdk/models/operations/includeexternalmedia.rb +22 -0
  518. data/lib/plex_ruby_sdk/models/operations/includeguids.rb +19 -0
  519. data/lib/plex_ruby_sdk/models/operations/includehttps.rb +21 -0
  520. data/lib/plex_ruby_sdk/models/operations/includeipv6.rb +21 -0
  521. data/lib/plex_ruby_sdk/models/operations/includemeta.rb +19 -0
  522. data/lib/plex_ruby_sdk/models/operations/includerelay.rb +23 -0
  523. data/lib/plex_ruby_sdk/models/operations/internalpaymentmethod.rb +23 -0
  524. data/lib/plex_ruby_sdk/models/operations/level.rb +27 -0
  525. data/lib/plex_ruby_sdk/models/operations/libtype.rb +22 -0
  526. data/lib/plex_ruby_sdk/models/operations/location.rb +27 -0
  527. data/lib/plex_ruby_sdk/models/operations/logline_badrequest.rb +24 -0
  528. data/lib/plex_ruby_sdk/models/operations/logline_errors.rb +30 -0
  529. data/lib/plex_ruby_sdk/models/operations/logline_log_errors.rb +30 -0
  530. data/lib/plex_ruby_sdk/models/operations/logline_request.rb +36 -0
  531. data/lib/plex_ruby_sdk/models/operations/logline_response.rb +36 -0
  532. data/lib/plex_ruby_sdk/models/operations/logline_unauthorized.rb +24 -0
  533. data/lib/plex_ruby_sdk/models/operations/logmultiline_badrequest.rb +24 -0
  534. data/lib/plex_ruby_sdk/models/operations/logmultiline_errors.rb +30 -0
  535. data/lib/plex_ruby_sdk/models/operations/logmultiline_log_errors.rb +30 -0
  536. data/lib/plex_ruby_sdk/models/operations/logmultiline_response.rb +36 -0
  537. data/lib/plex_ruby_sdk/models/operations/logmultiline_unauthorized.rb +24 -0
  538. data/lib/plex_ruby_sdk/models/operations/mailingliststatus.rb +21 -0
  539. data/lib/plex_ruby_sdk/models/operations/markplayed_badrequest.rb +24 -0
  540. data/lib/plex_ruby_sdk/models/operations/markplayed_errors.rb +30 -0
  541. data/lib/plex_ruby_sdk/models/operations/markplayed_media_errors.rb +30 -0
  542. data/lib/plex_ruby_sdk/models/operations/markplayed_request.rb +24 -0
  543. data/lib/plex_ruby_sdk/models/operations/markplayed_response.rb +36 -0
  544. data/lib/plex_ruby_sdk/models/operations/markplayed_unauthorized.rb +24 -0
  545. data/lib/plex_ruby_sdk/models/operations/markunplayed_badrequest.rb +24 -0
  546. data/lib/plex_ruby_sdk/models/operations/markunplayed_errors.rb +30 -0
  547. data/lib/plex_ruby_sdk/models/operations/markunplayed_media_errors.rb +30 -0
  548. data/lib/plex_ruby_sdk/models/operations/markunplayed_request.rb +24 -0
  549. data/lib/plex_ruby_sdk/models/operations/markunplayed_response.rb +36 -0
  550. data/lib/plex_ruby_sdk/models/operations/markunplayed_unauthorized.rb +24 -0
  551. data/lib/plex_ruby_sdk/models/operations/media.rb +69 -0
  552. data/lib/plex_ruby_sdk/models/operations/mediacontainer.rb +174 -0
  553. data/lib/plex_ruby_sdk/models/operations/mediaprovider.rb +36 -0
  554. data/lib/plex_ruby_sdk/models/operations/mediareviewsvisibility.rb +21 -0
  555. data/lib/plex_ruby_sdk/models/operations/metadata.rb +129 -0
  556. data/lib/plex_ruby_sdk/models/operations/minsize.rb +18 -0
  557. data/lib/plex_ruby_sdk/models/operations/myplex.rb +57 -0
  558. data/lib/plex_ruby_sdk/models/operations/onlytransient.rb +18 -0
  559. data/lib/plex_ruby_sdk/models/operations/operator.rb +27 -0
  560. data/lib/plex_ruby_sdk/models/operations/part.rb +51 -0
  561. data/lib/plex_ruby_sdk/models/operations/pastsubscription.rb +69 -0
  562. data/lib/plex_ruby_sdk/models/operations/pathparam_taskname.rb +30 -0
  563. data/lib/plex_ruby_sdk/models/operations/performsearch_badrequest.rb +24 -0
  564. data/lib/plex_ruby_sdk/models/operations/performsearch_errors.rb +30 -0
  565. data/lib/plex_ruby_sdk/models/operations/performsearch_request.rb +30 -0
  566. data/lib/plex_ruby_sdk/models/operations/performsearch_response.rb +36 -0
  567. data/lib/plex_ruby_sdk/models/operations/performsearch_search_errors.rb +30 -0
  568. data/lib/plex_ruby_sdk/models/operations/performsearch_unauthorized.rb +24 -0
  569. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_badrequest.rb +24 -0
  570. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_errors.rb +30 -0
  571. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_request.rb +30 -0
  572. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_response.rb +36 -0
  573. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_search_errors.rb +30 -0
  574. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_unauthorized.rb +24 -0
  575. data/lib/plex_ruby_sdk/models/operations/pivot.rb +39 -0
  576. data/lib/plex_ruby_sdk/models/operations/player.rb +66 -0
  577. data/lib/plex_ruby_sdk/models/operations/playlisttype.rb +19 -0
  578. data/lib/plex_ruby_sdk/models/operations/plexdevice.rb +96 -0
  579. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_errors.rb +33 -0
  580. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_features.rb +78 -0
  581. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_response_status.rb +21 -0
  582. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_status.rb +21 -0
  583. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_subscription.rb +42 -0
  584. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_autoselectsubtitle.rb +21 -0
  585. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_badrequest.rb +27 -0
  586. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_defaultsubtitleaccessibility.rb +21 -0
  587. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_defaultsubtitleforced.rb +21 -0
  588. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_errors.rb +33 -0
  589. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_features.rb +78 -0
  590. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_mailingliststatus.rb +21 -0
  591. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_mediareviewsvisibility.rb +21 -0
  592. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_request.rb +33 -0
  593. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_requestbody.rb +36 -0
  594. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_response.rb +42 -0
  595. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_services.rb +39 -0
  596. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_state.rb +20 -0
  597. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_status.rb +21 -0
  598. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_subscription.rb +42 -0
  599. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_unauthorized.rb +27 -0
  600. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userplexaccount.rb +152 -0
  601. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userprofile.rb +48 -0
  602. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_watchedindicator.rb +21 -0
  603. data/lib/plex_ruby_sdk/models/operations/producer.rb +36 -0
  604. data/lib/plex_ruby_sdk/models/operations/provider.rb +30 -0
  605. data/lib/plex_ruby_sdk/models/operations/queryparam_filter.rb +22 -0
  606. data/lib/plex_ruby_sdk/models/operations/queryparam_force.rb +22 -0
  607. data/lib/plex_ruby_sdk/models/operations/queryparam_onlytransient.rb +18 -0
  608. data/lib/plex_ruby_sdk/models/operations/queryparam_smart.rb +18 -0
  609. data/lib/plex_ruby_sdk/models/operations/queryparam_type.rb +26 -0
  610. data/lib/plex_ruby_sdk/models/operations/ratings.rb +30 -0
  611. data/lib/plex_ruby_sdk/models/operations/release.rb +39 -0
  612. data/lib/plex_ruby_sdk/models/operations/responsebody.rb +42 -0
  613. data/lib/plex_ruby_sdk/models/operations/role.rb +24 -0
  614. data/lib/plex_ruby_sdk/models/operations/scope.rb +17 -0
  615. data/lib/plex_ruby_sdk/models/operations/server.rb +54 -0
  616. data/lib/plex_ruby_sdk/models/operations/services.rb +39 -0
  617. data/lib/plex_ruby_sdk/models/operations/session.rb +30 -0
  618. data/lib/plex_ruby_sdk/models/operations/setting.rb +51 -0
  619. data/lib/plex_ruby_sdk/models/operations/sharedservers.rb +23 -0
  620. data/lib/plex_ruby_sdk/models/operations/sharedsources.rb +23 -0
  621. data/lib/plex_ruby_sdk/models/operations/skip.rb +18 -0
  622. data/lib/plex_ruby_sdk/models/operations/smart.rb +18 -0
  623. data/lib/plex_ruby_sdk/models/operations/sort.rb +39 -0
  624. data/lib/plex_ruby_sdk/models/operations/startalltasks_badrequest.rb +24 -0
  625. data/lib/plex_ruby_sdk/models/operations/startalltasks_butler_errors.rb +30 -0
  626. data/lib/plex_ruby_sdk/models/operations/startalltasks_errors.rb +30 -0
  627. data/lib/plex_ruby_sdk/models/operations/startalltasks_response.rb +36 -0
  628. data/lib/plex_ruby_sdk/models/operations/startalltasks_unauthorized.rb +24 -0
  629. data/lib/plex_ruby_sdk/models/operations/starttask_badrequest.rb +24 -0
  630. data/lib/plex_ruby_sdk/models/operations/starttask_butler_errors.rb +30 -0
  631. data/lib/plex_ruby_sdk/models/operations/starttask_errors.rb +30 -0
  632. data/lib/plex_ruby_sdk/models/operations/starttask_request.rb +24 -0
  633. data/lib/plex_ruby_sdk/models/operations/starttask_response.rb +36 -0
  634. data/lib/plex_ruby_sdk/models/operations/starttask_unauthorized.rb +24 -0
  635. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_badrequest.rb +24 -0
  636. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_errors.rb +30 -0
  637. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_request.rb +69 -0
  638. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_response.rb +36 -0
  639. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_unauthorized.rb +24 -0
  640. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_video_errors.rb +30 -0
  641. data/lib/plex_ruby_sdk/models/operations/state.rb +19 -0
  642. data/lib/plex_ruby_sdk/models/operations/statisticsbandwidth.rb +39 -0
  643. data/lib/plex_ruby_sdk/models/operations/statisticsmedia.rb +42 -0
  644. data/lib/plex_ruby_sdk/models/operations/statisticsresources.rb +39 -0
  645. data/lib/plex_ruby_sdk/models/operations/status.rb +20 -0
  646. data/lib/plex_ruby_sdk/models/operations/stopalltasks_badrequest.rb +24 -0
  647. data/lib/plex_ruby_sdk/models/operations/stopalltasks_butler_errors.rb +30 -0
  648. data/lib/plex_ruby_sdk/models/operations/stopalltasks_errors.rb +30 -0
  649. data/lib/plex_ruby_sdk/models/operations/stopalltasks_response.rb +36 -0
  650. data/lib/plex_ruby_sdk/models/operations/stopalltasks_unauthorized.rb +24 -0
  651. data/lib/plex_ruby_sdk/models/operations/stoptask_badrequest.rb +24 -0
  652. data/lib/plex_ruby_sdk/models/operations/stoptask_butler_errors.rb +30 -0
  653. data/lib/plex_ruby_sdk/models/operations/stoptask_errors.rb +30 -0
  654. data/lib/plex_ruby_sdk/models/operations/stoptask_request.rb +24 -0
  655. data/lib/plex_ruby_sdk/models/operations/stoptask_response.rb +36 -0
  656. data/lib/plex_ruby_sdk/models/operations/stoptask_unauthorized.rb +24 -0
  657. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_badrequest.rb +24 -0
  658. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_errors.rb +30 -0
  659. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_request.rb +24 -0
  660. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_response.rb +36 -0
  661. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_sessions_errors.rb +30 -0
  662. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_unauthorized.rb +24 -0
  663. data/lib/plex_ruby_sdk/models/operations/stream.rb +117 -0
  664. data/lib/plex_ruby_sdk/models/operations/subscription.rb +42 -0
  665. data/lib/plex_ruby_sdk/models/operations/tag.rb +35 -0
  666. data/lib/plex_ruby_sdk/models/operations/taskname.rb +30 -0
  667. data/lib/plex_ruby_sdk/models/operations/tonight.rb +18 -0
  668. data/lib/plex_ruby_sdk/models/operations/transcodesession.rb +93 -0
  669. data/lib/plex_ruby_sdk/models/operations/trials.rb +23 -0
  670. data/lib/plex_ruby_sdk/models/operations/type.rb +26 -0
  671. data/lib/plex_ruby_sdk/models/operations/updateplaylist_badrequest.rb +24 -0
  672. data/lib/plex_ruby_sdk/models/operations/updateplaylist_errors.rb +30 -0
  673. data/lib/plex_ruby_sdk/models/operations/updateplaylist_playlists_errors.rb +30 -0
  674. data/lib/plex_ruby_sdk/models/operations/updateplaylist_request.rb +30 -0
  675. data/lib/plex_ruby_sdk/models/operations/updateplaylist_response.rb +36 -0
  676. data/lib/plex_ruby_sdk/models/operations/updateplaylist_unauthorized.rb +24 -0
  677. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_badrequest.rb +24 -0
  678. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_errors.rb +30 -0
  679. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_media_errors.rb +30 -0
  680. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_request.rb +30 -0
  681. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_response.rb +36 -0
  682. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_unauthorized.rb +24 -0
  683. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_badrequest.rb +24 -0
  684. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_errors.rb +30 -0
  685. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_playlists_errors.rb +30 -0
  686. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_request.rb +37 -0
  687. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_response.rb +36 -0
  688. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_unauthorized.rb +24 -0
  689. data/lib/plex_ruby_sdk/models/operations/upscale.rb +18 -0
  690. data/lib/plex_ruby_sdk/models/operations/user.rb +24 -0
  691. data/lib/plex_ruby_sdk/models/operations/userprofile.rb +48 -0
  692. data/lib/plex_ruby_sdk/models/operations/watchedindicator.rb +21 -0
  693. data/lib/plex_ruby_sdk/models/operations/writer.rb +24 -0
  694. data/lib/plex_ruby_sdk/models/operations.rb +694 -0
  695. data/lib/plex_ruby_sdk/models/shared/security.rb +24 -0
  696. data/lib/plex_ruby_sdk/models/shared.rb +10 -0
  697. data/lib/plex_ruby_sdk/playlists.rb +480 -0
  698. data/lib/plex_ruby_sdk/plex.rb +367 -0
  699. data/lib/plex_ruby_sdk/plex_api.rb +134 -0
  700. data/lib/plex_ruby_sdk/sdkconfiguration.rb +56 -0
  701. data/lib/plex_ruby_sdk/search.rb +175 -0
  702. data/lib/plex_ruby_sdk/server.rb +390 -0
  703. data/lib/plex_ruby_sdk/server_variables/server_protocol.rb +18 -0
  704. data/lib/plex_ruby_sdk/server_variables.rb +10 -0
  705. data/lib/plex_ruby_sdk/sessions.rb +201 -0
  706. data/lib/plex_ruby_sdk/statistics.rb +163 -0
  707. data/lib/plex_ruby_sdk/updater.rb +152 -0
  708. data/lib/plex_ruby_sdk/utils/metadata_fields.rb +150 -0
  709. data/lib/plex_ruby_sdk/utils/t.rb +59 -0
  710. data/lib/plex_ruby_sdk/utils/utils.rb +772 -0
  711. data/lib/plex_ruby_sdk/video.rb +100 -0
  712. data/lib/plex_ruby_sdk/watchlist.rb +77 -0
  713. data/lib/plex_ruby_sdk.rb +32 -0
  714. metadata +883 -0
@@ -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
+ POST_USERS_SIGN_IN_DATA_REQUEST_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+
14
+ class PostUsersSignInDataRequest < ::PlexRubySDK::Utils::FieldAugmented
15
+ extend T::Sig
16
+
17
+ # Login credentials
18
+ field :request_body, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataRequestBody), { 'request': { 'media_type': 'application/x-www-form-urlencoded' } }
19
+ # The unique identifier for the client application
20
+ # This is used to track the client application and its usage
21
+ # (UUID, serial number, or other number unique per device)
22
+ #
23
+ field :x_plex_client_identifier, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'form', 'explode': true } }
24
+
25
+
26
+ sig { params(request_body: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataRequestBody), x_plex_client_identifier: T.nilable(::String)).void }
27
+ def initialize(request_body: nil, x_plex_client_identifier: nil)
28
+ @request_body = request_body
29
+ @x_plex_client_identifier = x_plex_client_identifier
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,36 @@
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
+ POST_USERS_SIGN_IN_DATA_REQUEST_BODY_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+ # Login credentials
14
+ class PostUsersSignInDataRequestBody < ::PlexRubySDK::Utils::FieldAugmented
15
+ extend T::Sig
16
+
17
+
18
+ field :login, ::String, { 'form': { 'field_name': 'login' } }
19
+
20
+ field :password, ::String, { 'form': { 'field_name': 'password' } }
21
+
22
+ field :remember_me, T.nilable(T::Boolean), { 'form': { 'field_name': 'rememberMe' } }
23
+
24
+ field :verification_code, T.nilable(::String), { 'form': { 'field_name': 'verificationCode' } }
25
+
26
+
27
+ sig { params(login: ::String, password: ::String, remember_me: T.nilable(T::Boolean), verification_code: T.nilable(::String)).void }
28
+ def initialize(login: nil, password: nil, remember_me: nil, verification_code: nil)
29
+ @login = login
30
+ @password = password
31
+ @remember_me = remember_me
32
+ @verification_code = verification_code
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,42 @@
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
+ POST_USERS_SIGN_IN_DATA_RESPONSE_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+
14
+ class PostUsersSignInDataResponse < ::PlexRubySDK::Utils::FieldAugmented
15
+ extend T::Sig
16
+
17
+ # HTTP response content type for this operation
18
+ field :content_type, ::String
19
+ # Raw HTTP response; suitable for custom response parsing
20
+ field :raw_response, ::Faraday::Response
21
+ # HTTP response status code for this operation
22
+ field :status_code, ::Integer
23
+ # Bad Request - A parameter was not specified, or was specified incorrectly.
24
+ field :bad_request, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataBadRequest)
25
+ # Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
26
+ field :unauthorized, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataUnauthorized)
27
+ # Returns the user account data with a valid auth token
28
+ field :user_plex_account, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataUserPlexAccount)
29
+
30
+
31
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, bad_request: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataBadRequest), unauthorized: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataUnauthorized), user_plex_account: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataUserPlexAccount)).void }
32
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, bad_request: nil, unauthorized: nil, user_plex_account: nil)
33
+ @content_type = content_type
34
+ @raw_response = raw_response
35
+ @status_code = status_code
36
+ @bad_request = bad_request
37
+ @unauthorized = unauthorized
38
+ @user_plex_account = user_plex_account
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,39 @@
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
+ POST_USERS_SIGN_IN_DATA_SERVICES_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+
14
+ class PostUsersSignInDataServices < ::PlexRubySDK::Utils::FieldAugmented
15
+ extend T::Sig
16
+
17
+
18
+ field :endpoint, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('endpoint') } }
19
+
20
+ field :identifier, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('identifier') } }
21
+
22
+ field :secret, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('secret') } }
23
+
24
+ field :status, ::PlexRubySDK::Operations::PostUsersSignInDataStatus, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::PostUsersSignInDataStatus, false) } }
25
+
26
+ field :token, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('token') } }
27
+
28
+
29
+ sig { params(endpoint: ::String, identifier: ::String, secret: ::String, status: ::PlexRubySDK::Operations::PostUsersSignInDataStatus, token: ::String).void }
30
+ def initialize(endpoint: nil, identifier: nil, secret: nil, status: nil, token: nil)
31
+ @endpoint = endpoint
32
+ @identifier = identifier
33
+ @secret = secret
34
+ @status = status
35
+ @token = token
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,20 @@
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
+ POST_USERS_SIGN_IN_DATA_STATE_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+
14
+ class PostUsersSignInDataState < T::Enum
15
+ enums do
16
+ ENDED = new('ended')
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,21 @@
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
+ POST_USERS_SIGN_IN_DATA_STATUS_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+
14
+ class PostUsersSignInDataStatus < T::Enum
15
+ enums do
16
+ ONLINE = new('online')
17
+ OFFLINE = new('offline')
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,42 @@
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
+ POST_USERS_SIGN_IN_DATA_SUBSCRIPTION_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+ # If the account’s Plex Pass subscription is active
14
+ class PostUsersSignInDataSubscription < ::PlexRubySDK::Utils::FieldAugmented
15
+ extend T::Sig
16
+
17
+ # If the account's Plex Pass subscription is active
18
+ field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('active') } }
19
+ # List of features allowed on your Plex Pass subscription
20
+ field :features, T.nilable(T::Array[::PlexRubySDK::Operations::PostUsersSignInDataFeatures]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('features') } }
21
+ # Payment service used for your Plex Pass subscription
22
+ field :payment_service, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('paymentService') } }
23
+ # Name of Plex Pass subscription plan
24
+ field :plan, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('plan') } }
25
+ # String representation of subscriptionActive
26
+ field :status, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationStatus), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationStatus, true) } }
27
+ # Date the account subscribed to Plex Pass
28
+ field :subscribed_at, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscribedAt') } }
29
+
30
+
31
+ sig { params(active: T.nilable(T::Boolean), features: T.nilable(T::Array[::PlexRubySDK::Operations::PostUsersSignInDataFeatures]), payment_service: T.nilable(::String), plan: T.nilable(::String), status: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationStatus), subscribed_at: T.nilable(::String)).void }
32
+ def initialize(active: nil, features: nil, payment_service: nil, plan: nil, status: nil, subscribed_at: nil)
33
+ @active = active
34
+ @features = features
35
+ @payment_service = payment_service
36
+ @plan = plan
37
+ @status = status
38
+ @subscribed_at = subscribed_at
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,27 @@
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
+ POST_USERS_SIGN_IN_DATA_UNAUTHORIZED_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+ # Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
14
+ class PostUsersSignInDataUnauthorized < ::PlexRubySDK::Utils::FieldAugmented
15
+ extend T::Sig
16
+
17
+
18
+ field :errors, T.nilable(T::Array[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationErrors]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('errors') } }
19
+
20
+
21
+ sig { params(errors: T.nilable(T::Array[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationErrors])).void }
22
+ def initialize(errors: nil)
23
+ @errors = errors
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,152 @@
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
+ POST_USERS_SIGN_IN_DATA_USER_PLEX_ACCOUNT_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+ # Returns the user account data with a valid auth token
14
+ class PostUsersSignInDataUserPlexAccount < ::PlexRubySDK::Utils::FieldAugmented
15
+ extend T::Sig
16
+
17
+ # Unknown
18
+ field :ads_consent, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('adsConsent') } }
19
+ # Unknown
20
+ field :ads_consent_reminder_at, ::DateTime, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('adsConsentReminderAt'), 'decoder': Utils.datetime_from_iso_format(false) } }
21
+ # Unknown
22
+ field :ads_consent_set_at, ::DateTime, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('adsConsentSetAt'), 'decoder': Utils.datetime_from_iso_format(false) } }
23
+ # Unknown
24
+ field :anonymous, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('anonymous') } }
25
+ # The account token
26
+ field :auth_token, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('authToken') } }
27
+ # If the two-factor authentication backup codes have been created
28
+ field :backup_codes_created, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('backupCodesCreated') } }
29
+ # If the account has been confirmed
30
+ field :confirmed, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('confirmed') } }
31
+ # The account country
32
+ field :country, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('country') } }
33
+ # The account email address
34
+ field :email, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('email') } }
35
+ # If login with email only is enabled
36
+ field :email_only_auth, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('emailOnlyAuth') } }
37
+ # List of devices your allowed to use with this account
38
+ field :entitlements, T::Array[::String], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('entitlements') } }
39
+ # If experimental features are enabled
40
+ field :experimental_features, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('experimentalFeatures') } }
41
+ # Your account full name
42
+ field :friendly_name, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('friendlyName') } }
43
+ # If the account is a Plex Home guest user
44
+ field :guest, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('guest') } }
45
+ # If the account has a password
46
+ field :has_password, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hasPassword') } }
47
+ # If the account is a Plex Home user
48
+ field :home, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('home') } }
49
+ # If the account is the Plex Home admin
50
+ field :home_admin, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('homeAdmin') } }
51
+ # The number of accounts in the Plex Home
52
+ field :home_size, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('homeSize') } }
53
+ # The Plex account ID
54
+ field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
55
+ # Unix epoch datetime
56
+ field :joined_at, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('joinedAt') } }
57
+ # The account locale
58
+ field :locale, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('locale') } }
59
+ # If you are subscribed to the Plex newsletter
60
+ field :mailing_list_active, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mailingListActive') } }
61
+ # Your current mailing list status
62
+ field :mailing_list_status, ::PlexRubySDK::Operations::PostUsersSignInDataMailingListStatus, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mailingListStatus'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::PostUsersSignInDataMailingListStatus, false) } }
63
+ # The maximum number of accounts allowed in the Plex Home
64
+ field :max_home_size, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('maxHomeSize') } }
65
+
66
+ field :past_subscriptions, T::Array[::PlexRubySDK::Operations::PastSubscription], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('pastSubscriptions') } }
67
+
68
+ field :profile, ::PlexRubySDK::Operations::PostUsersSignInDataUserProfile, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('profile') } }
69
+ # If the account has a Plex Home PIN enabled
70
+ field :protected, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('protected') } }
71
+ # Unix epoch datetime
72
+ field :remember_expires_at, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('rememberExpiresAt') } }
73
+ # If the account is a Plex Home managed user
74
+ field :restricted, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('restricted') } }
75
+ # Unknown
76
+ field :scrobble_types, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('scrobbleTypes') } }
77
+
78
+ field :services, T::Array[::PlexRubySDK::Operations::PostUsersSignInDataServices], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('services') } }
79
+ # If the account’s Plex Pass subscription is active
80
+ field :subscription, ::PlexRubySDK::Operations::PostUsersSignInDataSubscription, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscription') } }
81
+ # Description of the Plex Pass subscription
82
+ field :subscription_description, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptionDescription') } }
83
+
84
+ field :subscriptions, T::Array[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationSubscription], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptions') } }
85
+ # URL of the account thumbnail
86
+ field :thumb, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('thumb') } }
87
+ # The title of the account (username or friendly name)
88
+ field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
89
+
90
+ field :trials, T::Array[::PlexRubySDK::Operations::Trials], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('trials') } }
91
+ # If two-factor authentication is enabled
92
+ field :two_factor_enabled, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('twoFactorEnabled') } }
93
+ # The account username
94
+ field :username, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('username') } }
95
+ # The account UUID
96
+ field :uuid, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('uuid') } }
97
+ # [Might be removed] The hashed Plex Home PIN
98
+ #
99
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
100
+ field :pin, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('pin') } }
101
+ # [Might be removed] List of account roles. Plexpass membership listed here
102
+ field :roles, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('roles') } }
103
+
104
+
105
+ sig { params(ads_consent: T::Boolean, ads_consent_reminder_at: ::DateTime, ads_consent_set_at: ::DateTime, anonymous: T::Boolean, auth_token: ::String, backup_codes_created: T::Boolean, confirmed: T::Boolean, country: ::String, email: ::String, email_only_auth: T::Boolean, entitlements: T::Array[::String], experimental_features: T::Boolean, friendly_name: ::String, guest: T::Boolean, has_password: T::Boolean, home: T::Boolean, home_admin: T::Boolean, home_size: ::Integer, id: ::Integer, joined_at: ::Integer, locale: ::String, mailing_list_active: T::Boolean, mailing_list_status: ::PlexRubySDK::Operations::PostUsersSignInDataMailingListStatus, max_home_size: ::Integer, past_subscriptions: T::Array[::PlexRubySDK::Operations::PastSubscription], profile: ::PlexRubySDK::Operations::PostUsersSignInDataUserProfile, protected: T::Boolean, remember_expires_at: ::Integer, restricted: T::Boolean, scrobble_types: ::String, services: T::Array[::PlexRubySDK::Operations::PostUsersSignInDataServices], subscription: ::PlexRubySDK::Operations::PostUsersSignInDataSubscription, subscription_description: ::String, subscriptions: T::Array[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationSubscription], thumb: ::String, title: ::String, trials: T::Array[::PlexRubySDK::Operations::Trials], two_factor_enabled: T::Boolean, username: ::String, uuid: ::String, pin: T.nilable(::String), roles: T.nilable(T::Array[::String])).void }
106
+ def initialize(ads_consent: nil, ads_consent_reminder_at: nil, ads_consent_set_at: nil, anonymous: nil, auth_token: nil, backup_codes_created: nil, confirmed: nil, country: nil, email: nil, email_only_auth: nil, entitlements: nil, experimental_features: nil, friendly_name: nil, guest: nil, has_password: nil, home: nil, home_admin: nil, home_size: nil, id: nil, joined_at: nil, locale: nil, mailing_list_active: nil, mailing_list_status: nil, max_home_size: nil, past_subscriptions: nil, profile: nil, protected: nil, remember_expires_at: nil, restricted: nil, scrobble_types: nil, services: nil, subscription: nil, subscription_description: nil, subscriptions: nil, thumb: nil, title: nil, trials: nil, two_factor_enabled: nil, username: nil, uuid: nil, pin: nil, roles: nil)
107
+ @ads_consent = ads_consent
108
+ @ads_consent_reminder_at = ads_consent_reminder_at
109
+ @ads_consent_set_at = ads_consent_set_at
110
+ @anonymous = anonymous
111
+ @auth_token = auth_token
112
+ @backup_codes_created = backup_codes_created
113
+ @confirmed = confirmed
114
+ @country = country
115
+ @email = email
116
+ @email_only_auth = email_only_auth
117
+ @entitlements = entitlements
118
+ @experimental_features = experimental_features
119
+ @friendly_name = friendly_name
120
+ @guest = guest
121
+ @has_password = has_password
122
+ @home = home
123
+ @home_admin = home_admin
124
+ @home_size = home_size
125
+ @id = id
126
+ @joined_at = joined_at
127
+ @locale = locale
128
+ @mailing_list_active = mailing_list_active
129
+ @mailing_list_status = mailing_list_status
130
+ @max_home_size = max_home_size
131
+ @past_subscriptions = past_subscriptions
132
+ @profile = profile
133
+ @protected = protected
134
+ @remember_expires_at = remember_expires_at
135
+ @restricted = restricted
136
+ @scrobble_types = scrobble_types
137
+ @services = services
138
+ @subscription = subscription
139
+ @subscription_description = subscription_description
140
+ @subscriptions = subscriptions
141
+ @thumb = thumb
142
+ @title = title
143
+ @trials = trials
144
+ @two_factor_enabled = two_factor_enabled
145
+ @username = username
146
+ @uuid = uuid
147
+ @pin = pin
148
+ @roles = roles
149
+ end
150
+ end
151
+ end
152
+ end
@@ -0,0 +1,48 @@
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
+ POST_USERS_SIGN_IN_DATA_USER_PROFILE_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+
14
+ class PostUsersSignInDataUserProfile < ::PlexRubySDK::Utils::FieldAugmented
15
+ extend T::Sig
16
+
17
+ # The preferred audio language for the account
18
+ field :default_audio_language, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('defaultAudioLanguage') } }
19
+ # The preferred subtitle language for the account
20
+ field :default_subtitle_language, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('defaultSubtitleLanguage') } }
21
+ # If the account has automatically select audio and subtitle tracks enabled
22
+ field :auto_select_audio, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('autoSelectAudio') } }
23
+ # The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)
24
+ field :auto_select_subtitle, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataAutoSelectSubtitle), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('autoSelectSubtitle'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::PostUsersSignInDataAutoSelectSubtitle, true) } }
25
+ # The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only shown non-SDH subtitles)
26
+ field :default_subtitle_accessibility, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataDefaultSubtitleAccessibility), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('defaultSubtitleAccessibility'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::PostUsersSignInDataDefaultSubtitleAccessibility, true) } }
27
+ # The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)
28
+ field :default_subtitle_forced, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataDefaultSubtitleForced), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('defaultSubtitleForced'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::PostUsersSignInDataDefaultSubtitleForced, true) } }
29
+
30
+ field :media_reviews_visibility, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataMediaReviewsVisibility), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mediaReviewsVisibility'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::PostUsersSignInDataMediaReviewsVisibility, true) } }
31
+
32
+ field :watched_indicator, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataWatchedIndicator), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('watchedIndicator'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::PostUsersSignInDataWatchedIndicator, true) } }
33
+
34
+
35
+ sig { params(default_audio_language: ::String, default_subtitle_language: ::String, auto_select_audio: T.nilable(T::Boolean), auto_select_subtitle: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataAutoSelectSubtitle), default_subtitle_accessibility: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataDefaultSubtitleAccessibility), default_subtitle_forced: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataDefaultSubtitleForced), media_reviews_visibility: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataMediaReviewsVisibility), watched_indicator: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataWatchedIndicator)).void }
36
+ def initialize(default_audio_language: nil, default_subtitle_language: nil, auto_select_audio: nil, auto_select_subtitle: nil, default_subtitle_accessibility: nil, default_subtitle_forced: nil, media_reviews_visibility: nil, watched_indicator: nil)
37
+ @default_audio_language = default_audio_language
38
+ @default_subtitle_language = default_subtitle_language
39
+ @auto_select_audio = auto_select_audio
40
+ @auto_select_subtitle = auto_select_subtitle
41
+ @default_subtitle_accessibility = default_subtitle_accessibility
42
+ @default_subtitle_forced = default_subtitle_forced
43
+ @media_reviews_visibility = media_reviews_visibility
44
+ @watched_indicator = watched_indicator
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,21 @@
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
+ POST_USERS_SIGN_IN_DATA_WATCHED_INDICATOR_SERVERS = [
10
+ 'https://plex.tv/api/v2/'
11
+ ].freeze
12
+
13
+
14
+ class PostUsersSignInDataWatchedIndicator < T::Enum
15
+ enums do
16
+ ZERO = new('0')
17
+ ONE = new('1')
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,36 @@
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 Producer < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :filter, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('filter') } }
16
+
17
+ field :id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
18
+
19
+ field :tag, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tag') } }
20
+
21
+ field :tag_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tagKey') } }
22
+
23
+ field :thumb, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('thumb') } }
24
+
25
+
26
+ sig { params(filter: T.nilable(::String), id: T.nilable(::Integer), tag: T.nilable(::String), tag_key: T.nilable(::String), thumb: T.nilable(::String)).void }
27
+ def initialize(filter: nil, id: nil, tag: nil, tag_key: nil, thumb: nil)
28
+ @filter = filter
29
+ @id = id
30
+ @tag = tag
31
+ @tag_key = tag_key
32
+ @thumb = thumb
33
+ end
34
+ end
35
+ end
36
+ 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 Provider < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
16
+
17
+ field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
18
+
19
+ field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
20
+
21
+
22
+ sig { params(key: T.nilable(::String), title: T.nilable(::String), type: T.nilable(::String)).void }
23
+ def initialize(key: nil, title: nil, type: nil)
24
+ @key = key
25
+ @title = title
26
+ @type = type
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,22 @@
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
+ # Filters content by field and direction/equality
11
+ # (Unknown if viewedAt is the only supported column)
12
+ #
13
+ class QueryParamFilter < ::PlexRubySDK::Utils::FieldAugmented
14
+ extend T::Sig
15
+
16
+
17
+
18
+
19
+ def initialize; end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
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
+ # QueryParamForce - Force overwriting of duplicate playlists.
11
+ # By default, a playlist file uploaded with the same path will overwrite the existing playlist.
12
+ # The `force` argument is used to disable overwriting.
13
+ # If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
14
+ #
15
+ class QueryParamForce < T::Enum
16
+ enums do
17
+ ZERO = new(0)
18
+ ONE = new(1)
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,18 @@
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
+ # QueryParamOnlyTransient - Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).
11
+ class QueryParamOnlyTransient < T::Enum
12
+ enums do
13
+ ZERO = new(0)
14
+ ONE = new(1)
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,18 @@
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
+ # QueryParamSmart - type of playlists to return (default is all).
11
+ class QueryParamSmart < T::Enum
12
+ enums do
13
+ ZERO = new(0)
14
+ ONE = new(1)
15
+ end
16
+ end
17
+ end
18
+ end