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
@@ -209,6 +209,75 @@ module PlexRubySDK
209
209
  @writer = writer
210
210
  @year = year
211
211
  end
212
+
213
+ def ==(other)
214
+ return false unless other.is_a? self.class
215
+ return false unless @added_at == other.added_at
216
+ return false unless @art == other.art
217
+ return false unless @audience_rating == other.audience_rating
218
+ return false unless @child_count == other.child_count
219
+ return false unless @duration == other.duration
220
+ return false unless @guid == other.guid
221
+ return false unless @index == other.index
222
+ return false unless @key == other.key
223
+ return false unless @originally_available_at == other.originally_available_at
224
+ return false unless @rating == other.rating
225
+ return false unless @rating_key == other.rating_key
226
+ return false unless @season_count == other.season_count
227
+ return false unless @slug == other.slug
228
+ return false unless @summary == other.summary
229
+ return false unless @tagline == other.tagline
230
+ return false unless @theme == other.theme
231
+ return false unless @thumb == other.thumb
232
+ return false unless @title == other.title
233
+ return false unless @title_sort == other.title_sort
234
+ return false unless @type == other.type
235
+ return false unless @audience_rating_image == other.audience_rating_image
236
+ return false unless @chapter_source == other.chapter_source
237
+ return false unless @collection == other.collection
238
+ return false unless @content_rating == other.content_rating
239
+ return false unless @country == other.country
240
+ return false unless @created_at_accuracy == other.created_at_accuracy
241
+ return false unless @created_at_tz_offset == other.created_at_tz_offset
242
+ return false unless @director == other.director
243
+ return false unless @genre == other.genre
244
+ return false unless @grandparent_art == other.grandparent_art
245
+ return false unless @grandparent_guid == other.grandparent_guid
246
+ return false unless @grandparent_key == other.grandparent_key
247
+ return false unless @grandparent_rating_key == other.grandparent_rating_key
248
+ return false unless @grandparent_slug == other.grandparent_slug
249
+ return false unless @grandparent_theme == other.grandparent_theme
250
+ return false unless @grandparent_thumb == other.grandparent_thumb
251
+ return false unless @grandparent_title == other.grandparent_title
252
+ return false unless @guids == other.guids
253
+ return false unless @image == other.image
254
+ return false unless @last_rated_at == other.last_rated_at
255
+ return false unless @last_viewed_at == other.last_viewed_at
256
+ return false unless @leaf_count == other.leaf_count
257
+ return false unless @media == other.media
258
+ return false unless @original_title == other.original_title
259
+ return false unless @parent_guid == other.parent_guid
260
+ return false unless @parent_index == other.parent_index
261
+ return false unless @parent_key == other.parent_key
262
+ return false unless @parent_rating_key == other.parent_rating_key
263
+ return false unless @parent_thumb == other.parent_thumb
264
+ return false unless @parent_title == other.parent_title
265
+ return false unless @primary_extra_key == other.primary_extra_key
266
+ return false unless @rating_image == other.rating_image
267
+ return false unless @role == other.role
268
+ return false unless @skip_count == other.skip_count
269
+ return false unless @studio == other.studio
270
+ return false unless @subtype == other.subtype
271
+ return false unless @ultra_blur_colors == other.ultra_blur_colors
272
+ return false unless @updated_at == other.updated_at
273
+ return false unless @user_rating == other.user_rating
274
+ return false unless @view_count == other.view_count
275
+ return false unless @viewed_leaf_count == other.viewed_leaf_count
276
+ return false unless @view_offset == other.view_offset
277
+ return false unless @writer == other.writer
278
+ return false unless @year == other.year
279
+ true
280
+ end
212
281
  end
213
282
  end
214
283
  end
@@ -22,6 +22,13 @@ module PlexRubySDK
22
22
  @key = key
23
23
  @title = title
24
24
  end
25
+
26
+ def ==(other)
27
+ return false unless other.is_a? self.class
28
+ return false unless @key == other.key
29
+ return false unless @title == other.title
30
+ true
31
+ end
25
32
  end
26
33
  end
27
34
  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 GetAllMediaLibraryOptimizedForStreaming < ::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
@@ -0,0 +1,18 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+
11
+ class GetAllMediaLibraryOptimizedForStreaming1 < T::Enum
12
+ enums do
13
+ ZERO = new(0)
14
+ ONE = new(1)
15
+ end
16
+ end
17
+ end
18
+ end
@@ -36,7 +36,7 @@ module PlexRubySDK
36
36
 
37
37
  field :indexes, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('indexes') } }
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::GetAllMediaLibraryOptimizedForStreaming1, T::Boolean)), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('optimizedForStreaming') } }
40
40
 
41
41
  field :packet_length, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('packetLength') } }
42
42
  # An array of streams for this part.
@@ -45,7 +45,7 @@ module PlexRubySDK
45
45
  field :video_profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoProfile') } }
46
46
 
47
47
 
48
- sig { params(file: ::String, id: ::Integer, key: ::String, size: ::Integer, accessible: T.nilable(T::Boolean), audio_profile: T.nilable(::String), container: T.nilable(::String), duration: T.nilable(::Integer), exists: T.nilable(T::Boolean), has64bit_offsets: T.nilable(T::Boolean), has_thumbnail: T.nilable(::PlexRubySDK::Operations::GetAllMediaLibraryHasThumbnail), indexes: T.nilable(::String), optimized_for_streaming: T.nilable(::Object), packet_length: T.nilable(::Integer), stream: T.nilable(T::Array[::PlexRubySDK::Operations::GetAllMediaLibraryStream]), video_profile: T.nilable(::String)).void }
48
+ sig { params(file: ::String, id: ::Integer, key: ::String, size: ::Integer, accessible: T.nilable(T::Boolean), audio_profile: T.nilable(::String), container: T.nilable(::String), duration: T.nilable(::Integer), exists: T.nilable(T::Boolean), has64bit_offsets: T.nilable(T::Boolean), has_thumbnail: T.nilable(::PlexRubySDK::Operations::GetAllMediaLibraryHasThumbnail), indexes: T.nilable(::String), optimized_for_streaming: T.nilable(T.any(::PlexRubySDK::Operations::GetAllMediaLibraryOptimizedForStreaming1, T::Boolean)), packet_length: T.nilable(::Integer), stream: T.nilable(T::Array[::PlexRubySDK::Operations::GetAllMediaLibraryStream]), video_profile: T.nilable(::String)).void }
49
49
  def initialize(file: nil, id: nil, key: nil, size: nil, accessible: nil, audio_profile: nil, container: nil, duration: nil, exists: nil, has64bit_offsets: nil, has_thumbnail: nil, indexes: nil, optimized_for_streaming: nil, packet_length: nil, stream: nil, video_profile: nil)
50
50
  @file = file
51
51
  @id = id
@@ -64,6 +64,27 @@ module PlexRubySDK
64
64
  @stream = stream
65
65
  @video_profile = video_profile
66
66
  end
67
+
68
+ def ==(other)
69
+ return false unless other.is_a? self.class
70
+ return false unless @file == other.file
71
+ return false unless @id == other.id
72
+ return false unless @key == other.key
73
+ return false unless @size == other.size
74
+ return false unless @accessible == other.accessible
75
+ return false unless @audio_profile == other.audio_profile
76
+ return false unless @container == other.container
77
+ return false unless @duration == other.duration
78
+ return false unless @exists == other.exists
79
+ return false unless @has64bit_offsets == other.has64bit_offsets
80
+ return false unless @has_thumbnail == other.has_thumbnail
81
+ return false unless @indexes == other.indexes
82
+ return false unless @optimized_for_streaming == other.optimized_for_streaming
83
+ return false unless @packet_length == other.packet_length
84
+ return false unless @stream == other.stream
85
+ return false unless @video_profile == other.video_profile
86
+ true
87
+ end
67
88
  end
68
89
  end
69
90
  end
@@ -59,6 +59,20 @@ module PlexRubySDK
59
59
  @x_plex_container_size = x_plex_container_size
60
60
  @x_plex_container_start = x_plex_container_start
61
61
  end
62
+
63
+ def ==(other)
64
+ return false unless other.is_a? self.class
65
+ return false unless @section_key == other.section_key
66
+ return false unless @type == other.type
67
+ return false unless @include_advanced == other.include_advanced
68
+ return false unless @include_collections == other.include_collections
69
+ return false unless @include_external_media == other.include_external_media
70
+ return false unless @include_guids == other.include_guids
71
+ return false unless @include_meta == other.include_meta
72
+ return false unless @x_plex_container_size == other.x_plex_container_size
73
+ return false unless @x_plex_container_start == other.x_plex_container_start
74
+ true
75
+ end
62
76
  end
63
77
  end
64
78
  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
@@ -19,6 +19,12 @@ module PlexRubySDK
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
@@ -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
@@ -42,6 +42,19 @@ module PlexRubySDK
42
42
  @desc_key = desc_key
43
43
  @first_character_key = first_character_key
44
44
  end
45
+
46
+ def ==(other)
47
+ return false unless other.is_a? self.class
48
+ return false unless @default_direction == other.default_direction
49
+ return false unless @key == other.key
50
+ return false unless @title == other.title
51
+ return false unless @active == other.active
52
+ return false unless @active_direction == other.active_direction
53
+ return false unless @default == other.default
54
+ return false unless @desc_key == other.desc_key
55
+ return false unless @first_character_key == other.first_character_key
56
+ true
57
+ end
45
58
  end
46
59
  end
47
60
  end
@@ -163,6 +163,60 @@ module PlexRubySDK
163
163
  @title = title
164
164
  @width = width
165
165
  end
166
+
167
+ def ==(other)
168
+ return false unless other.is_a? self.class
169
+ return false unless @codec == other.codec
170
+ return false unless @display_title == other.display_title
171
+ return false unless @extended_display_title == other.extended_display_title
172
+ return false unless @id == other.id
173
+ return false unless @index == other.index
174
+ return false unless @stream_type == other.stream_type
175
+ return false unless @audio_channel_layout == other.audio_channel_layout
176
+ return false unless @bit_depth == other.bit_depth
177
+ return false unless @bitrate == other.bitrate
178
+ return false unless @can_auto_sync == other.can_auto_sync
179
+ return false unless @channels == other.channels
180
+ return false unless @chroma_location == other.chroma_location
181
+ return false unless @chroma_subsampling == other.chroma_subsampling
182
+ return false unless @closed_captions == other.closed_captions
183
+ return false unless @coded_height == other.coded_height
184
+ return false unless @coded_width == other.coded_width
185
+ return false unless @color_primaries == other.color_primaries
186
+ return false unless @color_range == other.color_range
187
+ return false unless @color_space == other.color_space
188
+ return false unless @color_trc == other.color_trc
189
+ return false unless @default == other.default
190
+ return false unless @dovibl_compat_id == other.dovibl_compat_id
191
+ return false unless @dovibl_present == other.dovibl_present
192
+ return false unless @doviel_present == other.doviel_present
193
+ return false unless @dovi_level == other.dovi_level
194
+ return false unless @dovi_present == other.dovi_present
195
+ return false unless @dovi_profile == other.dovi_profile
196
+ return false unless @dovirpu_present == other.dovirpu_present
197
+ return false unless @dovi_version == other.dovi_version
198
+ return false unless @dub == other.dub
199
+ return false unless @embedded_in_video == other.embedded_in_video
200
+ return false unless @forced == other.forced
201
+ return false unless @frame_rate == other.frame_rate
202
+ return false unless @has_scaling_matrix == other.has_scaling_matrix
203
+ return false unless @header_compression == other.header_compression
204
+ return false unless @hearing_impaired == other.hearing_impaired
205
+ return false unless @height == other.height
206
+ return false unless @language == other.language
207
+ return false unless @language_code == other.language_code
208
+ return false unless @language_tag == other.language_tag
209
+ return false unless @level == other.level
210
+ return false unless @original == other.original
211
+ return false unless @profile == other.profile
212
+ return false unless @ref_frames == other.ref_frames
213
+ return false unless @sampling_rate == other.sampling_rate
214
+ return false unless @scan_type == other.scan_type
215
+ return false unless @selected == other.selected
216
+ return false unless @title == other.title
217
+ return false unless @width == other.width
218
+ true
219
+ end
166
220
  end
167
221
  end
168
222
  end
@@ -40,6 +40,19 @@ module PlexRubySDK
40
40
  @sort = sort
41
41
  @subtype = subtype
42
42
  end
43
+
44
+ def ==(other)
45
+ return false unless other.is_a? self.class
46
+ return false unless @active == other.active
47
+ return false unless @key == other.key
48
+ return false unless @title == other.title
49
+ return false unless @type == other.type
50
+ return false unless @field == other.field
51
+ return false unless @filter == other.filter
52
+ return false unless @sort == other.sort
53
+ return false unless @subtype == other.subtype
54
+ true
55
+ end
43
56
  end
44
57
  end
45
58
  end
@@ -28,6 +28,15 @@ module PlexRubySDK
28
28
  @top_left = top_left
29
29
  @top_right = top_right
30
30
  end
31
+
32
+ def ==(other)
33
+ return false unless other.is_a? self.class
34
+ return false unless @bottom_left == other.bottom_left
35
+ return false unless @bottom_right == other.bottom_right
36
+ return false unless @top_left == other.top_left
37
+ return false unless @top_right == other.top_right
38
+ true
39
+ end
31
40
  end
32
41
  end
33
42
  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(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
@@ -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
@@ -34,6 +34,17 @@ module PlexRubySDK
34
34
  @width = width
35
35
  @x_plex_token = x_plex_token
36
36
  end
37
+
38
+ def ==(other)
39
+ return false unless other.is_a? self.class
40
+ return false unless @height == other.height
41
+ return false unless @min_size == other.min_size
42
+ return false unless @rating_key == other.rating_key
43
+ return false unless @upscale == other.upscale
44
+ return false unless @width == other.width
45
+ return false unless @x_plex_token == other.x_plex_token
46
+ true
47
+ end
37
48
  end
38
49
  end
39
50
  end
@@ -37,6 +37,18 @@ module PlexRubySDK
37
37
  @bytes = bytes
38
38
  @unauthorized = unauthorized
39
39
  end
40
+
41
+ def ==(other)
42
+ return false unless other.is_a? self.class
43
+ return false unless @content_type == other.content_type
44
+ return false unless @headers == other.headers
45
+ return false unless @raw_response == other.raw_response
46
+ return false unless @status_code == other.status_code
47
+ return false unless @bad_request == other.bad_request
48
+ return false unless @bytes == other.bytes
49
+ return false unless @unauthorized == other.unauthorized
50
+ true
51
+ end
40
52
  end
41
53
  end
42
54
  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
@@ -25,6 +25,14 @@ module PlexRubySDK
25
25
  @key = key
26
26
  @title = title
27
27
  end
28
+
29
+ def ==(other)
30
+ return false unless other.is_a? self.class
31
+ return false unless @fast_key == other.fast_key
32
+ return false unless @key == other.key
33
+ return false unless @title == other.title
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
@@ -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
@@ -55,6 +55,24 @@ module PlexRubySDK
55
55
  @view_group = view_group
56
56
  @directory = directory
57
57
  end
58
+
59
+ def ==(other)
60
+ return false unless other.is_a? self.class
61
+ return false unless @allow_sync == other.allow_sync
62
+ return false unless @art == other.art
63
+ return false unless @content == other.content
64
+ return false unless @identifier == other.identifier
65
+ return false unless @media_tag_prefix == other.media_tag_prefix
66
+ return false unless @media_tag_version == other.media_tag_version
67
+ return false unless @nocache == other.nocache
68
+ return false unless @size == other.size
69
+ return false unless @thumb == other.thumb
70
+ return false unless @title1 == other.title1
71
+ return false unless @title2 == other.title2
72
+ return false unless @view_group == other.view_group
73
+ return false unless @directory == other.directory
74
+ true
75
+ end
58
76
  end
59
77
  end
60
78
  end
@@ -30,6 +30,13 @@ module PlexRubySDK
30
30
  @section_key = section_key
31
31
  @type = type
32
32
  end
33
+
34
+ def ==(other)
35
+ return false unless other.is_a? self.class
36
+ return false unless @section_key == other.section_key
37
+ return false unless @type == other.type
38
+ true
39
+ end
33
40
  end
34
41
  end
35
42
  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
@@ -19,6 +19,12 @@ module PlexRubySDK
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
@@ -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