plex_ruby_sdk 0.4.1 → 0.5.0

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 (244) hide show
  1. checksums.yaml +4 -4
  2. data/lib/plex_ruby_sdk/authentication.rb +5 -5
  3. data/lib/plex_ruby_sdk/hubs.rb +35 -0
  4. data/lib/plex_ruby_sdk/library.rb +53 -14
  5. data/lib/plex_ruby_sdk/media.rb +2 -2
  6. data/lib/plex_ruby_sdk/models/operations/autoselectsubtitle.rb +1 -1
  7. data/lib/plex_ruby_sdk/models/operations/billing.rb +1 -1
  8. data/lib/plex_ruby_sdk/models/operations/connections.rb +1 -1
  9. data/lib/plex_ruby_sdk/models/operations/defaultsubtitleaccessibility.rb +1 -1
  10. data/lib/plex_ruby_sdk/models/operations/defaultsubtitleforced.rb +1 -1
  11. data/lib/plex_ruby_sdk/models/operations/field.rb +7 -7
  12. data/lib/plex_ruby_sdk/models/operations/fieldtype.rb +3 -3
  13. data/lib/plex_ruby_sdk/models/operations/friend.rb +1 -1
  14. data/lib/plex_ruby_sdk/models/operations/geodata.rb +1 -1
  15. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb +3 -3
  16. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_location.rb +27 -0
  17. data/lib/plex_ruby_sdk/models/operations/get_banner_image_request.rb +2 -2
  18. data/lib/plex_ruby_sdk/models/operations/get_library_details_field.rb +33 -0
  19. data/lib/plex_ruby_sdk/models/operations/get_library_details_fieldtype.rb +27 -0
  20. data/lib/plex_ruby_sdk/models/operations/get_library_details_mediacontainer.rb +2 -2
  21. data/lib/plex_ruby_sdk/models/operations/get_library_details_operator.rb +27 -0
  22. data/lib/plex_ruby_sdk/models/operations/get_library_details_sort.rb +39 -0
  23. data/lib/plex_ruby_sdk/models/operations/get_library_details_type.rb +3 -3
  24. data/lib/plex_ruby_sdk/models/operations/get_library_items_activedirection.rb +19 -0
  25. data/lib/plex_ruby_sdk/models/operations/get_library_items_collection.rb +24 -0
  26. data/lib/plex_ruby_sdk/models/operations/get_library_items_defaultdirection.rb +19 -0
  27. data/lib/plex_ruby_sdk/models/operations/get_library_items_flattenseasons.rb +18 -0
  28. data/lib/plex_ruby_sdk/models/operations/get_library_items_hasthumbnail.rb +18 -0
  29. data/lib/plex_ruby_sdk/models/operations/get_library_items_image.rb +2 -2
  30. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_activedirection.rb +19 -0
  31. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_defaultdirection.rb +19 -0
  32. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_field.rb +33 -0
  33. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_fieldtype.rb +27 -0
  34. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_filter.rb +36 -0
  35. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_operator.rb +27 -0
  36. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_response_200_type.rb +20 -0
  37. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb +28 -6
  38. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_sort.rb +47 -0
  39. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_type.rb +8 -29
  40. data/lib/plex_ruby_sdk/models/operations/get_library_items_location.rb +24 -0
  41. data/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb +29 -23
  42. data/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb +15 -8
  43. data/lib/plex_ruby_sdk/models/operations/get_library_items_mediaguid.rb +26 -0
  44. data/lib/plex_ruby_sdk/models/operations/get_library_items_meta.rb +28 -0
  45. data/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb +26 -8
  46. data/lib/plex_ruby_sdk/models/operations/get_library_items_metadatarating.rb +30 -0
  47. data/lib/plex_ruby_sdk/models/operations/get_library_items_optimizedforstreaming.rb +18 -0
  48. data/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb +18 -9
  49. data/lib/plex_ruby_sdk/models/operations/get_library_items_queryparam_includemeta.rb +19 -0
  50. data/lib/plex_ruby_sdk/models/operations/get_library_items_queryparam_type.rb +27 -0
  51. data/lib/plex_ruby_sdk/models/operations/get_library_items_request.rb +3 -3
  52. data/lib/plex_ruby_sdk/models/operations/get_library_items_role.rb +18 -3
  53. data/lib/plex_ruby_sdk/models/operations/get_library_items_showordering.rb +27 -0
  54. data/lib/plex_ruby_sdk/models/operations/get_library_items_sort.rb +3 -3
  55. data/lib/plex_ruby_sdk/models/operations/get_library_items_stream.rb +135 -0
  56. data/lib/plex_ruby_sdk/models/operations/get_library_items_type.rb +29 -8
  57. data/lib/plex_ruby_sdk/models/operations/get_library_items_ultrablurcolors.rb +33 -0
  58. data/lib/plex_ruby_sdk/models/operations/get_media_providers_request.rb +2 -2
  59. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_part.rb +2 -2
  60. data/lib/plex_ruby_sdk/models/operations/get_meta_data_by_rating_key_stream.rb +117 -0
  61. data/lib/plex_ruby_sdk/models/operations/get_recently_added_activedirection.rb +19 -0
  62. data/lib/plex_ruby_sdk/models/operations/get_recently_added_defaultdirection.rb +19 -0
  63. data/lib/plex_ruby_sdk/models/operations/get_recently_added_field.rb +33 -0
  64. data/lib/plex_ruby_sdk/models/operations/get_recently_added_fieldtype.rb +27 -0
  65. data/lib/plex_ruby_sdk/models/operations/get_recently_added_filter.rb +36 -0
  66. data/lib/plex_ruby_sdk/models/operations/get_recently_added_hubs_response_type.rb +20 -0
  67. data/lib/plex_ruby_sdk/models/operations/get_recently_added_hubs_type.rb +21 -0
  68. data/lib/plex_ruby_sdk/models/operations/get_recently_added_image.rb +30 -0
  69. data/lib/plex_ruby_sdk/models/operations/{getrecentlyadded_unauthorized.rb → get_recently_added_library_badrequest.rb} +2 -2
  70. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_country.rb +24 -0
  71. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_director.rb +24 -0
  72. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_filter.rb +36 -0
  73. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_genre.rb +24 -0
  74. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_library_errors.rb +30 -0
  75. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_media.rb +69 -0
  76. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_mediacontainer.rb +49 -0
  77. data/lib/plex_ruby_sdk/models/operations/{getrecentlyadded_metadata.rb → get_recently_added_library_metadata.rb} +8 -8
  78. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_part.rb +51 -0
  79. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_request.rb +55 -0
  80. data/lib/plex_ruby_sdk/models/operations/{getrecentlyadded_response.rb → get_recently_added_library_response.rb} +5 -5
  81. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_responsebody.rb +24 -0
  82. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_role.rb +24 -0
  83. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_type.rb +42 -0
  84. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_unauthorized.rb +24 -0
  85. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_writer.rb +24 -0
  86. data/lib/plex_ruby_sdk/models/operations/get_recently_added_mediacontainer.rb +43 -0
  87. data/lib/plex_ruby_sdk/models/operations/get_recently_added_metadata.rb +255 -0
  88. data/lib/plex_ruby_sdk/models/operations/get_recently_added_operator.rb +27 -0
  89. data/lib/plex_ruby_sdk/models/operations/get_recently_added_request.rb +55 -0
  90. data/lib/plex_ruby_sdk/models/operations/get_recently_added_response.rb +33 -0
  91. data/lib/plex_ruby_sdk/models/operations/{getrecentlyadded_responsebody.rb → get_recently_added_responsebody.rb} +1 -1
  92. data/lib/plex_ruby_sdk/models/operations/get_recently_added_sort.rb +47 -0
  93. data/lib/plex_ruby_sdk/models/operations/get_recently_added_type.rb +42 -0
  94. data/lib/plex_ruby_sdk/models/operations/{getrecentlyadded_badrequest.rb → get_search_all_libraries_badrequest.rb} +3 -3
  95. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_collection.rb +24 -0
  96. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_country.rb +24 -0
  97. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_director.rb +24 -0
  98. data/lib/plex_ruby_sdk/models/operations/{getrecentlyadded_errors.rb → get_search_all_libraries_errors.rb} +1 -1
  99. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_flattenseasons.rb +18 -0
  100. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_genre.rb +24 -0
  101. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_hasthumbnail.rb +18 -0
  102. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_image.rb +30 -0
  103. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_errors.rb +30 -0
  104. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_type.rb +20 -0
  105. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_location.rb +24 -0
  106. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_media.rb +75 -0
  107. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb +27 -0
  108. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediaguid.rb +26 -0
  109. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadata.rb +255 -0
  110. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadatarating.rb +30 -0
  111. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_optimizedforstreaming.rb +18 -0
  112. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb +61 -0
  113. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_request.rb +40 -0
  114. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_response.rb +39 -0
  115. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_responsebody.rb +24 -0
  116. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_role.rb +39 -0
  117. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_showordering.rb +27 -0
  118. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_stream.rb +135 -0
  119. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_type.rb +21 -0
  120. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_ultrablurcolors.rb +33 -0
  121. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_unauthorized.rb +24 -0
  122. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_writer.rb +24 -0
  123. data/lib/plex_ruby_sdk/models/operations/get_search_library_queryparam_type.rb +27 -0
  124. data/lib/plex_ruby_sdk/models/operations/get_search_library_request.rb +2 -2
  125. data/lib/plex_ruby_sdk/models/operations/get_server_resources_badrequest.rb +1 -1
  126. data/lib/plex_ruby_sdk/models/operations/get_server_resources_errors.rb +1 -1
  127. data/lib/plex_ruby_sdk/models/operations/get_server_resources_plex_errors.rb +1 -1
  128. data/lib/plex_ruby_sdk/models/operations/get_server_resources_request.rb +6 -3
  129. data/lib/plex_ruby_sdk/models/operations/get_server_resources_response.rb +1 -1
  130. data/lib/plex_ruby_sdk/models/operations/get_server_resources_unauthorized.rb +1 -1
  131. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_request.rb +2 -2
  132. data/lib/plex_ruby_sdk/models/operations/get_watch_list_request.rb +2 -2
  133. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_badrequest.rb +1 -1
  134. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_errors.rb +1 -1
  135. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_plex_errors.rb +1 -1
  136. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_response.rb +1 -1
  137. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_unauthorized.rb +1 -1
  138. data/lib/plex_ruby_sdk/models/operations/getgeodata_badrequest.rb +1 -1
  139. data/lib/plex_ruby_sdk/models/operations/getgeodata_errors.rb +1 -1
  140. data/lib/plex_ruby_sdk/models/operations/getgeodata_geodata.rb +1 -1
  141. data/lib/plex_ruby_sdk/models/operations/getgeodata_plex_errors.rb +1 -1
  142. data/lib/plex_ruby_sdk/models/operations/getgeodata_response.rb +1 -1
  143. data/lib/plex_ruby_sdk/models/operations/getgeodata_unauthorized.rb +1 -1
  144. data/lib/plex_ruby_sdk/models/operations/getpin_authpincontainer.rb +1 -1
  145. data/lib/plex_ruby_sdk/models/operations/getpin_badrequest.rb +1 -1
  146. data/lib/plex_ruby_sdk/models/operations/getpin_errors.rb +1 -1
  147. data/lib/plex_ruby_sdk/models/operations/getpin_request.rb +16 -13
  148. data/lib/plex_ruby_sdk/models/operations/getpin_response.rb +1 -1
  149. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_queryparam_type.rb +1 -0
  150. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb +1 -1
  151. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_badrequest.rb +1 -1
  152. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_errors.rb +1 -1
  153. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb +1 -1
  154. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_plex_errors.rb +1 -1
  155. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_request.rb +18 -3
  156. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_response.rb +1 -1
  157. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_responsebody.rb +1 -1
  158. data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_errors.rb +1 -1
  159. data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_response_status.rb +1 -1
  160. data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_status.rb +1 -1
  161. data/lib/plex_ruby_sdk/models/operations/gettokendetails_badrequest.rb +1 -1
  162. data/lib/plex_ruby_sdk/models/operations/gettokendetails_errors.rb +1 -1
  163. data/lib/plex_ruby_sdk/models/operations/gettokendetails_response.rb +1 -1
  164. data/lib/plex_ruby_sdk/models/operations/gettokendetails_status.rb +1 -1
  165. data/lib/plex_ruby_sdk/models/operations/gettokendetails_subscription.rb +3 -3
  166. data/lib/plex_ruby_sdk/models/operations/gettokendetails_unauthorized.rb +1 -1
  167. data/lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb +7 -7
  168. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_queryparam_type.rb +1 -0
  169. data/lib/plex_ruby_sdk/models/operations/getuserfriends_badrequest.rb +1 -1
  170. data/lib/plex_ruby_sdk/models/operations/getuserfriends_errors.rb +1 -1
  171. data/lib/plex_ruby_sdk/models/operations/getuserfriends_plex_errors.rb +1 -1
  172. data/lib/plex_ruby_sdk/models/operations/getuserfriends_response.rb +1 -1
  173. data/lib/plex_ruby_sdk/models/operations/getuserfriends_unauthorized.rb +1 -1
  174. data/lib/plex_ruby_sdk/models/operations/includehttps.rb +1 -1
  175. data/lib/plex_ruby_sdk/models/operations/includeipv6.rb +1 -1
  176. data/lib/plex_ruby_sdk/models/operations/includerelay.rb +1 -1
  177. data/lib/plex_ruby_sdk/models/operations/internalpaymentmethod.rb +1 -1
  178. data/lib/plex_ruby_sdk/models/operations/location.rb +3 -6
  179. data/lib/plex_ruby_sdk/models/operations/mailingliststatus.rb +2 -2
  180. data/lib/plex_ruby_sdk/models/operations/media.rb +22 -16
  181. data/lib/plex_ruby_sdk/models/operations/mediareviewsvisibility.rb +1 -1
  182. data/lib/plex_ruby_sdk/models/operations/meta.rb +3 -3
  183. data/lib/plex_ruby_sdk/models/operations/metadatarating.rb +30 -0
  184. data/lib/plex_ruby_sdk/models/operations/operator.rb +3 -3
  185. data/lib/plex_ruby_sdk/models/operations/optimizedforstreaming.rb +18 -0
  186. data/lib/plex_ruby_sdk/models/operations/part.rb +24 -14
  187. data/lib/plex_ruby_sdk/models/operations/pastsubscription.rb +1 -1
  188. data/lib/plex_ruby_sdk/models/operations/plexdevice.rb +1 -1
  189. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_errors.rb +1 -1
  190. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_response_status.rb +1 -1
  191. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_status.rb +1 -1
  192. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_subscription.rb +3 -3
  193. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_autoselectsubtitle.rb +1 -1
  194. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_badrequest.rb +1 -1
  195. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_defaultsubtitleaccessibility.rb +1 -1
  196. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_defaultsubtitleforced.rb +1 -1
  197. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_errors.rb +1 -1
  198. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_mailingliststatus.rb +2 -2
  199. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_mediareviewsvisibility.rb +1 -1
  200. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_request.rb +42 -0
  201. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_requestbody.rb +1 -1
  202. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_response.rb +1 -1
  203. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_services.rb +1 -1
  204. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_state.rb +1 -1
  205. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_status.rb +1 -1
  206. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_subscription.rb +3 -3
  207. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_unauthorized.rb +1 -1
  208. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userplexaccount.rb +7 -7
  209. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userprofile.rb +1 -1
  210. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_watchedindicator.rb +1 -1
  211. data/lib/plex_ruby_sdk/models/operations/protocol.rb +1 -1
  212. data/lib/plex_ruby_sdk/models/operations/queryparam_includecollections.rb +18 -0
  213. data/lib/plex_ruby_sdk/models/operations/queryparam_includeexternalmedia.rb +18 -0
  214. data/lib/plex_ruby_sdk/models/operations/queryparam_includemeta.rb +19 -0
  215. data/lib/plex_ruby_sdk/models/operations/queryparam_type.rb +1 -0
  216. data/lib/plex_ruby_sdk/models/operations/responsebody.rb +1 -1
  217. data/lib/plex_ruby_sdk/models/operations/role.rb +18 -3
  218. data/lib/plex_ruby_sdk/models/operations/searchresult.rb +27 -0
  219. data/lib/plex_ruby_sdk/models/operations/searchtypes.rb +21 -0
  220. data/lib/plex_ruby_sdk/models/operations/services.rb +1 -1
  221. data/lib/plex_ruby_sdk/models/operations/sharedservers.rb +1 -1
  222. data/lib/plex_ruby_sdk/models/operations/sharedsources.rb +1 -1
  223. data/lib/plex_ruby_sdk/models/operations/sort.rb +19 -11
  224. data/lib/plex_ruby_sdk/models/operations/status.rb +1 -1
  225. data/lib/plex_ruby_sdk/models/operations/stream.rb +58 -40
  226. data/lib/plex_ruby_sdk/models/operations/subscription.rb +3 -3
  227. data/lib/plex_ruby_sdk/models/operations/trials.rb +1 -1
  228. data/lib/plex_ruby_sdk/models/operations/type.rb +1 -0
  229. data/lib/plex_ruby_sdk/models/operations/userprofile.rb +1 -1
  230. data/lib/plex_ruby_sdk/models/operations/watchedindicator.rb +1 -1
  231. data/lib/plex_ruby_sdk/models/operations.rb +133 -45
  232. data/lib/plex_ruby_sdk/plex.rb +15 -18
  233. data/lib/plex_ruby_sdk/plex_api.rb +11 -11
  234. data/lib/plex_ruby_sdk/sdkconfiguration.rb +3 -3
  235. data/lib/plex_ruby_sdk/server.rb +1 -3
  236. data/lib/plex_ruby_sdk/watchlist.rb +1 -1
  237. metadata +107 -19
  238. data/lib/plex_ruby_sdk/models/operations/features.rb +0 -78
  239. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_mediacontainer.rb +0 -42
  240. data/lib/plex_ruby_sdk/models/operations/getrecentlyadded_request.rb +0 -33
  241. data/lib/plex_ruby_sdk/models/operations/gettokendetails_features.rb +0 -78
  242. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_features.rb +0 -78
  243. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_features.rb +0 -78
  244. /data/lib/plex_ruby_sdk/models/operations/{getrecentlyadded_library_errors.rb → get_recently_added_library_errors.rb} +0 -0
@@ -0,0 +1,19 @@
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
+ # GetLibraryItemsDefaultDirection - The direction of the sort. Can be either `asc` or `desc`.
11
+ #
12
+ class GetLibraryItemsDefaultDirection < T::Enum
13
+ enums do
14
+ ASCENDING = new('asc')
15
+ DESCENDING = new('desc')
16
+ end
17
+ end
18
+ end
19
+ 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
+
11
+ class GetLibraryItemsFlattenSeasons < T::Enum
12
+ enums do
13
+ FALSE = new('0')
14
+ TRUE = 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
+
11
+ class GetLibraryItemsHasThumbnail < T::Enum
12
+ enums do
13
+ FALSE = new('0')
14
+ TRUE = new('1')
15
+ end
16
+ end
17
+ end
18
+ end
@@ -14,12 +14,12 @@ module PlexRubySDK
14
14
 
15
15
  field :alt, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('alt') } }
16
16
 
17
- field :type, ::PlexRubySDK::Operations::GetLibraryItemsLibraryResponseType, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetLibraryItemsLibraryResponseType, false) } }
17
+ field :type, ::PlexRubySDK::Operations::GetLibraryItemsLibraryResponse200Type, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetLibraryItemsLibraryResponse200Type, false) } }
18
18
 
19
19
  field :url, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('url') } }
20
20
 
21
21
 
22
- sig { params(alt: ::String, type: ::PlexRubySDK::Operations::GetLibraryItemsLibraryResponseType, url: ::String).void }
22
+ sig { params(alt: ::String, type: ::PlexRubySDK::Operations::GetLibraryItemsLibraryResponse200Type, url: ::String).void }
23
23
  def initialize(alt: nil, type: nil, url: nil)
24
24
  @alt = alt
25
25
  @type = type
@@ -0,0 +1,19 @@
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
+ # GetLibraryItemsLibraryActiveDirection - The direction of the sort. Can be either `asc` or `desc`.
11
+ #
12
+ class GetLibraryItemsLibraryActiveDirection < T::Enum
13
+ enums do
14
+ ASCENDING = new('asc')
15
+ DESCENDING = new('desc')
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
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
+ # GetLibraryItemsLibraryDefaultDirection - The direction of the sort. Can be either `asc` or `desc`.
11
+ #
12
+ class GetLibraryItemsLibraryDefaultDirection < T::Enum
13
+ enums do
14
+ ASCENDING = new('asc')
15
+ DESCENDING = new('desc')
16
+ end
17
+ end
18
+ end
19
+ 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 GetLibraryItemsLibraryField < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
16
+
17
+ field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
18
+
19
+ field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
20
+
21
+ field :sub_type, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subType') } }
22
+
23
+
24
+ sig { params(key: ::String, title: ::String, type: ::String, sub_type: T.nilable(::String)).void }
25
+ def initialize(key: nil, title: nil, type: nil, sub_type: nil)
26
+ @key = key
27
+ @title = title
28
+ @type = type
29
+ @sub_type = sub_type
30
+ end
31
+ end
32
+ end
33
+ 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
+
10
+
11
+ class GetLibraryItemsLibraryFieldType < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :operator, T::Array[::PlexRubySDK::Operations::GetLibraryItemsLibraryOperator], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Operator') } }
16
+
17
+ field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
18
+
19
+
20
+ sig { params(operator: T::Array[::PlexRubySDK::Operations::GetLibraryItemsLibraryOperator], type: ::String).void }
21
+ def initialize(operator: nil, type: nil)
22
+ @operator = operator
23
+ @type = type
24
+ end
25
+ end
26
+ end
27
+ 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 GetLibraryItemsLibraryFilter < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :filter, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('filter') } }
16
+
17
+ field :filter_type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('filterType') } }
18
+
19
+ field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
20
+
21
+ field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
22
+
23
+ field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
24
+
25
+
26
+ sig { params(filter: ::String, filter_type: ::String, key: ::String, title: ::String, type: ::String).void }
27
+ def initialize(filter: nil, filter_type: nil, key: nil, title: nil, type: nil)
28
+ @filter = filter
29
+ @filter_type = filter_type
30
+ @key = key
31
+ @title = title
32
+ @type = type
33
+ end
34
+ end
35
+ end
36
+ 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
+
10
+
11
+ class GetLibraryItemsLibraryOperator < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
16
+
17
+ field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
18
+
19
+
20
+ sig { params(key: ::String, title: ::String).void }
21
+ def initialize(key: nil, title: nil)
22
+ @key = key
23
+ @title = title
24
+ end
25
+ end
26
+ end
27
+ 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
+
10
+
11
+ class GetLibraryItemsLibraryResponse200Type < T::Enum
12
+ enums do
13
+ COVER_POSTER = new('coverPoster')
14
+ BACKGROUND = new('background')
15
+ SNAPSHOT = new('snapshot')
16
+ CLEAR_LOGO = new('clearLogo')
17
+ end
18
+ end
19
+ end
20
+ end
@@ -8,12 +8,34 @@ module PlexRubySDK
8
8
  module Operations
9
9
 
10
10
 
11
- class GetLibraryItemsLibraryResponseType < T::Enum
12
- enums do
13
- COVER_POSTER = new('coverPoster')
14
- BACKGROUND = new('background')
15
- SNAPSHOT = new('snapshot')
16
- CLEAR_LOGO = new('clearLogo')
11
+ class GetLibraryItemsLibraryResponseType < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :active, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('active') } }
16
+
17
+ field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
18
+
19
+ field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
20
+
21
+ field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
22
+
23
+ field :field, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsLibraryField]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Field') } }
24
+
25
+ field :filter, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsLibraryFilter]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Filter') } }
26
+
27
+ field :sort, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsLibrarySort]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Sort') } }
28
+
29
+
30
+ sig { params(active: T::Boolean, key: ::String, title: ::String, type: ::String, field: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsLibraryField]), filter: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsLibraryFilter]), sort: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsLibrarySort])).void }
31
+ def initialize(active: nil, key: nil, title: nil, type: nil, field: nil, filter: nil, sort: nil)
32
+ @active = active
33
+ @key = key
34
+ @title = title
35
+ @type = type
36
+ @field = field
37
+ @filter = filter
38
+ @sort = sort
17
39
  end
18
40
  end
19
41
  end
@@ -0,0 +1,47 @@
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 GetLibraryItemsLibrarySort < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The direction of the sort. Can be either `asc` or `desc`.
15
+ #
16
+ field :default_direction, ::PlexRubySDK::Operations::GetLibraryItemsLibraryDefaultDirection, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('defaultDirection'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetLibraryItemsLibraryDefaultDirection, false) } }
17
+
18
+ field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
19
+
20
+ field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
21
+
22
+ field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('active') } }
23
+ # The direction of the sort. Can be either `asc` or `desc`.
24
+ #
25
+ field :active_direction, T.nilable(::PlexRubySDK::Operations::GetLibraryItemsLibraryActiveDirection), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('activeDirection'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetLibraryItemsLibraryActiveDirection, true) } }
26
+
27
+ field :default, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('default') } }
28
+
29
+ field :desc_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('descKey') } }
30
+
31
+ field :first_character_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('firstCharacterKey') } }
32
+
33
+
34
+ sig { params(default_direction: ::PlexRubySDK::Operations::GetLibraryItemsLibraryDefaultDirection, key: ::String, title: ::String, active: T.nilable(T::Boolean), active_direction: T.nilable(::PlexRubySDK::Operations::GetLibraryItemsLibraryActiveDirection), default: T.nilable(::String), desc_key: T.nilable(::String), first_character_key: T.nilable(::String)).void }
35
+ def initialize(default_direction: nil, key: nil, title: nil, active: nil, active_direction: nil, default: nil, desc_key: nil, first_character_key: nil)
36
+ @default_direction = default_direction
37
+ @key = key
38
+ @title = title
39
+ @active = active
40
+ @active_direction = active_direction
41
+ @default = default
42
+ @desc_key = desc_key
43
+ @first_character_key = first_character_key
44
+ end
45
+ end
46
+ end
47
+ end
@@ -7,35 +7,14 @@
7
7
  module PlexRubySDK
8
8
  module Operations
9
9
 
10
-
11
- class GetLibraryItemsLibraryType < ::PlexRubySDK::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :active, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('active') } }
16
-
17
- field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
18
-
19
- field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
20
-
21
- field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
22
-
23
- field :field, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsField]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Field') } }
24
-
25
- field :filter, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFilter]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Filter') } }
26
-
27
- field :sort, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsSort]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Sort') } }
28
-
29
-
30
- sig { params(active: T::Boolean, key: ::String, title: ::String, type: ::String, field: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsField]), filter: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFilter]), sort: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsSort])).void }
31
- def initialize(active: nil, key: nil, title: nil, type: nil, field: nil, filter: nil, sort: nil)
32
- @active = active
33
- @key = key
34
- @title = title
35
- @type = type
36
- @field = field
37
- @filter = filter
38
- @sort = sort
10
+ # GetLibraryItemsLibraryType - The type of media content
11
+ #
12
+ class GetLibraryItemsLibraryType < T::Enum
13
+ enums do
14
+ MOVIE = new('movie')
15
+ TV_SHOW = new('show')
16
+ SEASON = new('season')
17
+ EPISODE = new('episode')
39
18
  end
40
19
  end
41
20
  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
+
11
+ class GetLibraryItemsLocation < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('path') } }
16
+
17
+
18
+ sig { params(path: T.nilable(::String)).void }
19
+ def initialize(path: nil)
20
+ @path = path
21
+ end
22
+ end
23
+ end
24
+ end
@@ -12,57 +12,63 @@ module PlexRubySDK
12
12
  extend T::Sig
13
13
 
14
14
 
15
- field :aspect_ratio, ::Float, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('aspectRatio') } }
15
+ field :container, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('container') } }
16
16
 
17
- field :audio_channels, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioChannels') } }
17
+ field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
18
18
 
19
- field :audio_codec, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioCodec') } }
19
+ field :part, T::Array[::PlexRubySDK::Operations::GetLibraryItemsPart], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Part') } }
20
20
 
21
- field :bitrate, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bitrate') } }
21
+ field :aspect_ratio, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('aspectRatio') } }
22
22
 
23
- field :container, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('container') } }
23
+ field :audio_channels, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioChannels') } }
24
24
 
25
- field :duration, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
25
+ field :audio_codec, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioCodec') } }
26
26
 
27
- field :height, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('height') } }
27
+ field :audio_profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioProfile') } }
28
28
 
29
- field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
29
+ field :bitrate, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bitrate') } }
30
30
 
31
- field :part, T::Array[::PlexRubySDK::Operations::GetLibraryItemsPart], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Part') } }
31
+ field :duration, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
32
32
 
33
- field :video_codec, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoCodec') } }
33
+ field :has64bit_offsets, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('has64bitOffsets') } }
34
34
 
35
- field :video_frame_rate, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoFrameRate') } }
35
+ field :has_voice_activity, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hasVoiceActivity') } }
36
36
 
37
- field :video_profile, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoProfile') } }
37
+ field :height, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('height') } }
38
38
 
39
- field :video_resolution, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoResolution') } }
39
+ field :optimized_for_streaming, T.nilable(::PlexRubySDK::Operations::GetLibraryItemsOptimizedForStreaming), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('optimizedForStreaming'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetLibraryItemsOptimizedForStreaming, true) } }
40
40
 
41
- field :width, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('width') } }
41
+ field :video_codec, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoCodec') } }
42
42
 
43
- field :audio_profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioProfile') } }
43
+ field :video_frame_rate, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoFrameRate') } }
44
44
 
45
- field :has_voice_activity, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hasVoiceActivity') } }
45
+ field :video_profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoProfile') } }
46
+
47
+ field :video_resolution, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoResolution') } }
46
48
 
49
+ field :width, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('width') } }
47
50
 
48
- sig { params(aspect_ratio: ::Float, audio_channels: ::Integer, audio_codec: ::String, bitrate: ::Integer, container: ::String, duration: ::Integer, height: ::Integer, id: ::Integer, part: T::Array[::PlexRubySDK::Operations::GetLibraryItemsPart], video_codec: ::String, video_frame_rate: ::String, video_profile: ::String, video_resolution: ::String, width: ::Integer, audio_profile: T.nilable(::String), has_voice_activity: T.nilable(T::Boolean)).void }
49
- def initialize(aspect_ratio: nil, audio_channels: nil, audio_codec: nil, bitrate: nil, container: nil, duration: nil, height: nil, id: nil, part: nil, video_codec: nil, video_frame_rate: nil, video_profile: nil, video_resolution: nil, width: nil, audio_profile: nil, has_voice_activity: nil)
51
+
52
+ sig { params(container: ::String, id: ::Integer, part: T::Array[::PlexRubySDK::Operations::GetLibraryItemsPart], aspect_ratio: T.nilable(::Float), audio_channels: T.nilable(::Integer), audio_codec: T.nilable(::String), audio_profile: T.nilable(::String), bitrate: T.nilable(::Integer), duration: T.nilable(::Integer), has64bit_offsets: T.nilable(T::Boolean), has_voice_activity: T.nilable(T::Boolean), height: T.nilable(::Integer), optimized_for_streaming: T.nilable(::PlexRubySDK::Operations::GetLibraryItemsOptimizedForStreaming), video_codec: T.nilable(::String), video_frame_rate: T.nilable(::String), video_profile: T.nilable(::String), video_resolution: T.nilable(::String), width: T.nilable(::Integer)).void }
53
+ def initialize(container: nil, id: nil, part: nil, aspect_ratio: nil, audio_channels: nil, audio_codec: nil, audio_profile: nil, bitrate: nil, duration: nil, has64bit_offsets: nil, has_voice_activity: nil, height: nil, optimized_for_streaming: nil, video_codec: nil, video_frame_rate: nil, video_profile: nil, video_resolution: nil, width: nil)
54
+ @container = container
55
+ @id = id
56
+ @part = part
50
57
  @aspect_ratio = aspect_ratio
51
58
  @audio_channels = audio_channels
52
59
  @audio_codec = audio_codec
60
+ @audio_profile = audio_profile
53
61
  @bitrate = bitrate
54
- @container = container
55
62
  @duration = duration
63
+ @has64bit_offsets = has64bit_offsets
64
+ @has_voice_activity = has_voice_activity
56
65
  @height = height
57
- @id = id
58
- @part = part
66
+ @optimized_for_streaming = optimized_for_streaming
59
67
  @video_codec = video_codec
60
68
  @video_frame_rate = video_frame_rate
61
69
  @video_profile = video_profile
62
70
  @video_resolution = video_resolution
63
71
  @width = width
64
- @audio_profile = audio_profile
65
- @has_voice_activity = has_voice_activity
66
72
  end
67
73
  end
68
74
  end
@@ -7,7 +7,8 @@
7
7
  module PlexRubySDK
8
8
  module Operations
9
9
 
10
-
10
+ # The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
11
+ #
11
12
  class GetLibraryItemsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented
12
13
  extend T::Sig
13
14
 
@@ -20,7 +21,7 @@ module PlexRubySDK
20
21
 
21
22
  field :identifier, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('identifier') } }
22
23
 
23
- field :library_section_id, ::Object, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('librarySectionID') } }
24
+ field :library_section_id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('librarySectionID') } }
24
25
 
25
26
  field :library_section_title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('librarySectionTitle') } }
26
27
 
@@ -30,8 +31,6 @@ module PlexRubySDK
30
31
 
31
32
  field :media_tag_version, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mediaTagVersion') } }
32
33
 
33
- field :metadata, T::Array[::PlexRubySDK::Operations::GetLibraryItemsMetadata], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Metadata') } }
34
-
35
34
  field :offset, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('offset') } }
36
35
 
37
36
  field :size, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } }
@@ -45,19 +44,25 @@ module PlexRubySDK
45
44
  field :total_size, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('totalSize') } }
46
45
 
47
46
  field :view_group, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('viewGroup') } }
47
+
48
+ field :field_type, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFieldType]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('FieldType') } }
48
49
  # The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
49
50
  #
50
- field :meta, T.nilable(::PlexRubySDK::Operations::Meta), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Meta') } }
51
+ field :meta, T.nilable(::PlexRubySDK::Operations::GetLibraryItemsMeta), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Meta') } }
52
+
53
+ field :metadata, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsMetadata]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Metadata') } }
51
54
 
52
55
  field :mixed_parents, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mixedParents') } }
53
56
 
54
57
  field :nocache, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('nocache') } }
55
58
 
59
+ field :type, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsType]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Type') } }
60
+
56
61
  field :view_mode, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('viewMode') } }
57
62
 
58
63
 
59
- sig { params(allow_sync: T::Boolean, art: ::String, content: ::String, identifier: ::String, library_section_id: ::Object, library_section_title: ::String, library_section_uuid: ::String, media_tag_prefix: ::String, media_tag_version: ::Integer, metadata: T::Array[::PlexRubySDK::Operations::GetLibraryItemsMetadata], offset: ::Integer, size: ::Integer, thumb: ::String, title1: ::String, title2: ::String, total_size: ::Integer, view_group: ::String, meta: T.nilable(::PlexRubySDK::Operations::Meta), mixed_parents: T.nilable(T::Boolean), nocache: T.nilable(T::Boolean), view_mode: T.nilable(::Integer)).void }
60
- def initialize(allow_sync: nil, art: nil, content: nil, identifier: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, offset: nil, size: nil, thumb: nil, title1: nil, title2: nil, total_size: nil, view_group: nil, meta: nil, mixed_parents: nil, nocache: nil, view_mode: nil)
64
+ sig { params(allow_sync: T::Boolean, art: ::String, content: ::String, identifier: ::String, library_section_id: ::Integer, library_section_title: ::String, library_section_uuid: ::String, media_tag_prefix: ::String, media_tag_version: ::Integer, offset: ::Integer, size: ::Integer, thumb: ::String, title1: ::String, title2: ::String, total_size: ::Integer, view_group: ::String, field_type: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFieldType]), meta: T.nilable(::PlexRubySDK::Operations::GetLibraryItemsMeta), metadata: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsMetadata]), mixed_parents: T.nilable(T::Boolean), nocache: T.nilable(T::Boolean), type: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsType]), view_mode: T.nilable(::Integer)).void }
65
+ def initialize(allow_sync: nil, art: nil, content: nil, identifier: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, media_tag_prefix: nil, media_tag_version: nil, offset: nil, size: nil, thumb: nil, title1: nil, title2: nil, total_size: nil, view_group: nil, field_type: nil, meta: nil, metadata: nil, mixed_parents: nil, nocache: nil, type: nil, view_mode: nil)
61
66
  @allow_sync = allow_sync
62
67
  @art = art
63
68
  @content = content
@@ -67,7 +72,6 @@ module PlexRubySDK
67
72
  @library_section_uuid = library_section_uuid
68
73
  @media_tag_prefix = media_tag_prefix
69
74
  @media_tag_version = media_tag_version
70
- @metadata = metadata
71
75
  @offset = offset
72
76
  @size = size
73
77
  @thumb = thumb
@@ -75,9 +79,12 @@ module PlexRubySDK
75
79
  @title2 = title2
76
80
  @total_size = total_size
77
81
  @view_group = view_group
82
+ @field_type = field_type
78
83
  @meta = meta
84
+ @metadata = metadata
79
85
  @mixed_parents = mixed_parents
80
86
  @nocache = nocache
87
+ @type = type
81
88
  @view_mode = view_mode
82
89
  end
83
90
  end
@@ -0,0 +1,26 @@
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 GetLibraryItemsMediaGuid < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Can be one of the following formats:
15
+ # imdb://tt13015952, tmdb://2434012, tvdb://7945991
16
+ #
17
+ field :id, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
18
+
19
+
20
+ sig { params(id: ::String).void }
21
+ def initialize(id: nil)
22
+ @id = id
23
+ end
24
+ end
25
+ end
26
+ end