plex_ruby_sdk 0.8.0 → 0.9.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 (818) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/metadata_fields.rb +33 -0
  3. data/lib/crystalline/t.rb +21 -2
  4. data/lib/crystalline/utils.rb +29 -13
  5. data/lib/plex_ruby_sdk/activities.rb +2 -2
  6. data/lib/plex_ruby_sdk/authentication.rb +4 -4
  7. data/lib/plex_ruby_sdk/butler.rb +5 -5
  8. data/lib/plex_ruby_sdk/hubs.rb +3 -3
  9. data/lib/plex_ruby_sdk/library.rb +410 -16
  10. data/lib/plex_ruby_sdk/log.rb +3 -3
  11. data/lib/plex_ruby_sdk/media.rb +5 -5
  12. data/lib/plex_ruby_sdk/models/operations/account.rb +13 -0
  13. data/lib/plex_ruby_sdk/models/operations/action.rb +7 -0
  14. data/lib/plex_ruby_sdk/models/operations/activity.rb +13 -0
  15. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_badrequest.rb +6 -0
  16. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_errors.rb +8 -0
  17. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_mediacontainer.rb +9 -0
  18. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_metadata.rb +18 -0
  19. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_playlists_errors.rb +8 -0
  20. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_request.rb +8 -0
  21. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_response.rb +11 -0
  22. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_responsebody.rb +6 -0
  23. data/lib/plex_ruby_sdk/models/operations/addplaylistcontents_unauthorized.rb +6 -0
  24. data/lib/plex_ruby_sdk/models/operations/applyupdates_badrequest.rb +6 -0
  25. data/lib/plex_ruby_sdk/models/operations/applyupdates_errors.rb +8 -0
  26. data/lib/plex_ruby_sdk/models/operations/applyupdates_request.rb +7 -0
  27. data/lib/plex_ruby_sdk/models/operations/applyupdates_response.rb +10 -0
  28. data/lib/plex_ruby_sdk/models/operations/applyupdates_unauthorized.rb +6 -0
  29. data/lib/plex_ruby_sdk/models/operations/applyupdates_updater_errors.rb +8 -0
  30. data/lib/plex_ruby_sdk/models/operations/billing.rb +7 -0
  31. data/lib/plex_ruby_sdk/models/operations/butlertask.rb +11 -0
  32. data/lib/plex_ruby_sdk/models/operations/butlertasks.rb +6 -0
  33. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_activities_errors.rb +8 -0
  34. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_badrequest.rb +6 -0
  35. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_errors.rb +8 -0
  36. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_request.rb +6 -0
  37. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_response.rb +10 -0
  38. data/lib/plex_ruby_sdk/models/operations/cancelserveractivities_unauthorized.rb +6 -0
  39. data/lib/plex_ruby_sdk/models/operations/checkforupdates_badrequest.rb +6 -0
  40. data/lib/plex_ruby_sdk/models/operations/checkforupdates_errors.rb +8 -0
  41. data/lib/plex_ruby_sdk/models/operations/checkforupdates_request.rb +6 -0
  42. data/lib/plex_ruby_sdk/models/operations/checkforupdates_response.rb +10 -0
  43. data/lib/plex_ruby_sdk/models/operations/checkforupdates_unauthorized.rb +6 -0
  44. data/lib/plex_ruby_sdk/models/operations/checkforupdates_updater_errors.rb +8 -0
  45. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_badrequest.rb +6 -0
  46. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_errors.rb +8 -0
  47. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_playlists_errors.rb +8 -0
  48. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_request.rb +6 -0
  49. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_response.rb +10 -0
  50. data/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_unauthorized.rb +6 -0
  51. data/lib/plex_ruby_sdk/models/operations/collection.rb +6 -0
  52. data/lib/plex_ruby_sdk/models/operations/connections.rb +12 -0
  53. data/lib/plex_ruby_sdk/models/operations/context.rb +6 -0
  54. data/lib/plex_ruby_sdk/models/operations/country.rb +8 -0
  55. data/lib/plex_ruby_sdk/models/operations/createplaylist_badrequest.rb +6 -0
  56. data/lib/plex_ruby_sdk/models/operations/createplaylist_errors.rb +8 -0
  57. data/lib/plex_ruby_sdk/models/operations/createplaylist_mediacontainer.rb +7 -0
  58. data/lib/plex_ruby_sdk/models/operations/createplaylist_metadata.rb +21 -0
  59. data/lib/plex_ruby_sdk/models/operations/createplaylist_playlists_errors.rb +8 -0
  60. data/lib/plex_ruby_sdk/models/operations/createplaylist_request.rb +10 -0
  61. data/lib/plex_ruby_sdk/models/operations/createplaylist_response.rb +11 -0
  62. data/lib/plex_ruby_sdk/models/operations/createplaylist_responsebody.rb +6 -0
  63. data/lib/plex_ruby_sdk/models/operations/createplaylist_unauthorized.rb +6 -0
  64. data/lib/plex_ruby_sdk/models/operations/deletelibrary_badrequest.rb +6 -0
  65. data/lib/plex_ruby_sdk/models/operations/deletelibrary_errors.rb +8 -0
  66. data/lib/plex_ruby_sdk/models/operations/deletelibrary_library_errors.rb +8 -0
  67. data/lib/plex_ruby_sdk/models/operations/deletelibrary_request.rb +6 -0
  68. data/lib/plex_ruby_sdk/models/operations/deletelibrary_response.rb +10 -0
  69. data/lib/plex_ruby_sdk/models/operations/deletelibrary_unauthorized.rb +6 -0
  70. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_badrequest.rb +6 -0
  71. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_errors.rb +8 -0
  72. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_playlists_errors.rb +8 -0
  73. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_request.rb +6 -0
  74. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_response.rb +10 -0
  75. data/lib/plex_ruby_sdk/models/operations/deleteplaylist_unauthorized.rb +6 -0
  76. data/lib/plex_ruby_sdk/models/operations/device.rb +10 -0
  77. data/lib/plex_ruby_sdk/models/operations/director.rb +6 -0
  78. data/lib/plex_ruby_sdk/models/operations/directory.rb +8 -0
  79. data/lib/plex_ruby_sdk/models/operations/enablepapertrail_badrequest.rb +6 -0
  80. data/lib/plex_ruby_sdk/models/operations/enablepapertrail_errors.rb +8 -0
  81. data/lib/plex_ruby_sdk/models/operations/enablepapertrail_log_errors.rb +8 -0
  82. data/lib/plex_ruby_sdk/models/operations/enablepapertrail_response.rb +10 -0
  83. data/lib/plex_ruby_sdk/models/operations/enablepapertrail_unauthorized.rb +6 -0
  84. data/lib/plex_ruby_sdk/models/operations/errors.rb +8 -0
  85. data/lib/plex_ruby_sdk/models/operations/feature.rb +12 -0
  86. data/lib/plex_ruby_sdk/models/operations/field.rb +9 -0
  87. data/lib/plex_ruby_sdk/models/operations/fieldtype.rb +7 -0
  88. data/lib/plex_ruby_sdk/models/operations/friend.rb +17 -0
  89. data/lib/plex_ruby_sdk/models/operations/genre.rb +8 -0
  90. data/lib/plex_ruby_sdk/models/operations/geodata.rb +16 -0
  91. data/lib/plex_ruby_sdk/models/operations/get_actors_library_badrequest.rb +6 -0
  92. data/lib/plex_ruby_sdk/models/operations/get_actors_library_directory.rb +9 -0
  93. data/lib/plex_ruby_sdk/models/operations/get_actors_library_errors.rb +8 -0
  94. data/lib/plex_ruby_sdk/models/operations/get_actors_library_library_errors.rb +8 -0
  95. data/lib/plex_ruby_sdk/models/operations/get_actors_library_mediacontainer.rb +18 -0
  96. data/lib/plex_ruby_sdk/models/operations/get_actors_library_request.rb +7 -0
  97. data/lib/plex_ruby_sdk/models/operations/get_actors_library_response.rb +11 -0
  98. data/lib/plex_ruby_sdk/models/operations/get_actors_library_responsebody.rb +6 -0
  99. data/lib/plex_ruby_sdk/models/operations/get_actors_library_unauthorized.rb +6 -0
  100. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_badrequest.rb +6 -0
  101. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb +48 -22
  102. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_errors.rb +8 -0
  103. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_library_errors.rb +8 -0
  104. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_location.rb +9 -2
  105. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_mediacontainer.rb +17 -8
  106. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_response.rb +11 -0
  107. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_responsebody.rb +8 -2
  108. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_type.rb +22 -0
  109. data/lib/plex_ruby_sdk/models/operations/get_all_libraries_unauthorized.rb +6 -0
  110. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_badrequest.rb +6 -0
  111. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_collection.rb +6 -0
  112. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_country.rb +6 -0
  113. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_director.rb +6 -0
  114. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_errors.rb +8 -0
  115. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_field.rb +9 -0
  116. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_fieldtype.rb +7 -0
  117. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_filter.rb +11 -0
  118. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_genre.rb +6 -0
  119. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_guids.rb +6 -0
  120. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_image.rb +8 -0
  121. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_library_errors.rb +8 -0
  122. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_library_optimizedforstreaming.rb +25 -0
  123. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_media.rb +26 -2
  124. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_mediacontainer.rb +24 -0
  125. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_meta.rb +7 -0
  126. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_metadata.rb +69 -0
  127. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_operator.rb +7 -0
  128. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_optimizedforstreaming.rb +25 -0
  129. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_optimizedforstreaming_1.rb +18 -0
  130. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_part.rb +23 -2
  131. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_request.rb +14 -0
  132. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_response.rb +11 -0
  133. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_responsebody.rb +6 -0
  134. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_role.rb +6 -0
  135. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_sort.rb +13 -0
  136. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_stream.rb +54 -0
  137. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_type.rb +13 -0
  138. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_ultrablurcolors.rb +9 -0
  139. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_unauthorized.rb +6 -0
  140. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_writer.rb +6 -0
  141. data/lib/plex_ruby_sdk/models/operations/get_banner_image_badrequest.rb +6 -0
  142. data/lib/plex_ruby_sdk/models/operations/get_banner_image_errors.rb +8 -0
  143. data/lib/plex_ruby_sdk/models/operations/get_banner_image_media_errors.rb +8 -0
  144. data/lib/plex_ruby_sdk/models/operations/get_banner_image_request.rb +11 -0
  145. data/lib/plex_ruby_sdk/models/operations/get_banner_image_response.rb +12 -0
  146. data/lib/plex_ruby_sdk/models/operations/get_banner_image_unauthorized.rb +6 -0
  147. data/lib/plex_ruby_sdk/models/operations/get_countries_library_badrequest.rb +6 -0
  148. data/lib/plex_ruby_sdk/models/operations/get_countries_library_directory.rb +8 -0
  149. data/lib/plex_ruby_sdk/models/operations/get_countries_library_errors.rb +8 -0
  150. data/lib/plex_ruby_sdk/models/operations/get_countries_library_library_errors.rb +8 -0
  151. data/lib/plex_ruby_sdk/models/operations/get_countries_library_mediacontainer.rb +18 -0
  152. data/lib/plex_ruby_sdk/models/operations/get_countries_library_request.rb +7 -0
  153. data/lib/plex_ruby_sdk/models/operations/get_countries_library_response.rb +11 -0
  154. data/lib/plex_ruby_sdk/models/operations/get_countries_library_responsebody.rb +6 -0
  155. data/lib/plex_ruby_sdk/models/operations/get_countries_library_unauthorized.rb +6 -0
  156. data/lib/plex_ruby_sdk/models/operations/get_genres_library_badrequest.rb +6 -0
  157. data/lib/plex_ruby_sdk/models/operations/get_genres_library_directory.rb +9 -0
  158. data/lib/plex_ruby_sdk/models/operations/get_genres_library_errors.rb +8 -0
  159. data/lib/plex_ruby_sdk/models/operations/get_genres_library_library_errors.rb +8 -0
  160. data/lib/plex_ruby_sdk/models/operations/get_genres_library_mediacontainer.rb +18 -0
  161. data/lib/plex_ruby_sdk/models/operations/get_genres_library_request.rb +7 -0
  162. data/lib/plex_ruby_sdk/models/operations/get_genres_library_response.rb +11 -0
  163. data/lib/plex_ruby_sdk/models/operations/get_genres_library_responsebody.rb +6 -0
  164. data/lib/plex_ruby_sdk/models/operations/get_genres_library_unauthorized.rb +6 -0
  165. data/lib/plex_ruby_sdk/models/operations/get_library_details_badrequest.rb +6 -0
  166. data/lib/plex_ruby_sdk/models/operations/get_library_details_directory.rb +10 -0
  167. data/lib/plex_ruby_sdk/models/operations/get_library_details_errors.rb +8 -0
  168. data/lib/plex_ruby_sdk/models/operations/get_library_details_field.rb +9 -0
  169. data/lib/plex_ruby_sdk/models/operations/get_library_details_fieldtype.rb +7 -0
  170. data/lib/plex_ruby_sdk/models/operations/get_library_details_filter.rb +10 -0
  171. data/lib/plex_ruby_sdk/models/operations/get_library_details_library_errors.rb +8 -0
  172. data/lib/plex_ruby_sdk/models/operations/get_library_details_mediacontainer.rb +20 -0
  173. data/lib/plex_ruby_sdk/models/operations/get_library_details_operator.rb +7 -0
  174. data/lib/plex_ruby_sdk/models/operations/get_library_details_request.rb +7 -0
  175. data/lib/plex_ruby_sdk/models/operations/get_library_details_response.rb +11 -0
  176. data/lib/plex_ruby_sdk/models/operations/get_library_details_responsebody.rb +6 -0
  177. data/lib/plex_ruby_sdk/models/operations/get_library_details_sort.rb +11 -0
  178. data/lib/plex_ruby_sdk/models/operations/get_library_details_type.rb +12 -0
  179. data/lib/plex_ruby_sdk/models/operations/get_library_details_unauthorized.rb +6 -0
  180. data/lib/plex_ruby_sdk/models/operations/get_library_items_badrequest.rb +6 -0
  181. data/lib/plex_ruby_sdk/models/operations/get_library_items_collection.rb +6 -0
  182. data/lib/plex_ruby_sdk/models/operations/get_library_items_country.rb +6 -0
  183. data/lib/plex_ruby_sdk/models/operations/get_library_items_director.rb +6 -0
  184. data/lib/plex_ruby_sdk/models/operations/get_library_items_errors.rb +8 -0
  185. data/lib/plex_ruby_sdk/models/operations/get_library_items_field.rb +9 -0
  186. data/lib/plex_ruby_sdk/models/operations/get_library_items_fieldtype.rb +7 -0
  187. data/lib/plex_ruby_sdk/models/operations/get_library_items_filter.rb +11 -0
  188. data/lib/plex_ruby_sdk/models/operations/get_library_items_genre.rb +6 -0
  189. data/lib/plex_ruby_sdk/models/operations/get_library_items_image.rb +8 -0
  190. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_errors.rb +8 -0
  191. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_field.rb +9 -0
  192. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_fieldtype.rb +7 -0
  193. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_filter.rb +10 -0
  194. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_operator.rb +7 -0
  195. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb +12 -0
  196. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_sort.rb +13 -0
  197. data/lib/plex_ruby_sdk/models/operations/get_library_items_location.rb +6 -0
  198. data/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb +25 -2
  199. data/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb +28 -0
  200. data/lib/plex_ruby_sdk/models/operations/get_library_items_meta.rb +7 -0
  201. data/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb +81 -0
  202. data/lib/plex_ruby_sdk/models/operations/get_library_items_operator.rb +7 -0
  203. data/lib/plex_ruby_sdk/models/operations/get_library_items_optimizedforstreaming.rb +18 -0
  204. data/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb +18 -0
  205. data/lib/plex_ruby_sdk/models/operations/get_library_items_request.rb +12 -0
  206. data/lib/plex_ruby_sdk/models/operations/get_library_items_response.rb +11 -0
  207. data/lib/plex_ruby_sdk/models/operations/get_library_items_responsebody.rb +6 -0
  208. data/lib/plex_ruby_sdk/models/operations/get_library_items_role.rb +11 -0
  209. data/lib/plex_ruby_sdk/models/operations/get_library_items_sort.rb +13 -0
  210. data/lib/plex_ruby_sdk/models/operations/get_library_items_stream.rb +43 -0
  211. data/lib/plex_ruby_sdk/models/operations/get_library_items_type.rb +13 -0
  212. data/lib/plex_ruby_sdk/models/operations/get_library_items_ultrablurcolors.rb +9 -0
  213. data/lib/plex_ruby_sdk/models/operations/get_library_items_unauthorized.rb +6 -0
  214. data/lib/plex_ruby_sdk/models/operations/get_library_items_writer.rb +6 -0
  215. data/lib/plex_ruby_sdk/models/operations/get_media_arts_mediacontainer.rb +46 -0
  216. data/lib/plex_ruby_sdk/models/operations/get_media_arts_metadata.rb +46 -0
  217. data/lib/plex_ruby_sdk/models/operations/get_media_arts_request.rb +30 -0
  218. data/lib/plex_ruby_sdk/models/operations/get_media_arts_response.rb +42 -0
  219. data/lib/plex_ruby_sdk/models/operations/get_media_arts_responsebody.rb +30 -0
  220. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_badrequest.rb +6 -0
  221. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_country.rb +8 -0
  222. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_director.rb +11 -0
  223. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_errors.rb +8 -0
  224. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_genre.rb +8 -0
  225. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_guids.rb +6 -0
  226. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_image.rb +8 -0
  227. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_library_errors.rb +8 -0
  228. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_library_optimizedforstreaming.rb +25 -0
  229. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_location.rb +6 -0
  230. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_media.rb +26 -2
  231. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb +14 -0
  232. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_metadata.rb +66 -0
  233. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_optimizedforstreaming.rb +25 -0
  234. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_optimizedforstreaming_1.rb +18 -0
  235. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_optimizedforstreaming_library_1.rb +18 -0
  236. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_part.rb +23 -2
  237. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_producer.rb +11 -0
  238. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_request.rb +19 -0
  239. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_response.rb +11 -0
  240. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_responsebody.rb +6 -0
  241. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_role.rb +11 -0
  242. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_similar.rb +8 -0
  243. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_stream.rb +54 -0
  244. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_ultrablurcolors.rb +9 -0
  245. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_unauthorized.rb +6 -0
  246. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_writer.rb +11 -0
  247. data/lib/plex_ruby_sdk/models/operations/get_media_posters_mediacontainer.rb +46 -0
  248. data/lib/plex_ruby_sdk/models/operations/get_media_posters_metadata.rb +46 -0
  249. data/lib/plex_ruby_sdk/models/operations/get_media_posters_request.rb +30 -0
  250. data/lib/plex_ruby_sdk/models/operations/get_media_posters_response.rb +42 -0
  251. data/lib/plex_ruby_sdk/models/operations/get_media_posters_responsebody.rb +30 -0
  252. data/lib/plex_ruby_sdk/models/operations/get_media_providers_badrequest.rb +6 -0
  253. data/lib/plex_ruby_sdk/models/operations/get_media_providers_directory.rb +19 -0
  254. data/lib/plex_ruby_sdk/models/operations/get_media_providers_errors.rb +8 -0
  255. data/lib/plex_ruby_sdk/models/operations/get_media_providers_mediacontainer.rb +49 -0
  256. data/lib/plex_ruby_sdk/models/operations/get_media_providers_request.rb +6 -0
  257. data/lib/plex_ruby_sdk/models/operations/get_media_providers_response.rb +11 -0
  258. data/lib/plex_ruby_sdk/models/operations/get_media_providers_responsebody.rb +6 -0
  259. data/lib/plex_ruby_sdk/models/operations/get_media_providers_server_errors.rb +8 -0
  260. data/lib/plex_ruby_sdk/models/operations/get_media_providers_unauthorized.rb +6 -0
  261. data/lib/plex_ruby_sdk/models/operations/get_recently_added_field.rb +9 -0
  262. data/lib/plex_ruby_sdk/models/operations/get_recently_added_fieldtype.rb +7 -0
  263. data/lib/plex_ruby_sdk/models/operations/get_recently_added_filter.rb +11 -0
  264. data/lib/plex_ruby_sdk/models/operations/get_recently_added_image.rb +8 -0
  265. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_badrequest.rb +6 -0
  266. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_country.rb +6 -0
  267. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_director.rb +6 -0
  268. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_errors.rb +8 -0
  269. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_filter.rb +11 -0
  270. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_genre.rb +6 -0
  271. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_library_errors.rb +8 -0
  272. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_media.rb +21 -0
  273. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_mediacontainer.rb +14 -0
  274. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_metadata.rb +37 -0
  275. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_part.rb +15 -0
  276. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_request.rb +12 -0
  277. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_response.rb +11 -0
  278. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_responsebody.rb +6 -0
  279. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_role.rb +6 -0
  280. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_type.rb +13 -0
  281. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_unauthorized.rb +6 -0
  282. data/lib/plex_ruby_sdk/models/operations/get_recently_added_library_writer.rb +6 -0
  283. data/lib/plex_ruby_sdk/models/operations/get_recently_added_mediacontainer.rb +12 -0
  284. data/lib/plex_ruby_sdk/models/operations/get_recently_added_metadata.rb +80 -0
  285. data/lib/plex_ruby_sdk/models/operations/get_recently_added_operator.rb +7 -0
  286. data/lib/plex_ruby_sdk/models/operations/get_recently_added_optimizedforstreaming.rb +25 -0
  287. data/lib/plex_ruby_sdk/models/operations/get_recently_added_optimizedforstreaming_1.rb +18 -0
  288. data/lib/plex_ruby_sdk/models/operations/get_recently_added_request.rb +12 -0
  289. data/lib/plex_ruby_sdk/models/operations/get_recently_added_response.rb +9 -0
  290. data/lib/plex_ruby_sdk/models/operations/get_recently_added_responsebody.rb +6 -0
  291. data/lib/plex_ruby_sdk/models/operations/get_recently_added_sort.rb +13 -0
  292. data/lib/plex_ruby_sdk/models/operations/get_recently_added_type.rb +13 -0
  293. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_badrequest.rb +6 -0
  294. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_errors.rb +8 -0
  295. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_library_errors.rb +8 -0
  296. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_request.rb +7 -0
  297. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_response.rb +10 -0
  298. data/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_unauthorized.rb +6 -0
  299. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_badrequest.rb +6 -0
  300. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_collection.rb +6 -0
  301. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_country.rb +6 -0
  302. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_director.rb +6 -0
  303. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_errors.rb +8 -0
  304. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_genre.rb +6 -0
  305. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_image.rb +8 -0
  306. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_errors.rb +8 -0
  307. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_location.rb +6 -0
  308. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_media.rb +23 -0
  309. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb +7 -0
  310. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediaguid.rb +6 -0
  311. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadata.rb +81 -0
  312. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadatarating.rb +8 -0
  313. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb +18 -0
  314. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_request.rb +11 -0
  315. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_response.rb +11 -0
  316. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_responsebody.rb +6 -0
  317. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_role.rb +11 -0
  318. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_stream.rb +43 -0
  319. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_ultrablurcolors.rb +9 -0
  320. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_unauthorized.rb +6 -0
  321. data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_writer.rb +6 -0
  322. data/lib/plex_ruby_sdk/models/operations/get_search_library_badrequest.rb +6 -0
  323. data/lib/plex_ruby_sdk/models/operations/get_search_library_errors.rb +8 -0
  324. data/lib/plex_ruby_sdk/models/operations/get_search_library_library_errors.rb +8 -0
  325. data/lib/plex_ruby_sdk/models/operations/get_search_library_mediacontainer.rb +18 -0
  326. data/lib/plex_ruby_sdk/models/operations/get_search_library_metadata.rb +25 -0
  327. data/lib/plex_ruby_sdk/models/operations/get_search_library_request.rb +7 -0
  328. data/lib/plex_ruby_sdk/models/operations/get_search_library_response.rb +11 -0
  329. data/lib/plex_ruby_sdk/models/operations/get_search_library_responsebody.rb +6 -0
  330. data/lib/plex_ruby_sdk/models/operations/get_search_library_unauthorized.rb +6 -0
  331. data/lib/plex_ruby_sdk/models/operations/get_server_identity_mediacontainer.rb +9 -0
  332. data/lib/plex_ruby_sdk/models/operations/get_server_identity_requesttimeout.rb +7 -0
  333. data/lib/plex_ruby_sdk/models/operations/get_server_identity_response.rb +10 -0
  334. data/lib/plex_ruby_sdk/models/operations/get_server_identity_responsebody.rb +6 -0
  335. data/lib/plex_ruby_sdk/models/operations/get_server_resources_badrequest.rb +6 -0
  336. data/lib/plex_ruby_sdk/models/operations/get_server_resources_errors.rb +8 -0
  337. data/lib/plex_ruby_sdk/models/operations/get_server_resources_plex_errors.rb +8 -0
  338. data/lib/plex_ruby_sdk/models/operations/get_server_resources_request.rb +9 -0
  339. data/lib/plex_ruby_sdk/models/operations/get_server_resources_response.rb +11 -0
  340. data/lib/plex_ruby_sdk/models/operations/get_server_resources_unauthorized.rb +6 -0
  341. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_badrequest.rb +6 -0
  342. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_errors.rb +8 -0
  343. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_media_errors.rb +8 -0
  344. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_request.rb +11 -0
  345. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_response.rb +12 -0
  346. data/lib/plex_ruby_sdk/models/operations/get_thumb_image_unauthorized.rb +6 -0
  347. data/lib/plex_ruby_sdk/models/operations/get_users_badrequest.rb +6 -0
  348. data/lib/plex_ruby_sdk/models/operations/get_users_errors.rb +8 -0
  349. data/lib/plex_ruby_sdk/models/operations/get_users_mediacontainer.rb +11 -0
  350. data/lib/plex_ruby_sdk/models/operations/get_users_request.rb +18 -0
  351. data/lib/plex_ruby_sdk/models/operations/get_users_response.rb +11 -0
  352. data/lib/plex_ruby_sdk/models/operations/get_users_responsebody.rb +6 -0
  353. data/lib/plex_ruby_sdk/models/operations/get_users_server.rb +14 -0
  354. data/lib/plex_ruby_sdk/models/operations/get_users_unauthorized.rb +6 -0
  355. data/lib/plex_ruby_sdk/models/operations/get_users_users_errors.rb +8 -0
  356. data/lib/plex_ruby_sdk/models/operations/get_watch_list_badrequest.rb +6 -0
  357. data/lib/plex_ruby_sdk/models/operations/get_watch_list_errors.rb +8 -0
  358. data/lib/plex_ruby_sdk/models/operations/get_watch_list_request.rb +14 -0
  359. data/lib/plex_ruby_sdk/models/operations/get_watch_list_response.rb +11 -0
  360. data/lib/plex_ruby_sdk/models/operations/get_watch_list_responsebody.rb +12 -0
  361. data/lib/plex_ruby_sdk/models/operations/get_watch_list_unauthorized.rb +6 -0
  362. data/lib/plex_ruby_sdk/models/operations/get_watch_list_watchlist_errors.rb +8 -0
  363. data/lib/plex_ruby_sdk/models/operations/getavailableclients_badrequest.rb +6 -0
  364. data/lib/plex_ruby_sdk/models/operations/getavailableclients_errors.rb +8 -0
  365. data/lib/plex_ruby_sdk/models/operations/getavailableclients_mediacontainer.rb +7 -0
  366. data/lib/plex_ruby_sdk/models/operations/getavailableclients_response.rb +11 -0
  367. data/lib/plex_ruby_sdk/models/operations/getavailableclients_responsebody.rb +6 -0
  368. data/lib/plex_ruby_sdk/models/operations/getavailableclients_server_errors.rb +8 -0
  369. data/lib/plex_ruby_sdk/models/operations/getavailableclients_unauthorized.rb +6 -0
  370. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_account.rb +13 -0
  371. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_badrequest.rb +6 -0
  372. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_device.rb +10 -0
  373. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_errors.rb +8 -0
  374. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_mediacontainer.rb +9 -0
  375. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_request.rb +6 -0
  376. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_response.rb +11 -0
  377. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_responsebody.rb +6 -0
  378. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_statistics_errors.rb +8 -0
  379. data/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_unauthorized.rb +6 -0
  380. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_badrequest.rb +6 -0
  381. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_butler_errors.rb +8 -0
  382. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_errors.rb +8 -0
  383. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_response.rb +11 -0
  384. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_responsebody.rb +6 -0
  385. data/lib/plex_ruby_sdk/models/operations/getbutlertasks_unauthorized.rb +6 -0
  386. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_badrequest.rb +6 -0
  387. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_errors.rb +8 -0
  388. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_plex_errors.rb +8 -0
  389. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_response.rb +11 -0
  390. data/lib/plex_ruby_sdk/models/operations/getcompanionsdata_unauthorized.rb +6 -0
  391. data/lib/plex_ruby_sdk/models/operations/getdevices_badrequest.rb +6 -0
  392. data/lib/plex_ruby_sdk/models/operations/getdevices_errors.rb +8 -0
  393. data/lib/plex_ruby_sdk/models/operations/getdevices_mediacontainer.rb +8 -0
  394. data/lib/plex_ruby_sdk/models/operations/getdevices_response.rb +11 -0
  395. data/lib/plex_ruby_sdk/models/operations/getdevices_responsebody.rb +6 -0
  396. data/lib/plex_ruby_sdk/models/operations/getdevices_server_errors.rb +8 -0
  397. data/lib/plex_ruby_sdk/models/operations/getdevices_unauthorized.rb +6 -0
  398. data/lib/plex_ruby_sdk/models/operations/getfilehash_badrequest.rb +6 -0
  399. data/lib/plex_ruby_sdk/models/operations/getfilehash_errors.rb +8 -0
  400. data/lib/plex_ruby_sdk/models/operations/getfilehash_library_errors.rb +8 -0
  401. data/lib/plex_ruby_sdk/models/operations/getfilehash_request.rb +7 -0
  402. data/lib/plex_ruby_sdk/models/operations/getfilehash_response.rb +10 -0
  403. data/lib/plex_ruby_sdk/models/operations/getfilehash_unauthorized.rb +6 -0
  404. data/lib/plex_ruby_sdk/models/operations/getgeodata_badrequest.rb +6 -0
  405. data/lib/plex_ruby_sdk/models/operations/getgeodata_errors.rb +8 -0
  406. data/lib/plex_ruby_sdk/models/operations/getgeodata_geodata.rb +16 -0
  407. data/lib/plex_ruby_sdk/models/operations/getgeodata_plex_errors.rb +8 -0
  408. data/lib/plex_ruby_sdk/models/operations/getgeodata_response.rb +11 -0
  409. data/lib/plex_ruby_sdk/models/operations/getgeodata_unauthorized.rb +6 -0
  410. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_badrequest.rb +6 -0
  411. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_errors.rb +8 -0
  412. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_hubs_errors.rb +8 -0
  413. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_mediacontainer.rb +9 -0
  414. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_metadata.rb +22 -0
  415. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_request.rb +7 -0
  416. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_response.rb +11 -0
  417. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_responsebody.rb +6 -0
  418. data/lib/plex_ruby_sdk/models/operations/getglobalhubs_unauthorized.rb +6 -0
  419. data/lib/plex_ruby_sdk/models/operations/gethomedata_badrequest.rb +6 -0
  420. data/lib/plex_ruby_sdk/models/operations/gethomedata_errors.rb +8 -0
  421. data/lib/plex_ruby_sdk/models/operations/gethomedata_plex_errors.rb +8 -0
  422. data/lib/plex_ruby_sdk/models/operations/gethomedata_response.rb +11 -0
  423. data/lib/plex_ruby_sdk/models/operations/gethomedata_responsebody.rb +11 -0
  424. data/lib/plex_ruby_sdk/models/operations/gethomedata_unauthorized.rb +6 -0
  425. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_badrequest.rb +6 -0
  426. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_country.rb +6 -0
  427. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_director.rb +6 -0
  428. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_errors.rb +8 -0
  429. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_genre.rb +6 -0
  430. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hub.rb +17 -0
  431. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hubs_errors.rb +8 -0
  432. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_media.rb +22 -0
  433. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_mediacontainer.rb +12 -0
  434. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_metadata.rb +39 -0
  435. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_part.rb +15 -0
  436. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_request.rb +8 -0
  437. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_response.rb +11 -0
  438. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_responsebody.rb +6 -0
  439. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_role.rb +6 -0
  440. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_unauthorized.rb +6 -0
  441. data/lib/plex_ruby_sdk/models/operations/getlibraryhubs_writer.rb +6 -0
  442. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_badrequest.rb +6 -0
  443. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_directory.rb +10 -0
  444. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_errors.rb +8 -0
  445. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_library_errors.rb +8 -0
  446. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_mediacontainer.rb +28 -0
  447. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_metadata.rb +32 -0
  448. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_request.rb +7 -0
  449. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_response.rb +11 -0
  450. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_responsebody.rb +6 -0
  451. data/lib/plex_ruby_sdk/models/operations/getmetadatachildren_unauthorized.rb +6 -0
  452. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_badrequest.rb +6 -0
  453. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_errors.rb +8 -0
  454. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_response.rb +11 -0
  455. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_responsebody.rb +6 -0
  456. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_server_errors.rb +8 -0
  457. data/lib/plex_ruby_sdk/models/operations/getmyplexaccount_unauthorized.rb +6 -0
  458. data/lib/plex_ruby_sdk/models/operations/getpin_authpincontainer.rb +17 -0
  459. data/lib/plex_ruby_sdk/models/operations/getpin_badrequest.rb +6 -0
  460. data/lib/plex_ruby_sdk/models/operations/getpin_errors.rb +8 -0
  461. data/lib/plex_ruby_sdk/models/operations/getpin_request.rb +11 -0
  462. data/lib/plex_ruby_sdk/models/operations/getpin_response.rb +10 -0
  463. data/lib/plex_ruby_sdk/models/operations/getplaylist_badrequest.rb +6 -0
  464. data/lib/plex_ruby_sdk/models/operations/getplaylist_errors.rb +8 -0
  465. data/lib/plex_ruby_sdk/models/operations/getplaylist_mediacontainer.rb +7 -0
  466. data/lib/plex_ruby_sdk/models/operations/getplaylist_metadata.rb +20 -0
  467. data/lib/plex_ruby_sdk/models/operations/getplaylist_playlists_errors.rb +8 -0
  468. data/lib/plex_ruby_sdk/models/operations/getplaylist_request.rb +6 -0
  469. data/lib/plex_ruby_sdk/models/operations/getplaylist_response.rb +11 -0
  470. data/lib/plex_ruby_sdk/models/operations/getplaylist_responsebody.rb +6 -0
  471. data/lib/plex_ruby_sdk/models/operations/getplaylist_unauthorized.rb +6 -0
  472. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_badrequest.rb +6 -0
  473. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_country.rb +6 -0
  474. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_director.rb +6 -0
  475. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_errors.rb +8 -0
  476. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_genre.rb +6 -0
  477. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_media.rb +22 -0
  478. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_mediacontainer.rb +14 -0
  479. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_metadata.rb +37 -0
  480. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_part.rb +15 -0
  481. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_playlists_errors.rb +8 -0
  482. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_request.rb +7 -0
  483. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_response.rb +11 -0
  484. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_responsebody.rb +6 -0
  485. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_role.rb +6 -0
  486. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_unauthorized.rb +6 -0
  487. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_writer.rb +6 -0
  488. data/lib/plex_ruby_sdk/models/operations/getplaylists_badrequest.rb +6 -0
  489. data/lib/plex_ruby_sdk/models/operations/getplaylists_errors.rb +8 -0
  490. data/lib/plex_ruby_sdk/models/operations/getplaylists_mediacontainer.rb +7 -0
  491. data/lib/plex_ruby_sdk/models/operations/getplaylists_metadata.rb +21 -0
  492. data/lib/plex_ruby_sdk/models/operations/getplaylists_playlists_errors.rb +8 -0
  493. data/lib/plex_ruby_sdk/models/operations/getplaylists_request.rb +7 -0
  494. data/lib/plex_ruby_sdk/models/operations/getplaylists_response.rb +11 -0
  495. data/lib/plex_ruby_sdk/models/operations/getplaylists_responsebody.rb +6 -0
  496. data/lib/plex_ruby_sdk/models/operations/getplaylists_unauthorized.rb +6 -0
  497. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_badrequest.rb +6 -0
  498. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_errors.rb +8 -0
  499. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_request.rb +12 -0
  500. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_response.rb +10 -0
  501. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_server_errors.rb +8 -0
  502. data/lib/plex_ruby_sdk/models/operations/getresizedphoto_unauthorized.rb +6 -0
  503. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_badrequest.rb +6 -0
  504. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_errors.rb +8 -0
  505. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_mediacontainer.rb +7 -0
  506. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_request.rb +6 -0
  507. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_response.rb +11 -0
  508. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_responsebody.rb +6 -0
  509. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_statistics_errors.rb +8 -0
  510. data/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_unauthorized.rb +6 -0
  511. data/lib/plex_ruby_sdk/models/operations/getsearchresults_badrequest.rb +6 -0
  512. data/lib/plex_ruby_sdk/models/operations/getsearchresults_country.rb +6 -0
  513. data/lib/plex_ruby_sdk/models/operations/getsearchresults_director.rb +6 -0
  514. data/lib/plex_ruby_sdk/models/operations/getsearchresults_errors.rb +8 -0
  515. data/lib/plex_ruby_sdk/models/operations/getsearchresults_genre.rb +6 -0
  516. data/lib/plex_ruby_sdk/models/operations/getsearchresults_media.rb +20 -0
  517. data/lib/plex_ruby_sdk/models/operations/getsearchresults_mediacontainer.rb +11 -0
  518. data/lib/plex_ruby_sdk/models/operations/getsearchresults_metadata.rb +39 -0
  519. data/lib/plex_ruby_sdk/models/operations/getsearchresults_part.rb +13 -0
  520. data/lib/plex_ruby_sdk/models/operations/getsearchresults_request.rb +6 -0
  521. data/lib/plex_ruby_sdk/models/operations/getsearchresults_response.rb +11 -0
  522. data/lib/plex_ruby_sdk/models/operations/getsearchresults_responsebody.rb +6 -0
  523. data/lib/plex_ruby_sdk/models/operations/getsearchresults_role.rb +6 -0
  524. data/lib/plex_ruby_sdk/models/operations/getsearchresults_search_errors.rb +8 -0
  525. data/lib/plex_ruby_sdk/models/operations/getsearchresults_unauthorized.rb +6 -0
  526. data/lib/plex_ruby_sdk/models/operations/getsearchresults_writer.rb +6 -0
  527. data/lib/plex_ruby_sdk/models/operations/getserveractivities_activities_errors.rb +8 -0
  528. data/lib/plex_ruby_sdk/models/operations/getserveractivities_badrequest.rb +6 -0
  529. data/lib/plex_ruby_sdk/models/operations/getserveractivities_errors.rb +8 -0
  530. data/lib/plex_ruby_sdk/models/operations/getserveractivities_mediacontainer.rb +7 -0
  531. data/lib/plex_ruby_sdk/models/operations/getserveractivities_response.rb +11 -0
  532. data/lib/plex_ruby_sdk/models/operations/getserveractivities_responsebody.rb +6 -0
  533. data/lib/plex_ruby_sdk/models/operations/getserveractivities_unauthorized.rb +6 -0
  534. data/lib/plex_ruby_sdk/models/operations/getservercapabilities_badrequest.rb +6 -0
  535. data/lib/plex_ruby_sdk/models/operations/getservercapabilities_errors.rb +8 -0
  536. data/lib/plex_ruby_sdk/models/operations/getservercapabilities_response.rb +11 -0
  537. data/lib/plex_ruby_sdk/models/operations/getservercapabilities_responsebody.rb +6 -0
  538. data/lib/plex_ruby_sdk/models/operations/getservercapabilities_unauthorized.rb +6 -0
  539. data/lib/plex_ruby_sdk/models/operations/getserverlist_badrequest.rb +6 -0
  540. data/lib/plex_ruby_sdk/models/operations/getserverlist_errors.rb +8 -0
  541. data/lib/plex_ruby_sdk/models/operations/getserverlist_mediacontainer.rb +7 -0
  542. data/lib/plex_ruby_sdk/models/operations/getserverlist_response.rb +11 -0
  543. data/lib/plex_ruby_sdk/models/operations/getserverlist_responsebody.rb +6 -0
  544. data/lib/plex_ruby_sdk/models/operations/getserverlist_server.rb +11 -0
  545. data/lib/plex_ruby_sdk/models/operations/getserverlist_server_errors.rb +8 -0
  546. data/lib/plex_ruby_sdk/models/operations/getserverlist_unauthorized.rb +6 -0
  547. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_badrequest.rb +6 -0
  548. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_errors.rb +8 -0
  549. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_mediacontainer.rb +7 -0
  550. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_response.rb +11 -0
  551. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_responsebody.rb +6 -0
  552. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_server_errors.rb +8 -0
  553. data/lib/plex_ruby_sdk/models/operations/getserverpreferences_unauthorized.rb +6 -0
  554. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_badrequest.rb +6 -0
  555. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_errors.rb +8 -0
  556. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_mediacontainer.rb +7 -0
  557. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_metadata.rb +24 -0
  558. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_request.rb +9 -0
  559. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_response.rb +11 -0
  560. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_responsebody.rb +6 -0
  561. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_sessions_errors.rb +8 -0
  562. data/lib/plex_ruby_sdk/models/operations/getsessionhistory_unauthorized.rb +6 -0
  563. data/lib/plex_ruby_sdk/models/operations/getsessions_badrequest.rb +6 -0
  564. data/lib/plex_ruby_sdk/models/operations/getsessions_errors.rb +8 -0
  565. data/lib/plex_ruby_sdk/models/operations/getsessions_media.rb +13 -0
  566. data/lib/plex_ruby_sdk/models/operations/getsessions_mediacontainer.rb +7 -0
  567. data/lib/plex_ruby_sdk/models/operations/getsessions_metadata.rb +43 -0
  568. data/lib/plex_ruby_sdk/models/operations/getsessions_part.rb +15 -0
  569. data/lib/plex_ruby_sdk/models/operations/getsessions_response.rb +11 -0
  570. data/lib/plex_ruby_sdk/models/operations/getsessions_responsebody.rb +6 -0
  571. data/lib/plex_ruby_sdk/models/operations/getsessions_sessions_errors.rb +8 -0
  572. data/lib/plex_ruby_sdk/models/operations/getsessions_stream.rb +25 -0
  573. data/lib/plex_ruby_sdk/models/operations/getsessions_unauthorized.rb +6 -0
  574. data/lib/plex_ruby_sdk/models/operations/getsessions_user.rb +8 -0
  575. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_authentication_errors.rb +8 -0
  576. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_badrequest.rb +6 -0
  577. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_errors.rb +8 -0
  578. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_request.rb +6 -0
  579. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_response.rb +10 -0
  580. data/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_unauthorized.rb +6 -0
  581. data/lib/plex_ruby_sdk/models/operations/getstatistics_badrequest.rb +6 -0
  582. data/lib/plex_ruby_sdk/models/operations/getstatistics_device.rb +10 -0
  583. data/lib/plex_ruby_sdk/models/operations/getstatistics_errors.rb +8 -0
  584. data/lib/plex_ruby_sdk/models/operations/getstatistics_mediacontainer.rb +9 -0
  585. data/lib/plex_ruby_sdk/models/operations/getstatistics_request.rb +6 -0
  586. data/lib/plex_ruby_sdk/models/operations/getstatistics_response.rb +11 -0
  587. data/lib/plex_ruby_sdk/models/operations/getstatistics_responsebody.rb +6 -0
  588. data/lib/plex_ruby_sdk/models/operations/getstatistics_statistics_errors.rb +8 -0
  589. data/lib/plex_ruby_sdk/models/operations/getstatistics_unauthorized.rb +6 -0
  590. data/lib/plex_ruby_sdk/models/operations/gettimeline_badrequest.rb +6 -0
  591. data/lib/plex_ruby_sdk/models/operations/gettimeline_errors.rb +8 -0
  592. data/lib/plex_ruby_sdk/models/operations/gettimeline_request.rb +15 -0
  593. data/lib/plex_ruby_sdk/models/operations/gettimeline_response.rb +10 -0
  594. data/lib/plex_ruby_sdk/models/operations/gettimeline_unauthorized.rb +6 -0
  595. data/lib/plex_ruby_sdk/models/operations/gettimeline_video_errors.rb +8 -0
  596. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb +17 -0
  597. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_badrequest.rb +6 -0
  598. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_errors.rb +8 -0
  599. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb +16 -0
  600. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_plex_errors.rb +7 -0
  601. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_request.rb +11 -0
  602. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_response.rb +11 -0
  603. data/lib/plex_ruby_sdk/models/operations/gettokenbypinid_responsebody.rb +6 -0
  604. data/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_errors.rb +8 -0
  605. data/lib/plex_ruby_sdk/models/operations/gettokendetails_badrequest.rb +6 -0
  606. data/lib/plex_ruby_sdk/models/operations/gettokendetails_errors.rb +8 -0
  607. data/lib/plex_ruby_sdk/models/operations/gettokendetails_response.rb +11 -0
  608. data/lib/plex_ruby_sdk/models/operations/gettokendetails_subscription.rb +11 -0
  609. data/lib/plex_ruby_sdk/models/operations/gettokendetails_unauthorized.rb +6 -0
  610. data/lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb +46 -0
  611. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_badrequest.rb +6 -0
  612. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_country.rb +8 -0
  613. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_errors.rb +8 -0
  614. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_genre.rb +8 -0
  615. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_guids.rb +6 -0
  616. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_library_errors.rb +8 -0
  617. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_mediacontainer.rb +11 -0
  618. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_metadata.rb +37 -0
  619. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_request.rb +7 -0
  620. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_response.rb +11 -0
  621. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_responsebody.rb +6 -0
  622. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_role.rb +11 -0
  623. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_unauthorized.rb +6 -0
  624. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_user.rb +6 -0
  625. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_badrequest.rb +6 -0
  626. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_errors.rb +8 -0
  627. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_mediacontainer.rb +7 -0
  628. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_response.rb +11 -0
  629. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_responsebody.rb +6 -0
  630. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_sessions_errors.rb +8 -0
  631. data/lib/plex_ruby_sdk/models/operations/gettranscodesessions_unauthorized.rb +6 -0
  632. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_authentication_errors.rb +8 -0
  633. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_badrequest.rb +6 -0
  634. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_errors.rb +8 -0
  635. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_request.rb +7 -0
  636. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_response.rb +10 -0
  637. data/lib/plex_ruby_sdk/models/operations/gettransienttoken_unauthorized.rb +6 -0
  638. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_badrequest.rb +6 -0
  639. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_errors.rb +8 -0
  640. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_mediacontainer.rb +11 -0
  641. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_response.rb +11 -0
  642. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_responsebody.rb +6 -0
  643. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_unauthorized.rb +6 -0
  644. data/lib/plex_ruby_sdk/models/operations/getupdatestatus_updater_errors.rb +8 -0
  645. data/lib/plex_ruby_sdk/models/operations/getuserfriends_badrequest.rb +6 -0
  646. data/lib/plex_ruby_sdk/models/operations/getuserfriends_errors.rb +8 -0
  647. data/lib/plex_ruby_sdk/models/operations/getuserfriends_plex_errors.rb +8 -0
  648. data/lib/plex_ruby_sdk/models/operations/getuserfriends_response.rb +11 -0
  649. data/lib/plex_ruby_sdk/models/operations/getuserfriends_unauthorized.rb +6 -0
  650. data/lib/plex_ruby_sdk/models/operations/guids.rb +6 -0
  651. data/lib/plex_ruby_sdk/models/operations/hidden.rb +18 -0
  652. data/lib/plex_ruby_sdk/models/operations/hub.rb +16 -0
  653. data/lib/plex_ruby_sdk/models/operations/image.rb +8 -0
  654. data/lib/plex_ruby_sdk/models/operations/internalpaymentmethod.rb +5 -0
  655. data/lib/plex_ruby_sdk/models/operations/location.rb +6 -0
  656. data/lib/plex_ruby_sdk/models/operations/logline_badrequest.rb +6 -0
  657. data/lib/plex_ruby_sdk/models/operations/logline_errors.rb +8 -0
  658. data/lib/plex_ruby_sdk/models/operations/logline_log_errors.rb +8 -0
  659. data/lib/plex_ruby_sdk/models/operations/logline_request.rb +8 -0
  660. data/lib/plex_ruby_sdk/models/operations/logline_response.rb +10 -0
  661. data/lib/plex_ruby_sdk/models/operations/logline_unauthorized.rb +6 -0
  662. data/lib/plex_ruby_sdk/models/operations/logmultiline_badrequest.rb +6 -0
  663. data/lib/plex_ruby_sdk/models/operations/logmultiline_errors.rb +8 -0
  664. data/lib/plex_ruby_sdk/models/operations/logmultiline_log_errors.rb +8 -0
  665. data/lib/plex_ruby_sdk/models/operations/logmultiline_response.rb +10 -0
  666. data/lib/plex_ruby_sdk/models/operations/logmultiline_unauthorized.rb +6 -0
  667. data/lib/plex_ruby_sdk/models/operations/markplayed_badrequest.rb +6 -0
  668. data/lib/plex_ruby_sdk/models/operations/markplayed_errors.rb +8 -0
  669. data/lib/plex_ruby_sdk/models/operations/markplayed_media_errors.rb +8 -0
  670. data/lib/plex_ruby_sdk/models/operations/markplayed_request.rb +6 -0
  671. data/lib/plex_ruby_sdk/models/operations/markplayed_response.rb +10 -0
  672. data/lib/plex_ruby_sdk/models/operations/markplayed_unauthorized.rb +6 -0
  673. data/lib/plex_ruby_sdk/models/operations/markunplayed_badrequest.rb +6 -0
  674. data/lib/plex_ruby_sdk/models/operations/markunplayed_errors.rb +8 -0
  675. data/lib/plex_ruby_sdk/models/operations/markunplayed_media_errors.rb +8 -0
  676. data/lib/plex_ruby_sdk/models/operations/markunplayed_request.rb +6 -0
  677. data/lib/plex_ruby_sdk/models/operations/markunplayed_response.rb +10 -0
  678. data/lib/plex_ruby_sdk/models/operations/markunplayed_unauthorized.rb +6 -0
  679. data/lib/plex_ruby_sdk/models/operations/media.rb +26 -2
  680. data/lib/plex_ruby_sdk/models/operations/mediacontainer.rb +56 -0
  681. data/lib/plex_ruby_sdk/models/operations/mediaguid.rb +6 -0
  682. data/lib/plex_ruby_sdk/models/operations/mediaprovider.rb +10 -0
  683. data/lib/plex_ruby_sdk/models/operations/meta.rb +7 -0
  684. data/lib/plex_ruby_sdk/models/operations/metadata.rb +40 -0
  685. data/lib/plex_ruby_sdk/models/operations/metadatarating.rb +8 -0
  686. data/lib/plex_ruby_sdk/models/operations/myplex.rb +17 -0
  687. data/lib/plex_ruby_sdk/models/operations/one.rb +18 -0
  688. data/lib/plex_ruby_sdk/models/operations/operator.rb +7 -0
  689. data/lib/plex_ruby_sdk/models/operations/optimizedforstreaming.rb +11 -4
  690. data/lib/plex_ruby_sdk/models/operations/optimizedforstreaming_1.rb +18 -0
  691. data/lib/plex_ruby_sdk/models/operations/part.rb +23 -2
  692. data/lib/plex_ruby_sdk/models/operations/pastsubscription.rb +20 -0
  693. data/lib/plex_ruby_sdk/models/operations/performsearch_badrequest.rb +6 -0
  694. data/lib/plex_ruby_sdk/models/operations/performsearch_errors.rb +8 -0
  695. data/lib/plex_ruby_sdk/models/operations/performsearch_request.rb +8 -0
  696. data/lib/plex_ruby_sdk/models/operations/performsearch_response.rb +10 -0
  697. data/lib/plex_ruby_sdk/models/operations/performsearch_search_errors.rb +8 -0
  698. data/lib/plex_ruby_sdk/models/operations/performsearch_unauthorized.rb +6 -0
  699. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_badrequest.rb +6 -0
  700. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_errors.rb +8 -0
  701. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_request.rb +8 -0
  702. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_response.rb +10 -0
  703. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_search_errors.rb +8 -0
  704. data/lib/plex_ruby_sdk/models/operations/performvoicesearch_unauthorized.rb +6 -0
  705. data/lib/plex_ruby_sdk/models/operations/pivot.rb +11 -0
  706. data/lib/plex_ruby_sdk/models/operations/player.rb +20 -0
  707. data/lib/plex_ruby_sdk/models/operations/plexdevice.rb +29 -0
  708. data/lib/plex_ruby_sdk/models/operations/post_media_arts_request.rb +38 -0
  709. data/lib/plex_ruby_sdk/models/operations/post_media_arts_response.rb +38 -0
  710. data/lib/plex_ruby_sdk/models/operations/post_media_poster_request.rb +38 -0
  711. data/lib/plex_ruby_sdk/models/operations/post_media_poster_response.rb +38 -0
  712. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_errors.rb +8 -0
  713. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_subscription.rb +11 -0
  714. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_badrequest.rb +6 -0
  715. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_errors.rb +8 -0
  716. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_request.rb +11 -0
  717. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_requestbody.rb +9 -0
  718. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_response.rb +11 -0
  719. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_services.rb +10 -0
  720. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_subscription.rb +11 -0
  721. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_unauthorized.rb +6 -0
  722. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userplexaccount.rb +48 -0
  723. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userprofile.rb +13 -0
  724. data/lib/plex_ruby_sdk/models/operations/producer.rb +10 -0
  725. data/lib/plex_ruby_sdk/models/operations/provider.rb +8 -0
  726. data/lib/plex_ruby_sdk/models/operations/queryparam_filter.rb +5 -0
  727. data/lib/plex_ruby_sdk/models/operations/rating.rb +8 -0
  728. data/lib/plex_ruby_sdk/models/operations/ratings.rb +8 -0
  729. data/lib/plex_ruby_sdk/models/operations/release.rb +11 -0
  730. data/lib/plex_ruby_sdk/models/operations/responsebody.rb +11 -0
  731. data/lib/plex_ruby_sdk/models/operations/role.rb +11 -0
  732. data/lib/plex_ruby_sdk/models/operations/searchresult.rb +7 -0
  733. data/lib/plex_ruby_sdk/models/operations/server.rb +16 -0
  734. data/lib/plex_ruby_sdk/models/operations/services.rb +10 -0
  735. data/lib/plex_ruby_sdk/models/operations/session.rb +8 -0
  736. data/lib/plex_ruby_sdk/models/operations/setting.rb +15 -0
  737. data/lib/plex_ruby_sdk/models/operations/sharedservers.rb +5 -0
  738. data/lib/plex_ruby_sdk/models/operations/sharedsources.rb +5 -0
  739. data/lib/plex_ruby_sdk/models/operations/similar.rb +8 -0
  740. data/lib/plex_ruby_sdk/models/operations/sort.rb +13 -0
  741. data/lib/plex_ruby_sdk/models/operations/startalltasks_badrequest.rb +6 -0
  742. data/lib/plex_ruby_sdk/models/operations/startalltasks_butler_errors.rb +8 -0
  743. data/lib/plex_ruby_sdk/models/operations/startalltasks_errors.rb +8 -0
  744. data/lib/plex_ruby_sdk/models/operations/startalltasks_response.rb +10 -0
  745. data/lib/plex_ruby_sdk/models/operations/startalltasks_unauthorized.rb +6 -0
  746. data/lib/plex_ruby_sdk/models/operations/starttask_badrequest.rb +6 -0
  747. data/lib/plex_ruby_sdk/models/operations/starttask_butler_errors.rb +8 -0
  748. data/lib/plex_ruby_sdk/models/operations/starttask_errors.rb +8 -0
  749. data/lib/plex_ruby_sdk/models/operations/starttask_request.rb +6 -0
  750. data/lib/plex_ruby_sdk/models/operations/starttask_response.rb +10 -0
  751. data/lib/plex_ruby_sdk/models/operations/starttask_unauthorized.rb +6 -0
  752. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_badrequest.rb +6 -0
  753. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_errors.rb +8 -0
  754. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_request.rb +21 -0
  755. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_response.rb +10 -0
  756. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_unauthorized.rb +6 -0
  757. data/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_video_errors.rb +8 -0
  758. data/lib/plex_ruby_sdk/models/operations/statisticsbandwidth.rb +11 -0
  759. data/lib/plex_ruby_sdk/models/operations/statisticsmedia.rb +12 -0
  760. data/lib/plex_ruby_sdk/models/operations/statisticsresources.rb +11 -0
  761. data/lib/plex_ruby_sdk/models/operations/stopalltasks_badrequest.rb +6 -0
  762. data/lib/plex_ruby_sdk/models/operations/stopalltasks_butler_errors.rb +8 -0
  763. data/lib/plex_ruby_sdk/models/operations/stopalltasks_errors.rb +8 -0
  764. data/lib/plex_ruby_sdk/models/operations/stopalltasks_response.rb +10 -0
  765. data/lib/plex_ruby_sdk/models/operations/stopalltasks_unauthorized.rb +6 -0
  766. data/lib/plex_ruby_sdk/models/operations/stoptask_badrequest.rb +6 -0
  767. data/lib/plex_ruby_sdk/models/operations/stoptask_butler_errors.rb +8 -0
  768. data/lib/plex_ruby_sdk/models/operations/stoptask_errors.rb +8 -0
  769. data/lib/plex_ruby_sdk/models/operations/stoptask_request.rb +6 -0
  770. data/lib/plex_ruby_sdk/models/operations/stoptask_response.rb +10 -0
  771. data/lib/plex_ruby_sdk/models/operations/stoptask_unauthorized.rb +6 -0
  772. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_badrequest.rb +6 -0
  773. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_errors.rb +8 -0
  774. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_request.rb +6 -0
  775. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_response.rb +10 -0
  776. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_sessions_errors.rb +8 -0
  777. data/lib/plex_ruby_sdk/models/operations/stoptranscodesession_unauthorized.rb +6 -0
  778. data/lib/plex_ruby_sdk/models/operations/stream.rb +54 -0
  779. data/lib/plex_ruby_sdk/models/operations/subscription.rb +11 -0
  780. data/lib/plex_ruby_sdk/models/operations/transcodesession.rb +29 -0
  781. data/lib/plex_ruby_sdk/models/operations/trials.rb +5 -0
  782. data/lib/plex_ruby_sdk/models/operations/ultrablurcolors.rb +9 -0
  783. data/lib/plex_ruby_sdk/models/operations/updateplaylist_badrequest.rb +6 -0
  784. data/lib/plex_ruby_sdk/models/operations/updateplaylist_errors.rb +8 -0
  785. data/lib/plex_ruby_sdk/models/operations/updateplaylist_playlists_errors.rb +8 -0
  786. data/lib/plex_ruby_sdk/models/operations/updateplaylist_request.rb +8 -0
  787. data/lib/plex_ruby_sdk/models/operations/updateplaylist_response.rb +10 -0
  788. data/lib/plex_ruby_sdk/models/operations/updateplaylist_unauthorized.rb +6 -0
  789. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_badrequest.rb +6 -0
  790. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_errors.rb +8 -0
  791. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_media_errors.rb +8 -0
  792. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_request.rb +8 -0
  793. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_response.rb +10 -0
  794. data/lib/plex_ruby_sdk/models/operations/updateplayprogress_unauthorized.rb +6 -0
  795. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_badrequest.rb +6 -0
  796. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_errors.rb +8 -0
  797. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_playlists_errors.rb +8 -0
  798. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_request.rb +8 -0
  799. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_response.rb +10 -0
  800. data/lib/plex_ruby_sdk/models/operations/uploadplaylist_unauthorized.rb +6 -0
  801. data/lib/plex_ruby_sdk/models/operations/user.rb +25 -0
  802. data/lib/plex_ruby_sdk/models/operations/userprofile.rb +13 -0
  803. data/lib/plex_ruby_sdk/models/operations/writer.rb +9 -0
  804. data/lib/plex_ruby_sdk/models/operations.rb +835 -807
  805. data/lib/plex_ruby_sdk/models/shared/security.rb +6 -0
  806. data/lib/plex_ruby_sdk/playlists.rb +9 -9
  807. data/lib/plex_ruby_sdk/plex.rb +7 -7
  808. data/lib/plex_ruby_sdk/sdkconfiguration.rb +3 -3
  809. data/lib/plex_ruby_sdk/search.rb +3 -3
  810. data/lib/plex_ruby_sdk/server.rb +9 -9
  811. data/lib/plex_ruby_sdk/sessions.rb +4 -4
  812. data/lib/plex_ruby_sdk/statistics.rb +3 -3
  813. data/lib/plex_ruby_sdk/updater.rb +3 -3
  814. data/lib/plex_ruby_sdk/users.rb +1 -1
  815. data/lib/plex_ruby_sdk/utils/utils.rb +3 -3
  816. data/lib/plex_ruby_sdk/video.rb +2 -2
  817. data/lib/plex_ruby_sdk/watchlist.rb +1 -1
  818. metadata +30 -2
@@ -19,6 +19,12 @@ module PlexRubySDK
19
19
  def initialize(errors: nil)
20
20
  @errors = errors
21
21
  end
22
+
23
+ def ==(other)
24
+ return false unless other.is_a? self.class
25
+ return false unless @errors == other.errors
26
+ true
27
+ end
22
28
  end
23
29
  end
24
30
  end
@@ -11,59 +11,58 @@ module PlexRubySDK
11
11
  class GetAllLibrariesDirectory < ::Crystalline::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
-
14
+ # The Plex agent used to match and retrieve media metadata.
15
15
  field :agent, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('agent') } }
16
-
16
+ # Indicates whether syncing is allowed.
17
17
  field :allow_sync, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('allowSync') } }
18
-
18
+ # URL for the background artwork of the media container.
19
19
  field :art, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('art') } }
20
-
20
+ # The relative path to the composite media item.
21
21
  field :composite, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('composite') } }
22
-
22
+ # UNKNOWN
23
23
  field :content, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('content') } }
24
- # Unix epoch datetime in seconds
24
+ # The number of seconds since the content was last changed relative to now.
25
25
  field :content_changed_at, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('contentChangedAt') } }
26
- # Unix epoch datetime in seconds
27
- field :created_at, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('createdAt') } }
28
-
26
+ # UNKNOWN
29
27
  field :directory, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('directory') } }
30
-
28
+ # UNKNOWN
31
29
  field :filters, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('filters') } }
32
30
 
33
- field :hidden, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hidden') } }
34
-
31
+ field :hidden, ::PlexRubySDK::Operations::Hidden, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hidden'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::Hidden, false) } }
32
+ # The library key representing the unique identifier
35
33
  field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
36
-
34
+ # The Plex library language that has been set
37
35
  field :language, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('language') } }
38
36
 
39
37
  field :location, T::Array[::PlexRubySDK::Operations::GetAllLibrariesLocation], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Location') } }
40
-
38
+ # Indicates whether the library is currently being refreshed or updated
41
39
  field :refreshing, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('refreshing') } }
42
40
  # Unix epoch datetime in seconds
43
41
  field :scanned_at, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('scannedAt') } }
44
-
42
+ # UNKNOWN
45
43
  field :scanner, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('scanner') } }
46
-
44
+ # URL for the thumbnail image of the media container.
47
45
  field :thumb, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('thumb') } }
48
-
46
+ # The title of the library
49
47
  field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
50
48
 
51
- field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
49
+ field :type, ::PlexRubySDK::Operations::GetAllLibrariesType, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetAllLibrariesType, false) } }
52
50
  # Unix epoch datetime in seconds
53
51
  field :updated_at, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('updatedAt') } }
54
-
52
+ # The universally unique identifier for the library.
55
53
  field :uuid, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('uuid') } }
56
54
 
55
+ field :created_at, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('createdAt') } }
57
56
 
58
- sig { params(agent: ::String, allow_sync: T::Boolean, art: ::String, composite: ::String, content: T::Boolean, content_changed_at: ::Integer, created_at: ::Integer, directory: T::Boolean, filters: T::Boolean, hidden: ::Integer, key: ::String, language: ::String, location: T::Array[::PlexRubySDK::Operations::GetAllLibrariesLocation], refreshing: T::Boolean, scanned_at: ::Integer, scanner: ::String, thumb: ::String, title: ::String, type: ::String, updated_at: ::Integer, uuid: ::String).void }
59
- def initialize(agent: nil, allow_sync: nil, art: nil, composite: nil, content: nil, content_changed_at: nil, created_at: nil, directory: nil, filters: nil, hidden: nil, key: nil, language: nil, location: nil, refreshing: nil, scanned_at: nil, scanner: nil, thumb: nil, title: nil, type: nil, updated_at: nil, uuid: nil)
57
+
58
+ sig { params(agent: ::String, allow_sync: T::Boolean, art: ::String, composite: ::String, content: T::Boolean, content_changed_at: ::Integer, directory: T::Boolean, filters: T::Boolean, hidden: ::PlexRubySDK::Operations::Hidden, key: ::String, language: ::String, location: T::Array[::PlexRubySDK::Operations::GetAllLibrariesLocation], refreshing: T::Boolean, scanned_at: ::Integer, scanner: ::String, thumb: ::String, title: ::String, type: ::PlexRubySDK::Operations::GetAllLibrariesType, updated_at: ::Integer, uuid: ::String, created_at: T.nilable(::Integer)).void }
59
+ def initialize(agent: nil, allow_sync: nil, art: nil, composite: nil, content: nil, content_changed_at: nil, directory: nil, filters: nil, hidden: nil, key: nil, language: nil, location: nil, refreshing: nil, scanned_at: nil, scanner: nil, thumb: nil, title: nil, type: nil, updated_at: nil, uuid: nil, created_at: nil)
60
60
  @agent = agent
61
61
  @allow_sync = allow_sync
62
62
  @art = art
63
63
  @composite = composite
64
64
  @content = content
65
65
  @content_changed_at = content_changed_at
66
- @created_at = created_at
67
66
  @directory = directory
68
67
  @filters = filters
69
68
  @hidden = hidden
@@ -78,6 +77,33 @@ module PlexRubySDK
78
77
  @type = type
79
78
  @updated_at = updated_at
80
79
  @uuid = uuid
80
+ @created_at = created_at
81
+ end
82
+
83
+ def ==(other)
84
+ return false unless other.is_a? self.class
85
+ return false unless @agent == other.agent
86
+ return false unless @allow_sync == other.allow_sync
87
+ return false unless @art == other.art
88
+ return false unless @composite == other.composite
89
+ return false unless @content == other.content
90
+ return false unless @content_changed_at == other.content_changed_at
91
+ return false unless @directory == other.directory
92
+ return false unless @filters == other.filters
93
+ return false unless @hidden == other.hidden
94
+ return false unless @key == other.key
95
+ return false unless @language == other.language
96
+ return false unless @location == other.location
97
+ return false unless @refreshing == other.refreshing
98
+ return false unless @scanned_at == other.scanned_at
99
+ return false unless @scanner == other.scanner
100
+ return false unless @thumb == other.thumb
101
+ return false unless @title == other.title
102
+ return false unless @type == other.type
103
+ return false unless @updated_at == other.updated_at
104
+ return false unless @uuid == other.uuid
105
+ return false unless @created_at == other.created_at
106
+ true
81
107
  end
82
108
  end
83
109
  end
@@ -25,6 +25,14 @@ module PlexRubySDK
25
25
  @message = message
26
26
  @status = status
27
27
  end
28
+
29
+ def ==(other)
30
+ return false unless other.is_a? self.class
31
+ return false unless @code == other.code
32
+ return false unless @message == other.message
33
+ return false unless @status == other.status
34
+ true
35
+ end
28
36
  end
29
37
  end
30
38
  end
@@ -25,6 +25,14 @@ module PlexRubySDK
25
25
  @message = message
26
26
  @status = status
27
27
  end
28
+
29
+ def ==(other)
30
+ return false unless other.is_a? self.class
31
+ return false unless @code == other.code
32
+ return false unless @message == other.message
33
+ return false unless @status == other.status
34
+ true
35
+ end
28
36
  end
29
37
  end
30
38
  end
@@ -11,9 +11,9 @@ module PlexRubySDK
11
11
  class GetAllLibrariesLocation < ::Crystalline::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
-
14
+ # The ID of the location.
15
15
  field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
16
-
16
+ # The path to the media item.
17
17
  field :path, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('path') } }
18
18
 
19
19
 
@@ -22,6 +22,13 @@ module PlexRubySDK
22
22
  @id = id
23
23
  @path = path
24
24
  end
25
+
26
+ def ==(other)
27
+ return false unless other.is_a? self.class
28
+ return false unless @id == other.id
29
+ return false unless @path == other.path
30
+ true
31
+ end
25
32
  end
26
33
  end
27
34
  end
@@ -11,22 +11,31 @@ module PlexRubySDK
11
11
  class GetAllLibrariesMediaContainer < ::Crystalline::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
-
14
+ # Indicates whether syncing is allowed.
15
15
  field :allow_sync, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('allowSync') } }
16
-
17
- field :directory, T::Array[::PlexRubySDK::Operations::GetAllLibrariesDirectory], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Directory') } }
18
-
16
+ # Number of media items returned in this response.
19
17
  field :size, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } }
20
-
18
+ # The primary title of the media container.
21
19
  field :title1, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title1') } }
22
20
 
21
+ field :directory, T.nilable(T::Array[::PlexRubySDK::Operations::GetAllLibrariesDirectory]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Directory') } }
22
+
23
23
 
24
- sig { params(allow_sync: T::Boolean, directory: T::Array[::PlexRubySDK::Operations::GetAllLibrariesDirectory], size: ::Integer, title1: ::String).void }
25
- def initialize(allow_sync: nil, directory: nil, size: nil, title1: nil)
24
+ sig { params(allow_sync: T::Boolean, size: ::Integer, title1: ::String, directory: T.nilable(T::Array[::PlexRubySDK::Operations::GetAllLibrariesDirectory])).void }
25
+ def initialize(allow_sync: nil, size: nil, title1: nil, directory: nil)
26
26
  @allow_sync = allow_sync
27
- @directory = directory
28
27
  @size = size
29
28
  @title1 = title1
29
+ @directory = directory
30
+ end
31
+
32
+ def ==(other)
33
+ return false unless other.is_a? self.class
34
+ return false unless @allow_sync == other.allow_sync
35
+ return false unless @size == other.size
36
+ return false unless @title1 == other.title1
37
+ return false unless @directory == other.directory
38
+ true
30
39
  end
31
40
  end
32
41
  end
@@ -34,6 +34,17 @@ module PlexRubySDK
34
34
  @object = object
35
35
  @unauthorized = unauthorized
36
36
  end
37
+
38
+ def ==(other)
39
+ return false unless other.is_a? self.class
40
+ return false unless @content_type == other.content_type
41
+ return false unless @raw_response == other.raw_response
42
+ return false unless @status_code == other.status_code
43
+ return false unless @bad_request == other.bad_request
44
+ return false unless @object == other.object
45
+ return false unless @unauthorized == other.unauthorized
46
+ true
47
+ end
37
48
  end
38
49
  end
39
50
  end
@@ -12,13 +12,19 @@ module PlexRubySDK
12
12
  extend T::Sig
13
13
 
14
14
 
15
- field :media_container, ::PlexRubySDK::Operations::GetAllLibrariesMediaContainer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('MediaContainer') } }
15
+ field :media_container, T.nilable(::PlexRubySDK::Operations::GetAllLibrariesMediaContainer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('MediaContainer') } }
16
16
 
17
17
 
18
- sig { params(media_container: ::PlexRubySDK::Operations::GetAllLibrariesMediaContainer).void }
18
+ sig { params(media_container: T.nilable(::PlexRubySDK::Operations::GetAllLibrariesMediaContainer)).void }
19
19
  def initialize(media_container: nil)
20
20
  @media_container = media_container
21
21
  end
22
+
23
+ def ==(other)
24
+ return false unless other.is_a? self.class
25
+ return false unless @media_container == other.media_container
26
+ true
27
+ end
22
28
  end
23
29
  end
24
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
+ # GetAllLibrariesType - The library type
11
+ class GetAllLibrariesType < T::Enum
12
+ enums do
13
+ MOVIE = new('movie')
14
+ TV_SHOW = new('show')
15
+ SEASON = new('season')
16
+ EPISODE = new('episode')
17
+ ARTIST = new('artist')
18
+ ALBUM = new('album')
19
+ end
20
+ end
21
+ end
22
+ end
@@ -19,6 +19,12 @@ module PlexRubySDK
19
19
  def initialize(errors: nil)
20
20
  @errors = errors
21
21
  end
22
+
23
+ def ==(other)
24
+ return false unless other.is_a? self.class
25
+ return false unless @errors == other.errors
26
+ true
27
+ end
22
28
  end
23
29
  end
24
30
  end
@@ -19,6 +19,12 @@ module PlexRubySDK
19
19
  def initialize(errors: nil)
20
20
  @errors = errors
21
21
  end
22
+
23
+ def ==(other)
24
+ return false unless other.is_a? self.class
25
+ return false unless @errors == other.errors
26
+ true
27
+ end
22
28
  end
23
29
  end
24
30
  end
@@ -19,6 +19,12 @@ module PlexRubySDK
19
19
  def initialize(tag: nil)
20
20
  @tag = tag
21
21
  end
22
+
23
+ def ==(other)
24
+ return false unless other.is_a? self.class
25
+ return false unless @tag == other.tag
26
+ true
27
+ end
22
28
  end
23
29
  end
24
30
  end
@@ -19,6 +19,12 @@ module PlexRubySDK
19
19
  def initialize(tag: nil)
20
20
  @tag = tag
21
21
  end
22
+
23
+ def ==(other)
24
+ return false unless other.is_a? self.class
25
+ return false unless @tag == other.tag
26
+ true
27
+ end
22
28
  end
23
29
  end
24
30
  end
@@ -19,6 +19,12 @@ module PlexRubySDK
19
19
  def initialize(tag: nil)
20
20
  @tag = tag
21
21
  end
22
+
23
+ def ==(other)
24
+ return false unless other.is_a? self.class
25
+ return false unless @tag == other.tag
26
+ true
27
+ end
22
28
  end
23
29
  end
24
30
  end
@@ -25,6 +25,14 @@ module PlexRubySDK
25
25
  @message = message
26
26
  @status = status
27
27
  end
28
+
29
+ def ==(other)
30
+ return false unless other.is_a? self.class
31
+ return false unless @code == other.code
32
+ return false unless @message == other.message
33
+ return false unless @status == other.status
34
+ true
35
+ end
28
36
  end
29
37
  end
30
38
  end
@@ -28,6 +28,15 @@ module PlexRubySDK
28
28
  @type = type
29
29
  @sub_type = sub_type
30
30
  end
31
+
32
+ def ==(other)
33
+ return false unless other.is_a? self.class
34
+ return false unless @key == other.key
35
+ return false unless @title == other.title
36
+ return false unless @type == other.type
37
+ return false unless @sub_type == other.sub_type
38
+ true
39
+ end
31
40
  end
32
41
  end
33
42
  end
@@ -22,6 +22,13 @@ module PlexRubySDK
22
22
  @operator = operator
23
23
  @type = type
24
24
  end
25
+
26
+ def ==(other)
27
+ return false unless other.is_a? self.class
28
+ return false unless @operator == other.operator
29
+ return false unless @type == other.type
30
+ true
31
+ end
25
32
  end
26
33
  end
27
34
  end
@@ -34,6 +34,17 @@ module PlexRubySDK
34
34
  @type = type
35
35
  @advanced = advanced
36
36
  end
37
+
38
+ def ==(other)
39
+ return false unless other.is_a? self.class
40
+ return false unless @filter == other.filter
41
+ return false unless @filter_type == other.filter_type
42
+ return false unless @key == other.key
43
+ return false unless @title == other.title
44
+ return false unless @type == other.type
45
+ return false unless @advanced == other.advanced
46
+ true
47
+ end
37
48
  end
38
49
  end
39
50
  end
@@ -20,6 +20,12 @@ module PlexRubySDK
20
20
  def initialize(tag: nil)
21
21
  @tag = tag
22
22
  end
23
+
24
+ def ==(other)
25
+ return false unless other.is_a? self.class
26
+ return false unless @tag == other.tag
27
+ true
28
+ end
23
29
  end
24
30
  end
25
31
  end
@@ -20,6 +20,12 @@ module PlexRubySDK
20
20
  def initialize(id: nil)
21
21
  @id = id
22
22
  end
23
+
24
+ def ==(other)
25
+ return false unless other.is_a? self.class
26
+ return false unless @id == other.id
27
+ true
28
+ end
23
29
  end
24
30
  end
25
31
  end
@@ -25,6 +25,14 @@ module PlexRubySDK
25
25
  @type = type
26
26
  @url = url
27
27
  end
28
+
29
+ def ==(other)
30
+ return false unless other.is_a? self.class
31
+ return false unless @alt == other.alt
32
+ return false unless @type == other.type
33
+ return false unless @url == other.url
34
+ true
35
+ end
28
36
  end
29
37
  end
30
38
  end
@@ -25,6 +25,14 @@ module PlexRubySDK
25
25
  @message = message
26
26
  @status = status
27
27
  end
28
+
29
+ def ==(other)
30
+ return false unless other.is_a? self.class
31
+ return false unless @code == other.code
32
+ return false unless @message == other.message
33
+ return false unless @status == other.status
34
+ true
35
+ end
28
36
  end
29
37
  end
30
38
  end
@@ -0,0 +1,25 @@
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
+ # Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
11
+ class GetAllMediaLibraryLibraryOptimizedForStreaming < ::Crystalline::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+
16
+
17
+ def initialize; end
18
+
19
+ def ==(other)
20
+ return false unless other.is_a? self.class
21
+ true
22
+ end
23
+ end
24
+ end
25
+ end
@@ -36,7 +36,7 @@ module PlexRubySDK
36
36
  # Video height in pixels.
37
37
  field :height, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('height') } }
38
38
  # Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
39
- field :optimized_for_streaming, T.nilable(::Object), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('optimizedForStreaming') } }
39
+ field :optimized_for_streaming, T.nilable(T.any(::PlexRubySDK::Operations::OptimizedForStreaming1, T::Boolean)), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('optimizedForStreaming') } }
40
40
  # An array of parts for this media item.
41
41
  field :part, T.nilable(T::Array[::PlexRubySDK::Operations::GetAllMediaLibraryPart]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Part') } }
42
42
  # Video codec used.
@@ -52,7 +52,7 @@ module PlexRubySDK
52
52
  field :width, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('width') } }
53
53
 
54
54
 
55
- sig { params(id: ::Integer, aspect_ratio: T.nilable(::Float), audio_channels: T.nilable(::Integer), audio_codec: T.nilable(::String), audio_profile: T.nilable(::String), bitrate: T.nilable(::Integer), container: T.nilable(::String), display_offset: 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(::Object), part: T.nilable(T::Array[::PlexRubySDK::Operations::GetAllMediaLibraryPart]), 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 }
55
+ sig { params(id: ::Integer, aspect_ratio: T.nilable(::Float), audio_channels: T.nilable(::Integer), audio_codec: T.nilable(::String), audio_profile: T.nilable(::String), bitrate: T.nilable(::Integer), container: T.nilable(::String), display_offset: 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(T.any(::PlexRubySDK::Operations::OptimizedForStreaming1, T::Boolean)), part: T.nilable(T::Array[::PlexRubySDK::Operations::GetAllMediaLibraryPart]), 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 }
56
56
  def initialize(id: nil, aspect_ratio: nil, audio_channels: nil, audio_codec: nil, audio_profile: nil, bitrate: nil, container: nil, display_offset: nil, duration: nil, has64bit_offsets: nil, has_voice_activity: nil, height: nil, optimized_for_streaming: nil, part: nil, video_codec: nil, video_frame_rate: nil, video_profile: nil, video_resolution: nil, width: nil)
57
57
  @id = id
58
58
  @aspect_ratio = aspect_ratio
@@ -74,6 +74,30 @@ module PlexRubySDK
74
74
  @video_resolution = video_resolution
75
75
  @width = width
76
76
  end
77
+
78
+ def ==(other)
79
+ return false unless other.is_a? self.class
80
+ return false unless @id == other.id
81
+ return false unless @aspect_ratio == other.aspect_ratio
82
+ return false unless @audio_channels == other.audio_channels
83
+ return false unless @audio_codec == other.audio_codec
84
+ return false unless @audio_profile == other.audio_profile
85
+ return false unless @bitrate == other.bitrate
86
+ return false unless @container == other.container
87
+ return false unless @display_offset == other.display_offset
88
+ return false unless @duration == other.duration
89
+ return false unless @has64bit_offsets == other.has64bit_offsets
90
+ return false unless @has_voice_activity == other.has_voice_activity
91
+ return false unless @height == other.height
92
+ return false unless @optimized_for_streaming == other.optimized_for_streaming
93
+ return false unless @part == other.part
94
+ return false unless @video_codec == other.video_codec
95
+ return false unless @video_frame_rate == other.video_frame_rate
96
+ return false unless @video_profile == other.video_profile
97
+ return false unless @video_resolution == other.video_resolution
98
+ return false unless @width == other.width
99
+ true
100
+ end
77
101
  end
78
102
  end
79
103
  end
@@ -74,6 +74,30 @@ module PlexRubySDK
74
74
  @meta = meta
75
75
  @metadata = metadata
76
76
  end
77
+
78
+ def ==(other)
79
+ return false unless other.is_a? self.class
80
+ return false unless @allow_sync == other.allow_sync
81
+ return false unless @art == other.art
82
+ return false unless @content == other.content
83
+ return false unless @identifier == other.identifier
84
+ return false unless @library_section_id == other.library_section_id
85
+ return false unless @library_section_title == other.library_section_title
86
+ return false unless @media_tag_prefix == other.media_tag_prefix
87
+ return false unless @media_tag_version == other.media_tag_version
88
+ return false unless @nocache == other.nocache
89
+ return false unless @offset == other.offset
90
+ return false unless @size == other.size
91
+ return false unless @thumb == other.thumb
92
+ return false unless @title1 == other.title1
93
+ return false unless @title2 == other.title2
94
+ return false unless @total_size == other.total_size
95
+ return false unless @view_group == other.view_group
96
+ return false unless @library_section_uuid == other.library_section_uuid
97
+ return false unless @meta == other.meta
98
+ return false unless @metadata == other.metadata
99
+ true
100
+ end
77
101
  end
78
102
  end
79
103
  end
@@ -23,6 +23,13 @@ module PlexRubySDK
23
23
  @field_type = field_type
24
24
  @type = type
25
25
  end
26
+
27
+ def ==(other)
28
+ return false unless other.is_a? self.class
29
+ return false unless @field_type == other.field_type
30
+ return false unless @type == other.type
31
+ true
32
+ end
26
33
  end
27
34
  end
28
35
  end