plex_ruby_sdk 0.8.1 → 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 +20 -20
  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 +10 -0
  216. data/lib/plex_ruby_sdk/models/operations/get_media_arts_metadata.rb +10 -0
  217. data/lib/plex_ruby_sdk/models/operations/get_media_arts_request.rb +6 -0
  218. data/lib/plex_ruby_sdk/models/operations/get_media_arts_response.rb +9 -0
  219. data/lib/plex_ruby_sdk/models/operations/get_media_arts_responsebody.rb +6 -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 +10 -0
  248. data/lib/plex_ruby_sdk/models/operations/get_media_posters_metadata.rb +10 -0
  249. data/lib/plex_ruby_sdk/models/operations/get_media_posters_request.rb +6 -0
  250. data/lib/plex_ruby_sdk/models/operations/get_media_posters_response.rb +9 -0
  251. data/lib/plex_ruby_sdk/models/operations/get_media_posters_responsebody.rb +6 -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 +8 -0
  709. data/lib/plex_ruby_sdk/models/operations/post_media_arts_response.rb +8 -0
  710. data/lib/plex_ruby_sdk/models/operations/post_media_poster_request.rb +8 -0
  711. data/lib/plex_ruby_sdk/models/operations/post_media_poster_response.rb +8 -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 +832 -818
  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 +16 -2
@@ -34,6 +34,16 @@ module PlexRubySDK
34
34
  @status = status
35
35
  @token = token
36
36
  end
37
+
38
+ def ==(other)
39
+ return false unless other.is_a? self.class
40
+ return false unless @endpoint == other.endpoint
41
+ return false unless @identifier == other.identifier
42
+ return false unless @secret == other.secret
43
+ return false unless @status == other.status
44
+ return false unless @token == other.token
45
+ true
46
+ end
37
47
  end
38
48
  end
39
49
  end
@@ -25,6 +25,14 @@ module PlexRubySDK
25
25
  @id = id
26
26
  @location = location
27
27
  end
28
+
29
+ def ==(other)
30
+ return false unless other.is_a? self.class
31
+ return false unless @bandwidth == other.bandwidth
32
+ return false unless @id == other.id
33
+ return false unless @location == other.location
34
+ true
35
+ end
28
36
  end
29
37
  end
30
38
  end
@@ -46,6 +46,21 @@ module PlexRubySDK
46
46
  @type = type
47
47
  @value = value
48
48
  end
49
+
50
+ def ==(other)
51
+ return false unless other.is_a? self.class
52
+ return false unless @advanced == other.advanced
53
+ return false unless @default == other.default
54
+ return false unless @enum_values == other.enum_values
55
+ return false unless @group == other.group
56
+ return false unless @hidden == other.hidden
57
+ return false unless @id == other.id
58
+ return false unless @label == other.label
59
+ return false unless @summary == other.summary
60
+ return false unless @type == other.type
61
+ return false unless @value == other.value
62
+ true
63
+ end
49
64
  end
50
65
  end
51
66
  end
@@ -18,6 +18,11 @@ module PlexRubySDK
18
18
 
19
19
 
20
20
  def initialize; end
21
+
22
+ def ==(other)
23
+ return false unless other.is_a? self.class
24
+ true
25
+ end
21
26
  end
22
27
  end
23
28
  end
@@ -18,6 +18,11 @@ module PlexRubySDK
18
18
 
19
19
 
20
20
  def initialize; end
21
+
22
+ def ==(other)
23
+ return false unless other.is_a? self.class
24
+ true
25
+ end
21
26
  end
22
27
  end
23
28
  end
@@ -25,6 +25,14 @@ module PlexRubySDK
25
25
  @id = id
26
26
  @tag = tag
27
27
  end
28
+
29
+ def ==(other)
30
+ return false unless other.is_a? self.class
31
+ return false unless @filter == other.filter
32
+ return false unless @id == other.id
33
+ return false unless @tag == other.tag
34
+ true
35
+ end
28
36
  end
29
37
  end
30
38
  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
@@ -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
@@ -31,6 +31,16 @@ module PlexRubySDK
31
31
  @bad_request = bad_request
32
32
  @unauthorized = unauthorized
33
33
  end
34
+
35
+ def ==(other)
36
+ return false unless other.is_a? self.class
37
+ return false unless @content_type == other.content_type
38
+ return false unless @raw_response == other.raw_response
39
+ return false unless @status_code == other.status_code
40
+ return false unless @bad_request == other.bad_request
41
+ return false unless @unauthorized == other.unauthorized
42
+ true
43
+ end
34
44
  end
35
45
  end
36
46
  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
  @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
@@ -19,6 +19,12 @@ module PlexRubySDK
19
19
  def initialize(task_name: nil)
20
20
  @task_name = task_name
21
21
  end
22
+
23
+ def ==(other)
24
+ return false unless other.is_a? self.class
25
+ return false unless @task_name == other.task_name
26
+ true
27
+ end
22
28
  end
23
29
  end
24
30
  end
@@ -31,6 +31,16 @@ module PlexRubySDK
31
31
  @bad_request = bad_request
32
32
  @unauthorized = unauthorized
33
33
  end
34
+
35
+ def ==(other)
36
+ return false unless other.is_a? self.class
37
+ return false unless @content_type == other.content_type
38
+ return false unless @raw_response == other.raw_response
39
+ return false unless @status_code == other.status_code
40
+ return false unless @bad_request == other.bad_request
41
+ return false unless @unauthorized == other.unauthorized
42
+ true
43
+ end
34
44
  end
35
45
  end
36
46
  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
  @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
@@ -64,6 +64,27 @@ module PlexRubySDK
64
64
  @subtites = subtites
65
65
  @subtitle_size = subtitle_size
66
66
  end
67
+
68
+ def ==(other)
69
+ return false unless other.is_a? self.class
70
+ return false unless @has_mde == other.has_mde
71
+ return false unless @media_index == other.media_index
72
+ return false unless @part_index == other.part_index
73
+ return false unless @path == other.path
74
+ return false unless @protocol == other.protocol
75
+ return false unless @add_debug_overlay == other.add_debug_overlay
76
+ return false unless @audio_boost == other.audio_boost
77
+ return false unless @auto_adjust_quality == other.auto_adjust_quality
78
+ return false unless @direct_play == other.direct_play
79
+ return false unless @direct_stream == other.direct_stream
80
+ return false unless @fast_seek == other.fast_seek
81
+ return false unless @location == other.location
82
+ return false unless @media_buffer_size == other.media_buffer_size
83
+ return false unless @session == other.session
84
+ return false unless @subtites == other.subtites
85
+ return false unless @subtitle_size == other.subtitle_size
86
+ true
87
+ end
67
88
  end
68
89
  end
69
90
  end
@@ -31,6 +31,16 @@ module PlexRubySDK
31
31
  @bad_request = bad_request
32
32
  @unauthorized = unauthorized
33
33
  end
34
+
35
+ def ==(other)
36
+ return false unless other.is_a? self.class
37
+ return false unless @content_type == other.content_type
38
+ return false unless @raw_response == other.raw_response
39
+ return false unless @status_code == other.status_code
40
+ return false unless @bad_request == other.bad_request
41
+ return false unless @unauthorized == other.unauthorized
42
+ true
43
+ end
34
44
  end
35
45
  end
36
46
  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
@@ -34,6 +34,17 @@ module PlexRubySDK
34
34
  @lan = lan
35
35
  @timespan = timespan
36
36
  end
37
+
38
+ def ==(other)
39
+ return false unless other.is_a? self.class
40
+ return false unless @account_id == other.account_id
41
+ return false unless @at == other.at
42
+ return false unless @bytes == other.bytes
43
+ return false unless @device_id == other.device_id
44
+ return false unless @lan == other.lan
45
+ return false unless @timespan == other.timespan
46
+ true
47
+ end
37
48
  end
38
49
  end
39
50
  end
@@ -37,6 +37,18 @@ module PlexRubySDK
37
37
  @metadata_type = metadata_type
38
38
  @timespan = timespan
39
39
  end
40
+
41
+ def ==(other)
42
+ return false unless other.is_a? self.class
43
+ return false unless @account_id == other.account_id
44
+ return false unless @at == other.at
45
+ return false unless @count == other.count
46
+ return false unless @device_id == other.device_id
47
+ return false unless @duration == other.duration
48
+ return false unless @metadata_type == other.metadata_type
49
+ return false unless @timespan == other.timespan
50
+ true
51
+ end
40
52
  end
41
53
  end
42
54
  end
@@ -34,6 +34,17 @@ module PlexRubySDK
34
34
  @process_memory_utilization = process_memory_utilization
35
35
  @timespan = timespan
36
36
  end
37
+
38
+ def ==(other)
39
+ return false unless other.is_a? self.class
40
+ return false unless @at == other.at
41
+ return false unless @host_cpu_utilization == other.host_cpu_utilization
42
+ return false unless @host_memory_utilization == other.host_memory_utilization
43
+ return false unless @process_cpu_utilization == other.process_cpu_utilization
44
+ return false unless @process_memory_utilization == other.process_memory_utilization
45
+ return false unless @timespan == other.timespan
46
+ true
47
+ end
37
48
  end
38
49
  end
39
50
  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
@@ -31,6 +31,16 @@ module PlexRubySDK
31
31
  @bad_request = bad_request
32
32
  @unauthorized = unauthorized
33
33
  end
34
+
35
+ def ==(other)
36
+ return false unless other.is_a? self.class
37
+ return false unless @content_type == other.content_type
38
+ return false unless @raw_response == other.raw_response
39
+ return false unless @status_code == other.status_code
40
+ return false unless @bad_request == other.bad_request
41
+ return false unless @unauthorized == other.unauthorized
42
+ true
43
+ end
34
44
  end
35
45
  end
36
46
  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
  @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
@@ -19,6 +19,12 @@ module PlexRubySDK
19
19
  def initialize(task_name: nil)
20
20
  @task_name = task_name
21
21
  end
22
+
23
+ def ==(other)
24
+ return false unless other.is_a? self.class
25
+ return false unless @task_name == other.task_name
26
+ true
27
+ end
22
28
  end
23
29
  end
24
30
  end
@@ -31,6 +31,16 @@ module PlexRubySDK
31
31
  @bad_request = bad_request
32
32
  @unauthorized = unauthorized
33
33
  end
34
+
35
+ def ==(other)
36
+ return false unless other.is_a? self.class
37
+ return false unless @content_type == other.content_type
38
+ return false unless @raw_response == other.raw_response
39
+ return false unless @status_code == other.status_code
40
+ return false unless @bad_request == other.bad_request
41
+ return false unless @unauthorized == other.unauthorized
42
+ true
43
+ end
34
44
  end
35
45
  end
36
46
  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
  @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
@@ -19,6 +19,12 @@ module PlexRubySDK
19
19
  def initialize(session_key: nil)
20
20
  @session_key = session_key
21
21
  end
22
+
23
+ def ==(other)
24
+ return false unless other.is_a? self.class
25
+ return false unless @session_key == other.session_key
26
+ true
27
+ end
22
28
  end
23
29
  end
24
30
  end