plex_ruby_sdk 0.11.1 → 0.12.1

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 (24) hide show
  1. checksums.yaml +4 -4
  2. data/lib/plex_ruby_sdk/models/operations/attributes.rb +37 -0
  3. data/lib/plex_ruby_sdk/models/operations/chapter.rb +53 -0
  4. data/lib/plex_ruby_sdk/models/operations/extras.rb +33 -0
  5. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_stream.rb +20 -8
  6. data/lib/plex_ruby_sdk/models/operations/get_all_media_library_streamtype.rb +25 -0
  7. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_country.rb +9 -9
  8. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_director.rb +8 -12
  9. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_genre.rb +5 -4
  10. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_image.rb +5 -5
  11. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_library_type.rb +22 -0
  12. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_metadata.rb +144 -95
  13. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_role.rb +11 -11
  14. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_stream.rb +20 -8
  15. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_streamtype.rb +25 -0
  16. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_type.rb +25 -0
  17. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_ultrablurcolors.rb +4 -4
  18. data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_writer.rb +8 -12
  19. data/lib/plex_ruby_sdk/models/operations/marker.rb +53 -0
  20. data/lib/plex_ruby_sdk/models/operations/stream.rb +20 -8
  21. data/lib/plex_ruby_sdk/models/operations/streamtype.rb +25 -0
  22. data/lib/plex_ruby_sdk/models/operations.rb +9 -0
  23. data/lib/plex_ruby_sdk/sdkconfiguration.rb +3 -3
  24. metadata +11 -2
@@ -13,13 +13,13 @@ module PlexRubySDK
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
15
15
 
16
- # The bottom-left color value.
16
+
17
17
  field :bottom_left, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bottomLeft') } }
18
- # The bottom-right color value.
18
+
19
19
  field :bottom_right, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bottomRight') } }
20
- # The top-left color value.
20
+
21
21
  field :top_left, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('topLeft') } }
22
- # The top-right color value.
22
+
23
23
  field :top_right, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('topRight') } }
24
24
 
25
25
 
@@ -13,27 +13,24 @@ module PlexRubySDK
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
15
15
 
16
- # The filter string for the role.
16
+ # The filter string used to query this writer.
17
17
  field :filter, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('filter') } }
18
- # The unique role identifier.
18
+ # Unique identifier for the writer.
19
19
  field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
20
- # The actor's name.
20
+ # The role of Writer
21
21
  field :tag, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tag') } }
22
- # A key associated with the actor tag.
23
- field :tag_key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tagKey') } }
24
- # The character name or role.
25
- field :role, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('role') } }
26
- # URL for the role thumbnail image.
22
+ # A unique key associated with the writers tag, used for internal identification.
23
+ field :tag_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tagKey') } }
24
+ # The URL of the thumbnail image for the writer.
27
25
  field :thumb, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('thumb') } }
28
26
 
29
27
 
30
- sig { params(filter: ::String, id: ::Integer, tag: ::String, tag_key: ::String, role: T.nilable(::String), thumb: T.nilable(::String)).void }
31
- def initialize(filter: nil, id: nil, tag: nil, tag_key: nil, role: nil, thumb: nil)
28
+ sig { params(filter: ::String, id: ::Integer, tag: ::String, tag_key: T.nilable(::String), thumb: T.nilable(::String)).void }
29
+ def initialize(filter: nil, id: nil, tag: nil, tag_key: nil, thumb: nil)
32
30
  @filter = filter
33
31
  @id = id
34
32
  @tag = tag
35
33
  @tag_key = tag_key
36
- @role = role
37
34
  @thumb = thumb
38
35
  end
39
36
 
@@ -43,7 +40,6 @@ module PlexRubySDK
43
40
  return false unless @id == other.id
44
41
  return false unless @tag == other.tag
45
42
  return false unless @tag_key == other.tag_key
46
- return false unless @role == other.role
47
43
  return false unless @thumb == other.thumb
48
44
  true
49
45
  end
@@ -0,0 +1,53 @@
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 Models
9
+ module Operations
10
+
11
+ # The final status of the marker
12
+ class Marker
13
+ extend T::Sig
14
+ include Crystalline::MetadataFields
15
+
16
+
17
+ field :end_time_offset, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('endTimeOffset') } }
18
+
19
+ field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
20
+
21
+ field :start_time_offset, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('startTimeOffset') } }
22
+
23
+ field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
24
+ # Attributes associated with the marker.
25
+ field :attributes, T.nilable(Models::Operations::Attributes), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Attributes') } }
26
+
27
+ field :final, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('final') } }
28
+
29
+
30
+ sig { params(end_time_offset: ::Integer, id: ::Integer, start_time_offset: ::Integer, type: ::String, attributes: T.nilable(Models::Operations::Attributes), final: T.nilable(T::Boolean)).void }
31
+ def initialize(end_time_offset: nil, id: nil, start_time_offset: nil, type: nil, attributes: nil, final: nil)
32
+ @end_time_offset = end_time_offset
33
+ @id = id
34
+ @start_time_offset = start_time_offset
35
+ @type = type
36
+ @attributes = attributes
37
+ @final = final
38
+ end
39
+
40
+ def ==(other)
41
+ return false unless other.is_a? self.class
42
+ return false unless @end_time_offset == other.end_time_offset
43
+ return false unless @id == other.id
44
+ return false unless @start_time_offset == other.start_time_offset
45
+ return false unless @type == other.type
46
+ return false unless @attributes == other.attributes
47
+ return false unless @final == other.final
48
+ true
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -21,10 +21,12 @@ module PlexRubySDK
21
21
  field :extended_display_title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('extendedDisplayTitle') } }
22
22
  # Unique stream identifier.
23
23
  field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
24
- # Index of the stream.
25
- field :index, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('index') } }
26
- # Stream type (1=video, 2=audio, 3=subtitle).
27
- field :stream_type, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('streamType') } }
24
+ # Stream type:
25
+ # - 1 = video
26
+ # - 2 = audio
27
+ # - 3 = subtitle
28
+ #
29
+ field :stream_type, Models::Operations::StreamType, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('streamType'), 'decoder': Utils.enum_from_string(Models::Operations::StreamType, false) } }
28
30
  # Audio channel layout.
29
31
  field :audio_channel_layout, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioChannelLayout') } }
30
32
  # Bit depth of the video stream.
@@ -77,6 +79,8 @@ module PlexRubySDK
77
79
  field :embedded_in_video, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('embeddedInVideo') } }
78
80
 
79
81
  field :forced, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('forced') } }
82
+ # Format of the stream (e.g., srt).
83
+ field :format, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('format') } }
80
84
  # Frame rate of the stream.
81
85
  field :frame_rate, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('frameRate') } }
82
86
 
@@ -87,6 +91,10 @@ module PlexRubySDK
87
91
  field :hearing_impaired, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hearingImpaired') } }
88
92
  # Height of the video stream.
89
93
  field :height, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('height') } }
94
+ # Index of the stream.
95
+ field :index, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('index') } }
96
+ # Key to access this stream part.
97
+ field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
90
98
  # Language of the stream.
91
99
  field :language, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('language') } }
92
100
  # ISO language code.
@@ -113,13 +121,12 @@ module PlexRubySDK
113
121
  field :width, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('width') } }
114
122
 
115
123
 
116
- sig { params(codec: ::String, display_title: ::String, extended_display_title: ::String, id: ::Integer, index: ::Integer, stream_type: ::Integer, audio_channel_layout: T.nilable(::String), bit_depth: T.nilable(::Integer), bitrate: T.nilable(::Integer), can_auto_sync: T.nilable(T::Boolean), channels: T.nilable(::Integer), chroma_location: T.nilable(::String), chroma_subsampling: T.nilable(::String), closed_captions: T.nilable(T::Boolean), coded_height: T.nilable(::Integer), coded_width: T.nilable(::Integer), color_primaries: T.nilable(::String), color_range: T.nilable(::String), color_space: T.nilable(::String), color_trc: T.nilable(::String), default: T.nilable(T::Boolean), dovibl_compat_id: T.nilable(::Integer), dovibl_present: T.nilable(T::Boolean), doviel_present: T.nilable(T::Boolean), dovi_level: T.nilable(::Integer), dovi_present: T.nilable(T::Boolean), dovi_profile: T.nilable(::Integer), dovirpu_present: T.nilable(T::Boolean), dovi_version: T.nilable(::String), dub: T.nilable(T::Boolean), embedded_in_video: T.nilable(::String), forced: T.nilable(T::Boolean), frame_rate: T.nilable(::Float), has_scaling_matrix: T.nilable(T::Boolean), header_compression: T.nilable(T::Boolean), hearing_impaired: T.nilable(T::Boolean), height: T.nilable(::Integer), language: T.nilable(::String), language_code: T.nilable(::String), language_tag: T.nilable(::String), level: T.nilable(::Integer), original: T.nilable(T::Boolean), profile: T.nilable(::String), ref_frames: T.nilable(::Integer), sampling_rate: T.nilable(::Integer), scan_type: T.nilable(::String), selected: T.nilable(T::Boolean), title: T.nilable(::String), width: T.nilable(::Integer)).void }
117
- def initialize(codec: nil, display_title: nil, extended_display_title: nil, id: nil, index: nil, stream_type: nil, audio_channel_layout: nil, bit_depth: nil, bitrate: nil, can_auto_sync: nil, channels: nil, chroma_location: nil, chroma_subsampling: nil, closed_captions: nil, coded_height: nil, coded_width: nil, color_primaries: nil, color_range: nil, color_space: nil, color_trc: nil, default: nil, dovibl_compat_id: nil, dovibl_present: nil, doviel_present: nil, dovi_level: nil, dovi_present: nil, dovi_profile: nil, dovirpu_present: nil, dovi_version: nil, dub: nil, embedded_in_video: nil, forced: nil, frame_rate: nil, has_scaling_matrix: nil, header_compression: nil, hearing_impaired: nil, height: nil, language: nil, language_code: nil, language_tag: nil, level: nil, original: nil, profile: nil, ref_frames: nil, sampling_rate: nil, scan_type: nil, selected: nil, title: nil, width: nil)
124
+ sig { params(codec: ::String, display_title: ::String, extended_display_title: ::String, id: ::Integer, stream_type: Models::Operations::StreamType, audio_channel_layout: T.nilable(::String), bit_depth: T.nilable(::Integer), bitrate: T.nilable(::Integer), can_auto_sync: T.nilable(T::Boolean), channels: T.nilable(::Integer), chroma_location: T.nilable(::String), chroma_subsampling: T.nilable(::String), closed_captions: T.nilable(T::Boolean), coded_height: T.nilable(::Integer), coded_width: T.nilable(::Integer), color_primaries: T.nilable(::String), color_range: T.nilable(::String), color_space: T.nilable(::String), color_trc: T.nilable(::String), default: T.nilable(T::Boolean), dovibl_compat_id: T.nilable(::Integer), dovibl_present: T.nilable(T::Boolean), doviel_present: T.nilable(T::Boolean), dovi_level: T.nilable(::Integer), dovi_present: T.nilable(T::Boolean), dovi_profile: T.nilable(::Integer), dovirpu_present: T.nilable(T::Boolean), dovi_version: T.nilable(::String), dub: T.nilable(T::Boolean), embedded_in_video: T.nilable(::String), forced: T.nilable(T::Boolean), format: T.nilable(::String), frame_rate: T.nilable(::Float), has_scaling_matrix: T.nilable(T::Boolean), header_compression: T.nilable(T::Boolean), hearing_impaired: T.nilable(T::Boolean), height: T.nilable(::Integer), index: T.nilable(::Integer), key: T.nilable(::String), language: T.nilable(::String), language_code: T.nilable(::String), language_tag: T.nilable(::String), level: T.nilable(::Integer), original: T.nilable(T::Boolean), profile: T.nilable(::String), ref_frames: T.nilable(::Integer), sampling_rate: T.nilable(::Integer), scan_type: T.nilable(::String), selected: T.nilable(T::Boolean), title: T.nilable(::String), width: T.nilable(::Integer)).void }
125
+ def initialize(codec: nil, display_title: nil, extended_display_title: nil, id: nil, stream_type: nil, audio_channel_layout: nil, bit_depth: nil, bitrate: nil, can_auto_sync: nil, channels: nil, chroma_location: nil, chroma_subsampling: nil, closed_captions: nil, coded_height: nil, coded_width: nil, color_primaries: nil, color_range: nil, color_space: nil, color_trc: nil, default: nil, dovibl_compat_id: nil, dovibl_present: nil, doviel_present: nil, dovi_level: nil, dovi_present: nil, dovi_profile: nil, dovirpu_present: nil, dovi_version: nil, dub: nil, embedded_in_video: nil, forced: nil, format: nil, frame_rate: nil, has_scaling_matrix: nil, header_compression: nil, hearing_impaired: nil, height: nil, index: nil, key: nil, language: nil, language_code: nil, language_tag: nil, level: nil, original: nil, profile: nil, ref_frames: nil, sampling_rate: nil, scan_type: nil, selected: nil, title: nil, width: nil)
118
126
  @codec = codec
119
127
  @display_title = display_title
120
128
  @extended_display_title = extended_display_title
121
129
  @id = id
122
- @index = index
123
130
  @stream_type = stream_type
124
131
  @audio_channel_layout = audio_channel_layout
125
132
  @bit_depth = bit_depth
@@ -147,11 +154,14 @@ module PlexRubySDK
147
154
  @dub = dub
148
155
  @embedded_in_video = embedded_in_video
149
156
  @forced = forced
157
+ @format = format
150
158
  @frame_rate = frame_rate
151
159
  @has_scaling_matrix = has_scaling_matrix
152
160
  @header_compression = header_compression
153
161
  @hearing_impaired = hearing_impaired
154
162
  @height = height
163
+ @index = index
164
+ @key = key
155
165
  @language = language
156
166
  @language_code = language_code
157
167
  @language_tag = language_tag
@@ -172,7 +182,6 @@ module PlexRubySDK
172
182
  return false unless @display_title == other.display_title
173
183
  return false unless @extended_display_title == other.extended_display_title
174
184
  return false unless @id == other.id
175
- return false unless @index == other.index
176
185
  return false unless @stream_type == other.stream_type
177
186
  return false unless @audio_channel_layout == other.audio_channel_layout
178
187
  return false unless @bit_depth == other.bit_depth
@@ -200,11 +209,14 @@ module PlexRubySDK
200
209
  return false unless @dub == other.dub
201
210
  return false unless @embedded_in_video == other.embedded_in_video
202
211
  return false unless @forced == other.forced
212
+ return false unless @format == other.format
203
213
  return false unless @frame_rate == other.frame_rate
204
214
  return false unless @has_scaling_matrix == other.has_scaling_matrix
205
215
  return false unless @header_compression == other.header_compression
206
216
  return false unless @hearing_impaired == other.hearing_impaired
207
217
  return false unless @height == other.height
218
+ return false unless @index == other.index
219
+ return false unless @key == other.key
208
220
  return false unless @language == other.language
209
221
  return false unless @language_code == other.language_code
210
222
  return false unless @language_tag == other.language_tag
@@ -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 Models
9
+ module Operations
10
+
11
+ # StreamType - Stream type:
12
+ # - 1 = video
13
+ # - 2 = audio
14
+ # - 3 = subtitle
15
+ #
16
+ class StreamType < T::Enum
17
+ enums do
18
+ VIDEO = new(1)
19
+ AUDIO = new(2)
20
+ SUBTITLE = new(3)
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -10,14 +10,17 @@ module PlexRubySDK
10
10
  autoload :Account, 'plex_ruby_sdk/models/operations/account.rb'
11
11
  autoload :Action, 'plex_ruby_sdk/models/operations/action.rb'
12
12
  autoload :Activity, 'plex_ruby_sdk/models/operations/activity.rb'
13
+ autoload :Attributes, 'plex_ruby_sdk/models/operations/attributes.rb'
13
14
  autoload :ButlerTask, 'plex_ruby_sdk/models/operations/butlertask.rb'
14
15
  autoload :ButlerTasks, 'plex_ruby_sdk/models/operations/butlertasks.rb'
16
+ autoload :Chapter, 'plex_ruby_sdk/models/operations/chapter.rb'
15
17
  autoload :Collection, 'plex_ruby_sdk/models/operations/collection.rb'
16
18
  autoload :Context, 'plex_ruby_sdk/models/operations/context.rb'
17
19
  autoload :Country, 'plex_ruby_sdk/models/operations/country.rb'
18
20
  autoload :Device, 'plex_ruby_sdk/models/operations/device.rb'
19
21
  autoload :Director, 'plex_ruby_sdk/models/operations/director.rb'
20
22
  autoload :Directory, 'plex_ruby_sdk/models/operations/directory.rb'
23
+ autoload :Extras, 'plex_ruby_sdk/models/operations/extras.rb'
21
24
  autoload :Feature, 'plex_ruby_sdk/models/operations/feature.rb'
22
25
  autoload :Field, 'plex_ruby_sdk/models/operations/field.rb'
23
26
  autoload :FieldType, 'plex_ruby_sdk/models/operations/fieldtype.rb'
@@ -27,6 +30,7 @@ module PlexRubySDK
27
30
  autoload :Hub, 'plex_ruby_sdk/models/operations/hub.rb'
28
31
  autoload :Image, 'plex_ruby_sdk/models/operations/image.rb'
29
32
  autoload :Location, 'plex_ruby_sdk/models/operations/location.rb'
33
+ autoload :Marker, 'plex_ruby_sdk/models/operations/marker.rb'
30
34
  autoload :Media, 'plex_ruby_sdk/models/operations/media.rb'
31
35
  autoload :MediaContainer, 'plex_ruby_sdk/models/operations/mediacontainer.rb'
32
36
  autoload :MediaGuid, 'plex_ruby_sdk/models/operations/mediaguid.rb'
@@ -152,6 +156,7 @@ module PlexRubySDK
152
156
  autoload :GetAllMediaLibraryRequest, 'plex_ruby_sdk/models/operations/get_all_media_library_request.rb'
153
157
  autoload :GetAllMediaLibraryResponse, 'plex_ruby_sdk/models/operations/get_all_media_library_response.rb'
154
158
  autoload :GetAllMediaLibraryResponseBody, 'plex_ruby_sdk/models/operations/get_all_media_library_responsebody.rb'
159
+ autoload :GetAllMediaLibraryStreamType, 'plex_ruby_sdk/models/operations/get_all_media_library_streamtype.rb'
155
160
  autoload :GetBannerImageRequest, 'plex_ruby_sdk/models/operations/get_banner_image_request.rb'
156
161
  autoload :GetBannerImageResponse, 'plex_ruby_sdk/models/operations/get_banner_image_response.rb'
157
162
  autoload :GetCountriesLibraryDirectory, 'plex_ruby_sdk/models/operations/get_countries_library_directory.rb'
@@ -228,6 +233,7 @@ module PlexRubySDK
228
233
  autoload :GetMediaMetaDataGuids, 'plex_ruby_sdk/models/operations/get_media_meta_data_guids.rb'
229
234
  autoload :GetMediaMetaDataImage, 'plex_ruby_sdk/models/operations/get_media_meta_data_image.rb'
230
235
  autoload :GetMediaMetaDataLibraryOptimizedForStreaming, 'plex_ruby_sdk/models/operations/get_media_meta_data_library_optimizedforstreaming.rb'
236
+ autoload :GetMediaMetaDataLibraryType, 'plex_ruby_sdk/models/operations/get_media_meta_data_library_type.rb'
231
237
  autoload :GetMediaMetaDataLocation, 'plex_ruby_sdk/models/operations/get_media_meta_data_location.rb'
232
238
  autoload :GetMediaMetaDataMedia, 'plex_ruby_sdk/models/operations/get_media_meta_data_media.rb'
233
239
  autoload :GetMediaMetaDataMediaContainer, 'plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb'
@@ -246,6 +252,8 @@ module PlexRubySDK
246
252
  autoload :GetMediaMetaDataRequest, 'plex_ruby_sdk/models/operations/get_media_meta_data_request.rb'
247
253
  autoload :GetMediaMetaDataResponse, 'plex_ruby_sdk/models/operations/get_media_meta_data_response.rb'
248
254
  autoload :GetMediaMetaDataResponseBody, 'plex_ruby_sdk/models/operations/get_media_meta_data_responsebody.rb'
255
+ autoload :GetMediaMetaDataStreamType, 'plex_ruby_sdk/models/operations/get_media_meta_data_streamtype.rb'
256
+ autoload :GetMediaMetaDataType, 'plex_ruby_sdk/models/operations/get_media_meta_data_type.rb'
249
257
  autoload :GetMediaPostersMediaContainer, 'plex_ruby_sdk/models/operations/get_media_posters_mediacontainer.rb'
250
258
  autoload :GetMediaPostersMetadata, 'plex_ruby_sdk/models/operations/get_media_posters_metadata.rb'
251
259
  autoload :GetMediaPostersRequest, 'plex_ruby_sdk/models/operations/get_media_posters_request.rb'
@@ -588,6 +596,7 @@ module PlexRubySDK
588
596
  autoload :StopTaskResponse, 'plex_ruby_sdk/models/operations/stoptask_response.rb'
589
597
  autoload :StopTranscodeSessionRequest, 'plex_ruby_sdk/models/operations/stoptranscodesession_request.rb'
590
598
  autoload :StopTranscodeSessionResponse, 'plex_ruby_sdk/models/operations/stoptranscodesession_response.rb'
599
+ autoload :StreamType, 'plex_ruby_sdk/models/operations/streamtype.rb'
591
600
  autoload :Tag, 'plex_ruby_sdk/models/operations/tag.rb'
592
601
  autoload :TaskName, 'plex_ruby_sdk/models/operations/taskname.rb'
593
602
  autoload :Tonight, 'plex_ruby_sdk/models/operations/tonight.rb'
@@ -14,7 +14,7 @@ module PlexRubySDK
14
14
  extend T::Sig
15
15
 
16
16
  SERVERS = [
17
- 'https://10.10.10.47:32400', # 1 - The full address of your Plex Server
17
+ '{protocol}://{ip}:{port}', # 1 - The full address of your Plex Server
18
18
  ].freeze
19
19
  # Contains the list of servers available to the SDK
20
20
 
@@ -66,9 +66,9 @@ module PlexRubySDK
66
66
  end
67
67
  @language = 'ruby'
68
68
  @openapi_doc_version = '0.0.3'
69
- @sdk_version = '0.11.1'
69
+ @sdk_version = '0.12.1'
70
70
  @gen_version = '2.570.4'
71
- @user_agent = 'speakeasy-sdk/ruby 0.11.1 2.570.4 0.0.3 plex_ruby_sdk'
71
+ @user_agent = 'speakeasy-sdk/ruby 0.12.1 2.570.4 0.0.3 plex_ruby_sdk'
72
72
  end
73
73
 
74
74
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plex_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LukeHagar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-20 00:00:00.000000000 Z
11
+ date: 2025-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -527,12 +527,14 @@ files:
527
527
  - lib/plex_ruby_sdk/models/operations/allowtuners.rb
528
528
  - lib/plex_ruby_sdk/models/operations/applyupdates_request.rb
529
529
  - lib/plex_ruby_sdk/models/operations/applyupdates_response.rb
530
+ - lib/plex_ruby_sdk/models/operations/attributes.rb
530
531
  - lib/plex_ruby_sdk/models/operations/autoselectsubtitle.rb
531
532
  - lib/plex_ruby_sdk/models/operations/billing.rb
532
533
  - lib/plex_ruby_sdk/models/operations/butlertask.rb
533
534
  - lib/plex_ruby_sdk/models/operations/butlertasks.rb
534
535
  - lib/plex_ruby_sdk/models/operations/cancelserveractivities_request.rb
535
536
  - lib/plex_ruby_sdk/models/operations/cancelserveractivities_response.rb
537
+ - lib/plex_ruby_sdk/models/operations/chapter.rb
536
538
  - lib/plex_ruby_sdk/models/operations/checkforupdates_request.rb
537
539
  - lib/plex_ruby_sdk/models/operations/checkforupdates_response.rb
538
540
  - lib/plex_ruby_sdk/models/operations/clearplaylistcontents_request.rb
@@ -561,6 +563,7 @@ files:
561
563
  - lib/plex_ruby_sdk/models/operations/enablecreditsmarkergeneration.rb
562
564
  - lib/plex_ruby_sdk/models/operations/enablepapertrail_response.rb
563
565
  - lib/plex_ruby_sdk/models/operations/episodesort.rb
566
+ - lib/plex_ruby_sdk/models/operations/extras.rb
564
567
  - lib/plex_ruby_sdk/models/operations/feature.rb
565
568
  - lib/plex_ruby_sdk/models/operations/field.rb
566
569
  - lib/plex_ruby_sdk/models/operations/fieldtype.rb
@@ -613,6 +616,7 @@ files:
613
616
  - lib/plex_ruby_sdk/models/operations/get_all_media_library_role.rb
614
617
  - lib/plex_ruby_sdk/models/operations/get_all_media_library_sort.rb
615
618
  - lib/plex_ruby_sdk/models/operations/get_all_media_library_stream.rb
619
+ - lib/plex_ruby_sdk/models/operations/get_all_media_library_streamtype.rb
616
620
  - lib/plex_ruby_sdk/models/operations/get_all_media_library_type.rb
617
621
  - lib/plex_ruby_sdk/models/operations/get_all_media_library_ultrablurcolors.rb
618
622
  - lib/plex_ruby_sdk/models/operations/get_all_media_library_writer.rb
@@ -693,6 +697,7 @@ files:
693
697
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_hasthumbnail.rb
694
698
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_image.rb
695
699
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_library_optimizedforstreaming.rb
700
+ - lib/plex_ruby_sdk/models/operations/get_media_meta_data_library_type.rb
696
701
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_location.rb
697
702
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_media.rb
698
703
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb
@@ -708,6 +713,8 @@ files:
708
713
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_role.rb
709
714
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_similar.rb
710
715
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_stream.rb
716
+ - lib/plex_ruby_sdk/models/operations/get_media_meta_data_streamtype.rb
717
+ - lib/plex_ruby_sdk/models/operations/get_media_meta_data_type.rb
711
718
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_ultrablurcolors.rb
712
719
  - lib/plex_ruby_sdk/models/operations/get_media_meta_data_writer.rb
713
720
  - lib/plex_ruby_sdk/models/operations/get_media_posters_mediacontainer.rb
@@ -983,6 +990,7 @@ files:
983
990
  - lib/plex_ruby_sdk/models/operations/logline_response.rb
984
991
  - lib/plex_ruby_sdk/models/operations/logmultiline_response.rb
985
992
  - lib/plex_ruby_sdk/models/operations/mailingliststatus.rb
993
+ - lib/plex_ruby_sdk/models/operations/marker.rb
986
994
  - lib/plex_ruby_sdk/models/operations/markplayed_request.rb
987
995
  - lib/plex_ruby_sdk/models/operations/markplayed_response.rb
988
996
  - lib/plex_ruby_sdk/models/operations/markunplayed_request.rb
@@ -1086,6 +1094,7 @@ files:
1086
1094
  - lib/plex_ruby_sdk/models/operations/stoptranscodesession_request.rb
1087
1095
  - lib/plex_ruby_sdk/models/operations/stoptranscodesession_response.rb
1088
1096
  - lib/plex_ruby_sdk/models/operations/stream.rb
1097
+ - lib/plex_ruby_sdk/models/operations/streamtype.rb
1089
1098
  - lib/plex_ruby_sdk/models/operations/subscription.rb
1090
1099
  - lib/plex_ruby_sdk/models/operations/tag.rb
1091
1100
  - lib/plex_ruby_sdk/models/operations/taskname.rb