plex_ruby_sdk 0.4.0 → 0.4.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 (30) hide show
  1. checksums.yaml +4 -4
  2. data/lib/plex_ruby_sdk/models/operations/action.rb +27 -0
  3. data/lib/plex_ruby_sdk/models/operations/activedirection.rb +19 -0
  4. data/lib/plex_ruby_sdk/models/operations/collection.rb +24 -0
  5. data/lib/plex_ruby_sdk/models/operations/defaultdirection.rb +19 -0
  6. data/lib/plex_ruby_sdk/models/operations/feature.rb +16 -4
  7. data/lib/plex_ruby_sdk/models/operations/flattenseasons.rb +18 -0
  8. data/lib/plex_ruby_sdk/models/operations/get_library_items_image.rb +30 -0
  9. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb +20 -0
  10. data/lib/plex_ruby_sdk/models/operations/get_library_items_library_type.rb +42 -0
  11. data/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb +22 -16
  12. data/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb +17 -5
  13. data/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb +62 -21
  14. data/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb +19 -9
  15. data/lib/plex_ruby_sdk/models/operations/get_library_items_request.rb +10 -10
  16. data/lib/plex_ruby_sdk/models/operations/get_library_items_sort.rb +12 -4
  17. data/lib/plex_ruby_sdk/models/operations/get_library_items_type.rb +8 -29
  18. data/lib/plex_ruby_sdk/models/operations/getplaylistcontents_queryparam_type.rb +1 -1
  19. data/lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb +5 -2
  20. data/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_queryparam_type.rb +1 -1
  21. data/lib/plex_ruby_sdk/models/operations/hasthumbnail.rb +18 -0
  22. data/lib/plex_ruby_sdk/models/operations/meta.rb +2 -2
  23. data/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userplexaccount.rb +5 -2
  24. data/lib/plex_ruby_sdk/models/operations/queryparam_type.rb +1 -1
  25. data/lib/plex_ruby_sdk/models/operations/showordering.rb +27 -0
  26. data/lib/plex_ruby_sdk/models/operations/type.rb +1 -1
  27. data/lib/plex_ruby_sdk/models/operations/ultrablurcolors.rb +33 -0
  28. data/lib/plex_ruby_sdk/models/operations.rb +12 -1
  29. data/lib/plex_ruby_sdk/sdkconfiguration.rb +2 -2
  30. metadata +13 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a33583f21e39d8f4785300b1891ac8f6ef857e842b4e1c39437c3ba380183157
4
- data.tar.gz: 5080f8e51c950271ba62ed6c36570c940d734b541c2b60b7374fa360a10ba06a
3
+ metadata.gz: '008261b3aa583efcc893eb15b52202190233fc66086413297a1e383d1b25a70d'
4
+ data.tar.gz: '0198fce2afac27dde1f88f13c6cf0520a54b6259e106763119bfc684fe7d537c'
5
5
  SHA512:
6
- metadata.gz: 0b039c1980357b77903231c388aaff8bee6c2e756a14427b813a69d059afc170772ec5fca79468379853d7e93e992e0e2ccad4cbfd386c571612ca4b41e2baa8
7
- data.tar.gz: 3770cdc8a9e3aed7b50e8b7b5b9d8dac322ba1f68920346a13cc34cb2893acdf0145e70bdd8c7b8826724bc9699e0fab9553309573f7390668fefcb68fab010d
6
+ metadata.gz: d3707fe6f1956fa56f9c75ee73d32ad4e3d7115f128cbae8ba9c25d3cff0574f122b3fee56be27745b51223c6e43461e4a135604cb1b759b28609d5f33bf7d9e
7
+ data.tar.gz: 9cbcebe0ce31df5fa05f9aabed14e5b96cfefb632673d12a18493638c8c5b869691cce50709e9da5fcedcc48f432c86908d275ccac157993857cc44c047b6b75
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+
11
+ class Action < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :id, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
16
+
17
+ field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
18
+
19
+
20
+ sig { params(id: ::String, key: ::String).void }
21
+ def initialize(id: nil, key: nil)
22
+ @id = id
23
+ @key = key
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,19 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+ # ActiveDirection - The direction of the sort. Can be either `asc` or `desc`.
11
+ #
12
+ class ActiveDirection < T::Enum
13
+ enums do
14
+ ASCENDING = new('asc')
15
+ DESCENDING = new('desc')
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,24 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+
11
+ class Collection < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :tag, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tag') } }
16
+
17
+
18
+ sig { params(tag: T.nilable(::String)).void }
19
+ def initialize(tag: nil)
20
+ @tag = tag
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,19 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+ # DefaultDirection - The direction of the sort. Can be either `asc` or `desc`.
11
+ #
12
+ class DefaultDirection < T::Enum
13
+ enums do
14
+ ASCENDING = new('asc')
15
+ DESCENDING = new('desc')
16
+ end
17
+ end
18
+ end
19
+ end
@@ -12,18 +12,30 @@ module PlexRubySDK
12
12
  extend T::Sig
13
13
 
14
14
 
15
+ field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
16
+
17
+ field :action, T.nilable(T::Array[::PlexRubySDK::Operations::Action]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Action') } }
18
+
15
19
  field :directory, T.nilable(T::Array[::PlexRubySDK::Operations::GetMediaProvidersDirectory]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Directory') } }
16
20
 
21
+ field :flavor, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('flavor') } }
22
+
17
23
  field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
18
24
 
19
- field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
25
+ field :scrobble_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('scrobbleKey') } }
20
26
 
27
+ field :unscrobble_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('unscrobbleKey') } }
21
28
 
22
- sig { params(directory: T.nilable(T::Array[::PlexRubySDK::Operations::GetMediaProvidersDirectory]), key: T.nilable(::String), type: T.nilable(::String)).void }
23
- def initialize(directory: nil, key: nil, type: nil)
29
+
30
+ sig { params(type: ::String, action: T.nilable(T::Array[::PlexRubySDK::Operations::Action]), directory: T.nilable(T::Array[::PlexRubySDK::Operations::GetMediaProvidersDirectory]), flavor: T.nilable(::String), key: T.nilable(::String), scrobble_key: T.nilable(::String), unscrobble_key: T.nilable(::String)).void }
31
+ def initialize(type: nil, action: nil, directory: nil, flavor: nil, key: nil, scrobble_key: nil, unscrobble_key: nil)
32
+ @type = type
33
+ @action = action
24
34
  @directory = directory
35
+ @flavor = flavor
25
36
  @key = key
26
- @type = type
37
+ @scrobble_key = scrobble_key
38
+ @unscrobble_key = unscrobble_key
27
39
  end
28
40
  end
29
41
  end
@@ -0,0 +1,18 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+
11
+ class FlattenSeasons < T::Enum
12
+ enums do
13
+ FALSE = new('0')
14
+ TRUE = new('1')
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,30 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+
11
+ class GetLibraryItemsImage < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :alt, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('alt') } }
16
+
17
+ field :type, ::PlexRubySDK::Operations::GetLibraryItemsLibraryResponseType, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetLibraryItemsLibraryResponseType, false) } }
18
+
19
+ field :url, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('url') } }
20
+
21
+
22
+ sig { params(alt: ::String, type: ::PlexRubySDK::Operations::GetLibraryItemsLibraryResponseType, url: ::String).void }
23
+ def initialize(alt: nil, type: nil, url: nil)
24
+ @alt = alt
25
+ @type = type
26
+ @url = url
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,20 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+
11
+ class GetLibraryItemsLibraryResponseType < T::Enum
12
+ enums do
13
+ COVER_POSTER = new('coverPoster')
14
+ BACKGROUND = new('background')
15
+ SNAPSHOT = new('snapshot')
16
+ CLEAR_LOGO = new('clearLogo')
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,42 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+
11
+ class GetLibraryItemsLibraryType < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :active, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('active') } }
16
+
17
+ field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
18
+
19
+ field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
20
+
21
+ field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
22
+
23
+ field :field, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsField]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Field') } }
24
+
25
+ field :filter, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFilter]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Filter') } }
26
+
27
+ field :sort, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsSort]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Sort') } }
28
+
29
+
30
+ sig { params(active: T::Boolean, key: ::String, title: ::String, type: ::String, field: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsField]), filter: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFilter]), sort: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsSort])).void }
31
+ def initialize(active: nil, key: nil, title: nil, type: nil, field: nil, filter: nil, sort: nil)
32
+ @active = active
33
+ @key = key
34
+ @title = title
35
+ @type = type
36
+ @field = field
37
+ @filter = filter
38
+ @sort = sort
39
+ end
40
+ end
41
+ end
42
+ end
@@ -12,37 +12,41 @@ module PlexRubySDK
12
12
  extend T::Sig
13
13
 
14
14
 
15
- field :aspect_ratio, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('aspectRatio') } }
15
+ field :aspect_ratio, ::Float, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('aspectRatio') } }
16
16
 
17
- field :audio_channels, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioChannels') } }
17
+ field :audio_channels, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioChannels') } }
18
18
 
19
- field :audio_codec, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioCodec') } }
19
+ field :audio_codec, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioCodec') } }
20
20
 
21
- field :bitrate, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bitrate') } }
21
+ field :bitrate, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bitrate') } }
22
22
 
23
- field :container, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('container') } }
23
+ field :container, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('container') } }
24
24
 
25
- field :duration, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
25
+ field :duration, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
26
26
 
27
- field :height, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('height') } }
27
+ field :height, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('height') } }
28
28
 
29
- field :id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
29
+ field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
30
30
 
31
- field :part, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsPart]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Part') } }
31
+ field :part, T::Array[::PlexRubySDK::Operations::GetLibraryItemsPart], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Part') } }
32
32
 
33
- field :video_codec, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoCodec') } }
33
+ field :video_codec, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoCodec') } }
34
34
 
35
- field :video_frame_rate, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoFrameRate') } }
35
+ field :video_frame_rate, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoFrameRate') } }
36
36
 
37
- field :video_profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoProfile') } }
37
+ field :video_profile, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoProfile') } }
38
38
 
39
- field :video_resolution, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoResolution') } }
39
+ field :video_resolution, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoResolution') } }
40
40
 
41
- field :width, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('width') } }
41
+ field :width, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('width') } }
42
42
 
43
+ field :audio_profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioProfile') } }
43
44
 
44
- sig { params(aspect_ratio: T.nilable(::Float), audio_channels: T.nilable(::Integer), audio_codec: T.nilable(::String), bitrate: T.nilable(::Integer), container: T.nilable(::String), duration: T.nilable(::Integer), height: T.nilable(::Integer), id: T.nilable(::Integer), part: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsPart]), video_codec: T.nilable(::String), video_frame_rate: T.nilable(::String), video_profile: T.nilable(::String), video_resolution: T.nilable(::String), width: T.nilable(::Integer)).void }
45
- def initialize(aspect_ratio: nil, audio_channels: nil, audio_codec: nil, bitrate: nil, container: nil, duration: nil, height: nil, id: nil, part: nil, video_codec: nil, video_frame_rate: nil, video_profile: nil, video_resolution: nil, width: nil)
45
+ field :has_voice_activity, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hasVoiceActivity') } }
46
+
47
+
48
+ sig { params(aspect_ratio: ::Float, audio_channels: ::Integer, audio_codec: ::String, bitrate: ::Integer, container: ::String, duration: ::Integer, height: ::Integer, id: ::Integer, part: T::Array[::PlexRubySDK::Operations::GetLibraryItemsPart], video_codec: ::String, video_frame_rate: ::String, video_profile: ::String, video_resolution: ::String, width: ::Integer, audio_profile: T.nilable(::String), has_voice_activity: T.nilable(T::Boolean)).void }
49
+ def initialize(aspect_ratio: nil, audio_channels: nil, audio_codec: nil, bitrate: nil, container: nil, duration: nil, height: nil, id: nil, part: nil, video_codec: nil, video_frame_rate: nil, video_profile: nil, video_resolution: nil, width: nil, audio_profile: nil, has_voice_activity: nil)
46
50
  @aspect_ratio = aspect_ratio
47
51
  @audio_channels = audio_channels
48
52
  @audio_codec = audio_codec
@@ -57,6 +61,8 @@ module PlexRubySDK
57
61
  @video_profile = video_profile
58
62
  @video_resolution = video_resolution
59
63
  @width = width
64
+ @audio_profile = audio_profile
65
+ @has_voice_activity = has_voice_activity
60
66
  end
61
67
  end
62
68
  end
@@ -16,6 +16,8 @@ module PlexRubySDK
16
16
 
17
17
  field :art, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('art') } }
18
18
 
19
+ field :content, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('content') } }
20
+
19
21
  field :identifier, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('identifier') } }
20
22
 
21
23
  field :library_section_id, ::Object, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('librarySectionID') } }
@@ -28,6 +30,10 @@ module PlexRubySDK
28
30
 
29
31
  field :media_tag_version, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mediaTagVersion') } }
30
32
 
33
+ field :metadata, T::Array[::PlexRubySDK::Operations::GetLibraryItemsMetadata], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Metadata') } }
34
+
35
+ field :offset, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('offset') } }
36
+
31
37
  field :size, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } }
32
38
 
33
39
  field :thumb, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('thumb') } }
@@ -36,36 +42,42 @@ module PlexRubySDK
36
42
 
37
43
  field :title2, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title2') } }
38
44
 
45
+ field :total_size, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('totalSize') } }
46
+
39
47
  field :view_group, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('viewGroup') } }
40
48
  # The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
41
49
  #
42
50
  field :meta, T.nilable(::PlexRubySDK::Operations::Meta), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Meta') } }
43
51
 
44
- field :metadata, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsMetadata]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Metadata') } }
45
-
46
52
  field :mixed_parents, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mixedParents') } }
47
53
 
54
+ field :nocache, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('nocache') } }
55
+
48
56
  field :view_mode, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('viewMode') } }
49
57
 
50
58
 
51
- sig { params(allow_sync: T::Boolean, art: ::String, identifier: ::String, library_section_id: ::Object, library_section_title: ::String, library_section_uuid: ::String, media_tag_prefix: ::String, media_tag_version: ::Integer, size: ::Integer, thumb: ::String, title1: ::String, title2: ::String, view_group: ::String, meta: T.nilable(::PlexRubySDK::Operations::Meta), metadata: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsMetadata]), mixed_parents: T.nilable(T::Boolean), view_mode: T.nilable(::Integer)).void }
52
- def initialize(allow_sync: nil, art: nil, identifier: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, media_tag_prefix: nil, media_tag_version: nil, size: nil, thumb: nil, title1: nil, title2: nil, view_group: nil, meta: nil, metadata: nil, mixed_parents: nil, view_mode: nil)
59
+ sig { params(allow_sync: T::Boolean, art: ::String, content: ::String, identifier: ::String, library_section_id: ::Object, library_section_title: ::String, library_section_uuid: ::String, media_tag_prefix: ::String, media_tag_version: ::Integer, metadata: T::Array[::PlexRubySDK::Operations::GetLibraryItemsMetadata], offset: ::Integer, size: ::Integer, thumb: ::String, title1: ::String, title2: ::String, total_size: ::Integer, view_group: ::String, meta: T.nilable(::PlexRubySDK::Operations::Meta), mixed_parents: T.nilable(T::Boolean), nocache: T.nilable(T::Boolean), view_mode: T.nilable(::Integer)).void }
60
+ def initialize(allow_sync: nil, art: nil, content: nil, identifier: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, offset: nil, size: nil, thumb: nil, title1: nil, title2: nil, total_size: nil, view_group: nil, meta: nil, mixed_parents: nil, nocache: nil, view_mode: nil)
53
61
  @allow_sync = allow_sync
54
62
  @art = art
63
+ @content = content
55
64
  @identifier = identifier
56
65
  @library_section_id = library_section_id
57
66
  @library_section_title = library_section_title
58
67
  @library_section_uuid = library_section_uuid
59
68
  @media_tag_prefix = media_tag_prefix
60
69
  @media_tag_version = media_tag_version
70
+ @metadata = metadata
71
+ @offset = offset
61
72
  @size = size
62
73
  @thumb = thumb
63
74
  @title1 = title1
64
75
  @title2 = title2
76
+ @total_size = total_size
65
77
  @view_group = view_group
66
78
  @meta = meta
67
- @metadata = metadata
68
79
  @mixed_parents = mixed_parents
80
+ @nocache = nocache
69
81
  @view_mode = view_mode
70
82
  end
71
83
  end
@@ -11,24 +11,23 @@ module PlexRubySDK
11
11
  class GetLibraryItemsMetadata < ::PlexRubySDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
-
15
- field :duration, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
14
+ # Unix epoch datetime in seconds
15
+ field :added_at, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('addedAt') } }
16
16
 
17
17
  field :guid, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('guid') } }
18
18
 
19
19
  field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
20
-
21
- field :media, T::Array[::PlexRubySDK::Operations::GetLibraryItemsMedia], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Media') } }
22
-
20
+ # The rating key (Media ID) of this media item.
21
+ # Note: This is always an integer, but is represented as a string in the API.
22
+ #
23
23
  field :rating_key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('ratingKey') } }
24
24
 
25
- field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
25
+ field :summary, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('summary') } }
26
26
 
27
- field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
28
-
29
- field :year, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('year') } }
30
-
31
- field :added_at, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('addedAt') } }
27
+ field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
28
+ # The type of media content
29
+ #
30
+ field :type, ::PlexRubySDK::Operations::GetLibraryItemsType, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetLibraryItemsType, false) } }
32
31
 
33
32
  field :art, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('art') } }
34
33
 
@@ -36,16 +35,24 @@ module PlexRubySDK
36
35
 
37
36
  field :audience_rating_image, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audienceRatingImage') } }
38
37
 
38
+ field :banner, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('banner') } }
39
+
39
40
  field :chapter_source, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('chapterSource') } }
40
41
 
41
42
  field :child_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('childCount') } }
42
43
 
44
+ field :collection, T.nilable(T::Array[::PlexRubySDK::Operations::Collection]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Collection') } }
45
+
43
46
  field :content_rating, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('contentRating') } }
44
47
 
45
48
  field :country, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsCountry]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Country') } }
46
49
 
47
50
  field :director, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsDirector]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Director') } }
48
51
 
52
+ field :duration, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
53
+
54
+ field :flatten_seasons, T.nilable(::PlexRubySDK::Operations::FlattenSeasons), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('flattenSeasons'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::FlattenSeasons, true) } }
55
+
49
56
  field :genre, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsGenre]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Genre') } }
50
57
 
51
58
  field :grandparent_art, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('grandparentArt') } }
@@ -56,6 +63,8 @@ module PlexRubySDK
56
63
 
57
64
  field :grandparent_rating_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('grandparentRatingKey') } }
58
65
 
66
+ field :grandparent_slug, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('grandparentSlug') } }
67
+
59
68
  field :grandparent_theme, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('grandparentTheme') } }
60
69
 
61
70
  field :grandparent_thumb, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('grandparentThumb') } }
@@ -66,11 +75,16 @@ module PlexRubySDK
66
75
 
67
76
  field :has_premium_primary_extra, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hasPremiumPrimaryExtra') } }
68
77
 
78
+ field :image, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsImage]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Image') } }
79
+
69
80
  field :index, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('index') } }
70
81
 
71
82
  field :last_viewed_at, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('lastViewedAt') } }
72
83
 
73
84
  field :leaf_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('leafCount') } }
85
+ # The Media object is only included when type query is `4` or higher.
86
+ #
87
+ field :media, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsMedia]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Media') } }
74
88
  # The Guid object is only included in the response if the `includeGuids` parameter is set to `1`.
75
89
  #
76
90
  field :media_guid, T.nilable(T::Array[::PlexRubySDK::Operations::MediaGuid]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Guid') } }
@@ -84,7 +98,8 @@ module PlexRubySDK
84
98
  field :parent_index, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('parentIndex') } }
85
99
 
86
100
  field :parent_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('parentKey') } }
87
-
101
+ # The rating key of the parent item.
102
+ #
88
103
  field :parent_rating_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('parentRatingKey') } }
89
104
 
90
105
  field :parent_studio, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('parentStudio') } }
@@ -105,11 +120,23 @@ module PlexRubySDK
105
120
 
106
121
  field :role, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsRole]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Role') } }
107
122
 
123
+ field :season_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('seasonCount') } }
124
+ # Setting that indicates the episode ordering for the show
125
+ # None = Library default,
126
+ # tmdbAiring = The Movie Database (Aired),
127
+ # aired = TheTVDB (Aired),
128
+ # dvd = TheTVDB (DVD),
129
+ # absolute = TheTVDB (Absolute)).
130
+ #
131
+ field :show_ordering, T.nilable(::PlexRubySDK::Operations::ShowOrdering), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('showOrdering'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::ShowOrdering, true) } }
132
+
133
+ field :skip_children, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('skipChildren') } }
134
+
108
135
  field :skip_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('skipCount') } }
109
136
 
110
- field :studio, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('studio') } }
137
+ field :slug, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('slug') } }
111
138
 
112
- field :summary, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('summary') } }
139
+ field :studio, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('studio') } }
113
140
 
114
141
  field :tagline, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('tagline') } }
115
142
 
@@ -119,6 +146,8 @@ module PlexRubySDK
119
146
 
120
147
  field :title_sort, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('titleSort') } }
121
148
 
149
+ field :ultra_blur_colors, T.nilable(::PlexRubySDK::Operations::UltraBlurColors), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('UltraBlurColors') } }
150
+ # Unix epoch datetime in seconds
122
151
  field :updated_at, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('updatedAt') } }
123
152
 
124
153
  field :view_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('viewCount') } }
@@ -129,39 +158,46 @@ module PlexRubySDK
129
158
 
130
159
  field :writer, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsWriter]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Writer') } }
131
160
 
161
+ field :year, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('year') } }
132
162
 
133
- sig { params(duration: ::Integer, guid: ::String, key: ::String, media: T::Array[::PlexRubySDK::Operations::GetLibraryItemsMedia], rating_key: ::String, title: ::String, type: ::String, year: ::Integer, added_at: T.nilable(::Integer), art: T.nilable(::String), audience_rating: T.nilable(::Float), audience_rating_image: T.nilable(::String), chapter_source: T.nilable(::String), child_count: T.nilable(::Integer), content_rating: T.nilable(::String), country: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsCountry]), director: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsDirector]), genre: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsGenre]), grandparent_art: T.nilable(::String), grandparent_guid: T.nilable(::String), grandparent_key: T.nilable(::String), grandparent_rating_key: T.nilable(::String), grandparent_theme: T.nilable(::String), grandparent_thumb: T.nilable(::String), grandparent_title: T.nilable(::String), has_premium_extras: T.nilable(::String), has_premium_primary_extra: T.nilable(::String), index: T.nilable(::Integer), last_viewed_at: T.nilable(::Integer), leaf_count: T.nilable(::Integer), media_guid: T.nilable(T::Array[::PlexRubySDK::Operations::MediaGuid]), originally_available_at: T.nilable(::Date), original_title: T.nilable(::String), parent_guid: T.nilable(::String), parent_index: T.nilable(::Integer), parent_key: T.nilable(::String), parent_rating_key: T.nilable(::String), parent_studio: T.nilable(::String), parent_theme: T.nilable(::String), parent_thumb: T.nilable(::String), parent_title: T.nilable(::String), parent_year: T.nilable(::Integer), primary_extra_key: T.nilable(::String), rating: T.nilable(::Float), rating_image: T.nilable(::String), role: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsRole]), skip_count: T.nilable(::Integer), studio: T.nilable(::String), summary: T.nilable(::String), tagline: T.nilable(::String), theme: T.nilable(::String), thumb: T.nilable(::String), title_sort: T.nilable(::String), updated_at: T.nilable(::Integer), view_count: T.nilable(::Integer), viewed_leaf_count: T.nilable(::Integer), view_offset: T.nilable(::Integer), writer: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsWriter])).void }
134
- def initialize(duration: nil, guid: nil, key: nil, media: nil, rating_key: nil, title: nil, type: nil, year: nil, added_at: nil, art: nil, audience_rating: nil, audience_rating_image: nil, chapter_source: nil, child_count: nil, content_rating: nil, country: nil, director: nil, genre: nil, grandparent_art: nil, grandparent_guid: nil, grandparent_key: nil, grandparent_rating_key: nil, grandparent_theme: nil, grandparent_thumb: nil, grandparent_title: nil, has_premium_extras: nil, has_premium_primary_extra: nil, index: nil, last_viewed_at: nil, leaf_count: nil, media_guid: nil, originally_available_at: nil, original_title: nil, parent_guid: nil, parent_index: nil, parent_key: nil, parent_rating_key: nil, parent_studio: nil, parent_theme: nil, parent_thumb: nil, parent_title: nil, parent_year: nil, primary_extra_key: nil, rating: nil, rating_image: nil, role: nil, skip_count: nil, studio: nil, summary: nil, tagline: nil, theme: nil, thumb: nil, title_sort: nil, updated_at: nil, view_count: nil, viewed_leaf_count: nil, view_offset: nil, writer: nil)
135
- @duration = duration
163
+
164
+ sig { params(added_at: ::Integer, guid: ::String, key: ::String, rating_key: ::String, summary: ::String, title: ::String, type: ::PlexRubySDK::Operations::GetLibraryItemsType, art: T.nilable(::String), audience_rating: T.nilable(::Float), audience_rating_image: T.nilable(::String), banner: T.nilable(::String), chapter_source: T.nilable(::String), child_count: T.nilable(::Integer), collection: T.nilable(T::Array[::PlexRubySDK::Operations::Collection]), content_rating: T.nilable(::String), country: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsCountry]), director: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsDirector]), duration: T.nilable(::Integer), flatten_seasons: T.nilable(::PlexRubySDK::Operations::FlattenSeasons), genre: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsGenre]), grandparent_art: T.nilable(::String), grandparent_guid: T.nilable(::String), grandparent_key: T.nilable(::String), grandparent_rating_key: T.nilable(::String), grandparent_slug: T.nilable(::String), grandparent_theme: T.nilable(::String), grandparent_thumb: T.nilable(::String), grandparent_title: T.nilable(::String), has_premium_extras: T.nilable(::String), has_premium_primary_extra: T.nilable(::String), image: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsImage]), index: T.nilable(::Integer), last_viewed_at: T.nilable(::Integer), leaf_count: T.nilable(::Integer), media: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsMedia]), media_guid: T.nilable(T::Array[::PlexRubySDK::Operations::MediaGuid]), originally_available_at: T.nilable(::Date), original_title: T.nilable(::String), parent_guid: T.nilable(::String), parent_index: T.nilable(::Integer), parent_key: T.nilable(::String), parent_rating_key: T.nilable(::String), parent_studio: T.nilable(::String), parent_theme: T.nilable(::String), parent_thumb: T.nilable(::String), parent_title: T.nilable(::String), parent_year: T.nilable(::Integer), primary_extra_key: T.nilable(::String), rating: T.nilable(::Float), rating_image: T.nilable(::String), role: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsRole]), season_count: T.nilable(::Integer), show_ordering: T.nilable(::PlexRubySDK::Operations::ShowOrdering), skip_children: T.nilable(T::Boolean), skip_count: T.nilable(::Integer), slug: T.nilable(::String), studio: T.nilable(::String), tagline: T.nilable(::String), theme: T.nilable(::String), thumb: T.nilable(::String), title_sort: T.nilable(::String), ultra_blur_colors: T.nilable(::PlexRubySDK::Operations::UltraBlurColors), updated_at: T.nilable(::Integer), view_count: T.nilable(::Integer), viewed_leaf_count: T.nilable(::Integer), view_offset: T.nilable(::Integer), writer: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsWriter]), year: T.nilable(::Integer)).void }
165
+ def initialize(added_at: nil, guid: nil, key: nil, rating_key: nil, summary: nil, title: nil, type: nil, art: nil, audience_rating: nil, audience_rating_image: nil, banner: nil, chapter_source: nil, child_count: nil, collection: nil, content_rating: nil, country: nil, director: nil, duration: nil, flatten_seasons: nil, genre: nil, grandparent_art: nil, grandparent_guid: nil, grandparent_key: nil, grandparent_rating_key: nil, grandparent_slug: nil, grandparent_theme: nil, grandparent_thumb: nil, grandparent_title: nil, has_premium_extras: nil, has_premium_primary_extra: nil, image: nil, index: nil, last_viewed_at: nil, leaf_count: nil, media: nil, media_guid: nil, originally_available_at: nil, original_title: nil, parent_guid: nil, parent_index: nil, parent_key: nil, parent_rating_key: nil, parent_studio: nil, parent_theme: nil, parent_thumb: nil, parent_title: nil, parent_year: nil, primary_extra_key: nil, rating: nil, rating_image: nil, role: nil, season_count: nil, show_ordering: nil, skip_children: nil, skip_count: nil, slug: nil, studio: nil, tagline: nil, theme: nil, thumb: nil, title_sort: nil, ultra_blur_colors: nil, updated_at: nil, view_count: nil, viewed_leaf_count: nil, view_offset: nil, writer: nil, year: nil)
166
+ @added_at = added_at
136
167
  @guid = guid
137
168
  @key = key
138
- @media = media
139
169
  @rating_key = rating_key
170
+ @summary = summary
140
171
  @title = title
141
172
  @type = type
142
- @year = year
143
- @added_at = added_at
144
173
  @art = art
145
174
  @audience_rating = audience_rating
146
175
  @audience_rating_image = audience_rating_image
176
+ @banner = banner
147
177
  @chapter_source = chapter_source
148
178
  @child_count = child_count
179
+ @collection = collection
149
180
  @content_rating = content_rating
150
181
  @country = country
151
182
  @director = director
183
+ @duration = duration
184
+ @flatten_seasons = flatten_seasons
152
185
  @genre = genre
153
186
  @grandparent_art = grandparent_art
154
187
  @grandparent_guid = grandparent_guid
155
188
  @grandparent_key = grandparent_key
156
189
  @grandparent_rating_key = grandparent_rating_key
190
+ @grandparent_slug = grandparent_slug
157
191
  @grandparent_theme = grandparent_theme
158
192
  @grandparent_thumb = grandparent_thumb
159
193
  @grandparent_title = grandparent_title
160
194
  @has_premium_extras = has_premium_extras
161
195
  @has_premium_primary_extra = has_premium_primary_extra
196
+ @image = image
162
197
  @index = index
163
198
  @last_viewed_at = last_viewed_at
164
199
  @leaf_count = leaf_count
200
+ @media = media
165
201
  @media_guid = media_guid
166
202
  @originally_available_at = originally_available_at
167
203
  @original_title = original_title
@@ -178,18 +214,23 @@ module PlexRubySDK
178
214
  @rating = rating
179
215
  @rating_image = rating_image
180
216
  @role = role
217
+ @season_count = season_count
218
+ @show_ordering = show_ordering
219
+ @skip_children = skip_children
181
220
  @skip_count = skip_count
221
+ @slug = slug
182
222
  @studio = studio
183
- @summary = summary
184
223
  @tagline = tagline
185
224
  @theme = theme
186
225
  @thumb = thumb
187
226
  @title_sort = title_sort
227
+ @ultra_blur_colors = ultra_blur_colors
188
228
  @updated_at = updated_at
189
229
  @view_count = view_count
190
230
  @viewed_leaf_count = viewed_leaf_count
191
231
  @view_offset = view_offset
192
232
  @writer = writer
233
+ @year = year
193
234
  end
194
235
  end
195
236
  end
@@ -11,24 +11,31 @@ module PlexRubySDK
11
11
  class GetLibraryItemsPart < ::PlexRubySDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
+ # The container format of the media file.
15
+ #
16
+ field :container, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('container') } }
14
17
 
15
- field :container, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('container') } }
18
+ field :duration, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
16
19
 
17
- field :duration, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
20
+ field :file, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('file') } }
18
21
 
19
- field :file, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('file') } }
22
+ field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
20
23
 
21
- field :id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
24
+ field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
22
25
 
23
- field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
26
+ field :size, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } }
24
27
 
25
- field :size, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } }
28
+ field :video_profile, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoProfile') } }
26
29
 
27
- field :video_profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoProfile') } }
30
+ field :audio_profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioProfile') } }
28
31
 
32
+ field :has_thumbnail, T.nilable(::PlexRubySDK::Operations::HasThumbnail), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hasThumbnail'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::HasThumbnail, true) } }
29
33
 
30
- sig { params(container: T.nilable(::String), duration: T.nilable(::Integer), file: T.nilable(::String), id: T.nilable(::Integer), key: T.nilable(::String), size: T.nilable(::Integer), video_profile: T.nilable(::String)).void }
31
- def initialize(container: nil, duration: nil, file: nil, id: nil, key: nil, size: nil, video_profile: nil)
34
+ field :indexes, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('indexes') } }
35
+
36
+
37
+ sig { params(container: ::String, duration: ::Integer, file: ::String, id: ::Integer, key: ::String, size: ::Integer, video_profile: ::String, audio_profile: T.nilable(::String), has_thumbnail: T.nilable(::PlexRubySDK::Operations::HasThumbnail), indexes: T.nilable(::String)).void }
38
+ def initialize(container: nil, duration: nil, file: nil, id: nil, key: nil, size: nil, video_profile: nil, audio_profile: nil, has_thumbnail: nil, indexes: nil)
32
39
  @container = container
33
40
  @duration = duration
34
41
  @file = file
@@ -36,6 +43,9 @@ module PlexRubySDK
36
43
  @key = key
37
44
  @size = size
38
45
  @video_profile = video_profile
46
+ @audio_profile = audio_profile
47
+ @has_thumbnail = has_thumbnail
48
+ @indexes = indexes
39
49
  end
40
50
  end
41
51
  end
@@ -17,6 +17,12 @@ module PlexRubySDK
17
17
  field :section_key, ::Integer, { 'path_param': { 'field_name': 'sectionKey', 'style': 'simple', 'explode': false } }
18
18
  # A key representing a specific tag within the section.
19
19
  field :tag, ::PlexRubySDK::Operations::Tag, { 'path_param': { 'field_name': 'tag', 'style': 'simple', 'explode': false } }
20
+ # Adds the Guids object to the response
21
+ #
22
+ field :include_guids, T.nilable(::PlexRubySDK::Operations::IncludeGuids), { 'query_param': { 'field_name': 'includeGuids', 'style': 'form', 'explode': true } }
23
+ # Adds the Meta object to the response
24
+ #
25
+ field :include_meta, T.nilable(::PlexRubySDK::Operations::IncludeMeta), { 'query_param': { 'field_name': 'includeMeta', 'style': 'form', 'explode': true } }
20
26
  # The type of media to retrieve.
21
27
  # 1 = movie
22
28
  # 2 = show
@@ -24,13 +30,7 @@ module PlexRubySDK
24
30
  # 4 = episode
25
31
  # E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
26
32
  #
27
- field :type, ::PlexRubySDK::Operations::Type, { 'query_param': { 'field_name': 'type', 'style': 'form', 'explode': true } }
28
- # Adds the Guids object to the response
29
- #
30
- field :include_guids, T.nilable(::PlexRubySDK::Operations::IncludeGuids), { 'query_param': { 'field_name': 'includeGuids', 'style': 'form', 'explode': true } }
31
- # Adds the Meta object to the response
32
- #
33
- field :include_meta, T.nilable(::PlexRubySDK::Operations::IncludeMeta), { 'query_param': { 'field_name': 'includeMeta', 'style': 'form', 'explode': true } }
33
+ field :type, T.nilable(::PlexRubySDK::Operations::Type), { 'query_param': { 'field_name': 'type', 'style': 'form', 'explode': true } }
34
34
  # The number of items to return. If not specified, all items will be returned.
35
35
  # If the number of items exceeds the limit, the response will be paginated.
36
36
  # By default this is 50
@@ -43,13 +43,13 @@ module PlexRubySDK
43
43
  field :x_plex_container_start, T.nilable(::Integer), { 'query_param': { 'field_name': 'X-Plex-Container-Start', 'style': 'form', 'explode': true } }
44
44
 
45
45
 
46
- sig { params(section_key: ::Integer, tag: ::PlexRubySDK::Operations::Tag, type: ::PlexRubySDK::Operations::Type, include_guids: T.nilable(::PlexRubySDK::Operations::IncludeGuids), include_meta: T.nilable(::PlexRubySDK::Operations::IncludeMeta), x_plex_container_size: T.nilable(::Integer), x_plex_container_start: T.nilable(::Integer)).void }
47
- def initialize(section_key: nil, tag: nil, type: nil, include_guids: nil, include_meta: nil, x_plex_container_size: nil, x_plex_container_start: nil)
46
+ sig { params(section_key: ::Integer, tag: ::PlexRubySDK::Operations::Tag, include_guids: T.nilable(::PlexRubySDK::Operations::IncludeGuids), include_meta: T.nilable(::PlexRubySDK::Operations::IncludeMeta), type: T.nilable(::PlexRubySDK::Operations::Type), x_plex_container_size: T.nilable(::Integer), x_plex_container_start: T.nilable(::Integer)).void }
47
+ def initialize(section_key: nil, tag: nil, include_guids: nil, include_meta: nil, type: nil, x_plex_container_size: nil, x_plex_container_start: nil)
48
48
  @section_key = section_key
49
49
  @tag = tag
50
- @type = type
51
50
  @include_guids = include_guids
52
51
  @include_meta = include_meta
52
+ @type = type
53
53
  @x_plex_container_size = x_plex_container_size
54
54
  @x_plex_container_start = x_plex_container_start
55
55
  end
@@ -11,13 +11,19 @@ module PlexRubySDK
11
11
  class GetLibraryItemsSort < ::PlexRubySDK::Utils::FieldAugmented
12
12
  extend T::Sig
13
13
 
14
-
15
- field :default_direction, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('defaultDirection') } }
14
+ # The direction of the sort. Can be either `asc` or `desc`.
15
+ #
16
+ field :default_direction, ::PlexRubySDK::Operations::DefaultDirection, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('defaultDirection'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::DefaultDirection, false) } }
16
17
 
17
18
  field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
18
19
 
19
20
  field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
20
21
 
22
+ field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('active') } }
23
+ # The direction of the sort. Can be either `asc` or `desc`.
24
+ #
25
+ field :active_direction, T.nilable(::PlexRubySDK::Operations::ActiveDirection), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('activeDirection'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::ActiveDirection, true) } }
26
+
21
27
  field :default, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('default') } }
22
28
 
23
29
  field :desc_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('descKey') } }
@@ -25,11 +31,13 @@ module PlexRubySDK
25
31
  field :first_character_key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('firstCharacterKey') } }
26
32
 
27
33
 
28
- sig { params(default_direction: ::String, key: ::String, title: ::String, default: T.nilable(::String), desc_key: T.nilable(::String), first_character_key: T.nilable(::String)).void }
29
- def initialize(default_direction: nil, key: nil, title: nil, default: nil, desc_key: nil, first_character_key: nil)
34
+ sig { params(default_direction: ::PlexRubySDK::Operations::DefaultDirection, key: ::String, title: ::String, active: T.nilable(T::Boolean), active_direction: T.nilable(::PlexRubySDK::Operations::ActiveDirection), default: T.nilable(::String), desc_key: T.nilable(::String), first_character_key: T.nilable(::String)).void }
35
+ def initialize(default_direction: nil, key: nil, title: nil, active: nil, active_direction: nil, default: nil, desc_key: nil, first_character_key: nil)
30
36
  @default_direction = default_direction
31
37
  @key = key
32
38
  @title = title
39
+ @active = active
40
+ @active_direction = active_direction
33
41
  @default = default
34
42
  @desc_key = desc_key
35
43
  @first_character_key = first_character_key
@@ -7,35 +7,14 @@
7
7
  module PlexRubySDK
8
8
  module Operations
9
9
 
10
-
11
- class GetLibraryItemsType < ::PlexRubySDK::Utils::FieldAugmented
12
- extend T::Sig
13
-
14
-
15
- field :active, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('active') } }
16
-
17
- field :key, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
18
-
19
- field :title, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
20
-
21
- field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
22
-
23
- field :field, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsField]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Field') } }
24
-
25
- field :filter, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFilter]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Filter') } }
26
-
27
- field :sort, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsSort]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Sort') } }
28
-
29
-
30
- sig { params(active: T::Boolean, key: ::String, title: ::String, type: ::String, field: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsField]), filter: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFilter]), sort: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsSort])).void }
31
- def initialize(active: nil, key: nil, title: nil, type: nil, field: nil, filter: nil, sort: nil)
32
- @active = active
33
- @key = key
34
- @title = title
35
- @type = type
36
- @field = field
37
- @filter = filter
38
- @sort = sort
10
+ # GetLibraryItemsType - The type of media content
11
+ #
12
+ class GetLibraryItemsType < T::Enum
13
+ enums do
14
+ MOVIE = new('movie')
15
+ TV_SHOW = new('show')
16
+ SEASON = new('season')
17
+ EPISODE = new('episode')
39
18
  end
40
19
  end
41
20
  end
@@ -17,7 +17,7 @@ module PlexRubySDK
17
17
  class GetPlaylistContentsQueryParamType < T::Enum
18
18
  enums do
19
19
  MOVIE = new(1)
20
- SHOW = new(2)
20
+ TV_SHOW = new(2)
21
21
  SEASON = new(3)
22
22
  EPISODE = new(4)
23
23
  end
@@ -22,6 +22,8 @@ module PlexRubySDK
22
22
  field :ads_consent_set_at, ::DateTime, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('adsConsentSetAt'), 'decoder': Utils.datetime_from_iso_format(false) } }
23
23
  # Unknown
24
24
  field :anonymous, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('anonymous') } }
25
+
26
+ field :attribution_partner, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('attributionPartner') } }
25
27
  # The account token
26
28
  field :auth_token, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('authToken') } }
27
29
  # If the two-factor authentication backup codes have been created
@@ -98,12 +100,13 @@ module PlexRubySDK
98
100
  field :roles, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('roles') } }
99
101
 
100
102
 
101
- sig { params(ads_consent: T::Boolean, ads_consent_reminder_at: ::DateTime, ads_consent_set_at: ::DateTime, anonymous: T::Boolean, auth_token: ::String, backup_codes_created: T::Boolean, confirmed: T::Boolean, country: ::String, email: ::String, email_only_auth: T::Boolean, entitlements: T::Array[::String], experimental_features: T::Boolean, friendly_name: ::String, guest: T::Boolean, has_password: T::Boolean, home: T::Boolean, home_admin: T::Boolean, home_size: ::Integer, id: ::Integer, joined_at: ::Integer, locale: ::String, mailing_list_active: T::Boolean, mailing_list_status: ::PlexRubySDK::Operations::MailingListStatus, max_home_size: ::Integer, profile: ::PlexRubySDK::Operations::UserProfile, protected: T::Boolean, remember_expires_at: ::Integer, restricted: T::Boolean, scrobble_types: ::String, services: T::Array[::PlexRubySDK::Operations::Services], subscription: ::PlexRubySDK::Operations::Subscription, subscription_description: ::String, subscriptions: T::Array[::PlexRubySDK::Operations::GetTokenDetailsSubscription], thumb: ::String, title: ::String, two_factor_enabled: T::Boolean, username: ::String, uuid: ::String, pin: T.nilable(::String), roles: T.nilable(T::Array[::String])).void }
102
- def initialize(ads_consent: nil, ads_consent_reminder_at: nil, ads_consent_set_at: nil, anonymous: nil, auth_token: nil, backup_codes_created: nil, confirmed: nil, country: nil, email: nil, email_only_auth: nil, entitlements: nil, experimental_features: nil, friendly_name: nil, guest: nil, has_password: nil, home: nil, home_admin: nil, home_size: nil, id: nil, joined_at: nil, locale: nil, mailing_list_active: nil, mailing_list_status: nil, max_home_size: nil, profile: nil, protected: nil, remember_expires_at: nil, restricted: nil, scrobble_types: nil, services: nil, subscription: nil, subscription_description: nil, subscriptions: nil, thumb: nil, title: nil, two_factor_enabled: nil, username: nil, uuid: nil, pin: nil, roles: nil)
103
+ sig { params(ads_consent: T::Boolean, ads_consent_reminder_at: ::DateTime, ads_consent_set_at: ::DateTime, anonymous: T::Boolean, attribution_partner: ::String, auth_token: ::String, backup_codes_created: T::Boolean, confirmed: T::Boolean, country: ::String, email: ::String, email_only_auth: T::Boolean, entitlements: T::Array[::String], experimental_features: T::Boolean, friendly_name: ::String, guest: T::Boolean, has_password: T::Boolean, home: T::Boolean, home_admin: T::Boolean, home_size: ::Integer, id: ::Integer, joined_at: ::Integer, locale: ::String, mailing_list_active: T::Boolean, mailing_list_status: ::PlexRubySDK::Operations::MailingListStatus, max_home_size: ::Integer, profile: ::PlexRubySDK::Operations::UserProfile, protected: T::Boolean, remember_expires_at: ::Integer, restricted: T::Boolean, scrobble_types: ::String, services: T::Array[::PlexRubySDK::Operations::Services], subscription: ::PlexRubySDK::Operations::Subscription, subscription_description: ::String, subscriptions: T::Array[::PlexRubySDK::Operations::GetTokenDetailsSubscription], thumb: ::String, title: ::String, two_factor_enabled: T::Boolean, username: ::String, uuid: ::String, pin: T.nilable(::String), roles: T.nilable(T::Array[::String])).void }
104
+ def initialize(ads_consent: nil, ads_consent_reminder_at: nil, ads_consent_set_at: nil, anonymous: nil, attribution_partner: nil, auth_token: nil, backup_codes_created: nil, confirmed: nil, country: nil, email: nil, email_only_auth: nil, entitlements: nil, experimental_features: nil, friendly_name: nil, guest: nil, has_password: nil, home: nil, home_admin: nil, home_size: nil, id: nil, joined_at: nil, locale: nil, mailing_list_active: nil, mailing_list_status: nil, max_home_size: nil, profile: nil, protected: nil, remember_expires_at: nil, restricted: nil, scrobble_types: nil, services: nil, subscription: nil, subscription_description: nil, subscriptions: nil, thumb: nil, title: nil, two_factor_enabled: nil, username: nil, uuid: nil, pin: nil, roles: nil)
103
105
  @ads_consent = ads_consent
104
106
  @ads_consent_reminder_at = ads_consent_reminder_at
105
107
  @ads_consent_set_at = ads_consent_set_at
106
108
  @anonymous = anonymous
109
+ @attribution_partner = attribution_partner
107
110
  @auth_token = auth_token
108
111
  @backup_codes_created = backup_codes_created
109
112
  @confirmed = confirmed
@@ -17,7 +17,7 @@ module PlexRubySDK
17
17
  class GetTopWatchedContentQueryParamType < T::Enum
18
18
  enums do
19
19
  MOVIE = new(1)
20
- SHOW = new(2)
20
+ TV_SHOW = new(2)
21
21
  SEASON = new(3)
22
22
  EPISODE = new(4)
23
23
  end
@@ -0,0 +1,18 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+
11
+ class HasThumbnail < T::Enum
12
+ enums do
13
+ FALSE = new('0')
14
+ TRUE = new('1')
15
+ end
16
+ end
17
+ end
18
+ end
@@ -15,10 +15,10 @@ module PlexRubySDK
15
15
 
16
16
  field :field_type, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFieldType]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('FieldType') } }
17
17
 
18
- field :type, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsType]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Type') } }
18
+ field :type, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsLibraryType]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Type') } }
19
19
 
20
20
 
21
- sig { params(field_type: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFieldType]), type: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsType])).void }
21
+ sig { params(field_type: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsFieldType]), type: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsLibraryType])).void }
22
22
  def initialize(field_type: nil, type: nil)
23
23
  @field_type = field_type
24
24
  @type = type
@@ -22,6 +22,8 @@ module PlexRubySDK
22
22
  field :ads_consent_set_at, ::DateTime, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('adsConsentSetAt'), 'decoder': Utils.datetime_from_iso_format(false) } }
23
23
  # Unknown
24
24
  field :anonymous, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('anonymous') } }
25
+
26
+ field :attribution_partner, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('attributionPartner') } }
25
27
  # The account token
26
28
  field :auth_token, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('authToken') } }
27
29
  # If the two-factor authentication backup codes have been created
@@ -102,12 +104,13 @@ module PlexRubySDK
102
104
  field :roles, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('roles') } }
103
105
 
104
106
 
105
- sig { params(ads_consent: T::Boolean, ads_consent_reminder_at: ::DateTime, ads_consent_set_at: ::DateTime, anonymous: T::Boolean, auth_token: ::String, backup_codes_created: T::Boolean, confirmed: T::Boolean, country: ::String, email: ::String, email_only_auth: T::Boolean, entitlements: T::Array[::String], experimental_features: T::Boolean, friendly_name: ::String, guest: T::Boolean, has_password: T::Boolean, home: T::Boolean, home_admin: T::Boolean, home_size: ::Integer, id: ::Integer, joined_at: ::Integer, locale: ::String, mailing_list_active: T::Boolean, mailing_list_status: ::PlexRubySDK::Operations::PostUsersSignInDataMailingListStatus, max_home_size: ::Integer, past_subscriptions: T::Array[::PlexRubySDK::Operations::PastSubscription], profile: ::PlexRubySDK::Operations::PostUsersSignInDataUserProfile, protected: T::Boolean, remember_expires_at: ::Integer, restricted: T::Boolean, scrobble_types: ::String, services: T::Array[::PlexRubySDK::Operations::PostUsersSignInDataServices], subscription: ::PlexRubySDK::Operations::PostUsersSignInDataSubscription, subscription_description: ::String, subscriptions: T::Array[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationSubscription], thumb: ::String, title: ::String, trials: T::Array[::PlexRubySDK::Operations::Trials], two_factor_enabled: T::Boolean, username: ::String, uuid: ::String, pin: T.nilable(::String), roles: T.nilable(T::Array[::String])).void }
106
- def initialize(ads_consent: nil, ads_consent_reminder_at: nil, ads_consent_set_at: nil, anonymous: nil, auth_token: nil, backup_codes_created: nil, confirmed: nil, country: nil, email: nil, email_only_auth: nil, entitlements: nil, experimental_features: nil, friendly_name: nil, guest: nil, has_password: nil, home: nil, home_admin: nil, home_size: nil, id: nil, joined_at: nil, locale: nil, mailing_list_active: nil, mailing_list_status: nil, max_home_size: nil, past_subscriptions: nil, profile: nil, protected: nil, remember_expires_at: nil, restricted: nil, scrobble_types: nil, services: nil, subscription: nil, subscription_description: nil, subscriptions: nil, thumb: nil, title: nil, trials: nil, two_factor_enabled: nil, username: nil, uuid: nil, pin: nil, roles: nil)
107
+ sig { params(ads_consent: T::Boolean, ads_consent_reminder_at: ::DateTime, ads_consent_set_at: ::DateTime, anonymous: T::Boolean, attribution_partner: ::String, auth_token: ::String, backup_codes_created: T::Boolean, confirmed: T::Boolean, country: ::String, email: ::String, email_only_auth: T::Boolean, entitlements: T::Array[::String], experimental_features: T::Boolean, friendly_name: ::String, guest: T::Boolean, has_password: T::Boolean, home: T::Boolean, home_admin: T::Boolean, home_size: ::Integer, id: ::Integer, joined_at: ::Integer, locale: ::String, mailing_list_active: T::Boolean, mailing_list_status: ::PlexRubySDK::Operations::PostUsersSignInDataMailingListStatus, max_home_size: ::Integer, past_subscriptions: T::Array[::PlexRubySDK::Operations::PastSubscription], profile: ::PlexRubySDK::Operations::PostUsersSignInDataUserProfile, protected: T::Boolean, remember_expires_at: ::Integer, restricted: T::Boolean, scrobble_types: ::String, services: T::Array[::PlexRubySDK::Operations::PostUsersSignInDataServices], subscription: ::PlexRubySDK::Operations::PostUsersSignInDataSubscription, subscription_description: ::String, subscriptions: T::Array[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationSubscription], thumb: ::String, title: ::String, trials: T::Array[::PlexRubySDK::Operations::Trials], two_factor_enabled: T::Boolean, username: ::String, uuid: ::String, pin: T.nilable(::String), roles: T.nilable(T::Array[::String])).void }
108
+ def initialize(ads_consent: nil, ads_consent_reminder_at: nil, ads_consent_set_at: nil, anonymous: nil, attribution_partner: nil, auth_token: nil, backup_codes_created: nil, confirmed: nil, country: nil, email: nil, email_only_auth: nil, entitlements: nil, experimental_features: nil, friendly_name: nil, guest: nil, has_password: nil, home: nil, home_admin: nil, home_size: nil, id: nil, joined_at: nil, locale: nil, mailing_list_active: nil, mailing_list_status: nil, max_home_size: nil, past_subscriptions: nil, profile: nil, protected: nil, remember_expires_at: nil, restricted: nil, scrobble_types: nil, services: nil, subscription: nil, subscription_description: nil, subscriptions: nil, thumb: nil, title: nil, trials: nil, two_factor_enabled: nil, username: nil, uuid: nil, pin: nil, roles: nil)
107
109
  @ads_consent = ads_consent
108
110
  @ads_consent_reminder_at = ads_consent_reminder_at
109
111
  @ads_consent_set_at = ads_consent_set_at
110
112
  @anonymous = anonymous
113
+ @attribution_partner = attribution_partner
111
114
  @auth_token = auth_token
112
115
  @backup_codes_created = backup_codes_created
113
116
  @confirmed = confirmed
@@ -17,7 +17,7 @@ module PlexRubySDK
17
17
  class QueryParamType < T::Enum
18
18
  enums do
19
19
  MOVIE = new(1)
20
- SHOW = new(2)
20
+ TV_SHOW = new(2)
21
21
  SEASON = new(3)
22
22
  EPISODE = new(4)
23
23
  end
@@ -0,0 +1,27 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+ # ShowOrdering - Setting that indicates the episode ordering for the show
11
+ # None = Library default,
12
+ # tmdbAiring = The Movie Database (Aired),
13
+ # aired = TheTVDB (Aired),
14
+ # dvd = TheTVDB (DVD),
15
+ # absolute = TheTVDB (Absolute)).
16
+ #
17
+ class ShowOrdering < T::Enum
18
+ enums do
19
+ NONE = new('None')
20
+ TMDB_AIRING = new('tmdbAiring')
21
+ AIRED = new('aired')
22
+ DVD = new('dvd')
23
+ ABSOLUTE = new('absolute')
24
+ end
25
+ end
26
+ end
27
+ end
@@ -17,7 +17,7 @@ module PlexRubySDK
17
17
  class Type < T::Enum
18
18
  enums do
19
19
  MOVIE = new(1)
20
- SHOW = new(2)
20
+ TV_SHOW = new(2)
21
21
  SEASON = new(3)
22
22
  EPISODE = new(4)
23
23
  end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module PlexRubySDK
8
+ module Operations
9
+
10
+
11
+ class UltraBlurColors < ::PlexRubySDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :bottom_left, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bottomLeft') } }
16
+
17
+ field :bottom_right, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bottomRight') } }
18
+
19
+ field :top_left, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('topLeft') } }
20
+
21
+ field :top_right, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('topRight') } }
22
+
23
+
24
+ sig { params(bottom_left: ::String, bottom_right: ::String, top_left: ::String, top_right: ::String).void }
25
+ def initialize(bottom_left: nil, bottom_right: nil, top_left: nil, top_right: nil)
26
+ @bottom_left = bottom_left
27
+ @bottom_right = bottom_right
28
+ @top_left = top_left
29
+ @top_right = top_right
30
+ end
31
+ end
32
+ end
33
+ end
@@ -63,6 +63,7 @@ module PlexRubySDK
63
63
  autoload :GetMediaProvidersBadRequest, 'plex_ruby_sdk/models/operations/get_media_providers_badrequest.rb'
64
64
  autoload :Pivot, 'plex_ruby_sdk/models/operations/pivot.rb'
65
65
  autoload :GetMediaProvidersDirectory, 'plex_ruby_sdk/models/operations/get_media_providers_directory.rb'
66
+ autoload :Action, 'plex_ruby_sdk/models/operations/action.rb'
66
67
  autoload :Feature, 'plex_ruby_sdk/models/operations/feature.rb'
67
68
  autoload :MediaProvider, 'plex_ruby_sdk/models/operations/mediaprovider.rb'
68
69
  autoload :GetMediaProvidersMediaContainer, 'plex_ruby_sdk/models/operations/get_media_providers_mediacontainer.rb'
@@ -339,19 +340,29 @@ module PlexRubySDK
339
340
  autoload :GetLibraryItemsUnauthorized, 'plex_ruby_sdk/models/operations/get_library_items_unauthorized.rb'
340
341
  autoload :GetLibraryItemsErrors, 'plex_ruby_sdk/models/operations/get_library_items_errors.rb'
341
342
  autoload :GetLibraryItemsBadRequest, 'plex_ruby_sdk/models/operations/get_library_items_badrequest.rb'
343
+ autoload :GetLibraryItemsType, 'plex_ruby_sdk/models/operations/get_library_items_type.rb'
344
+ autoload :FlattenSeasons, 'plex_ruby_sdk/models/operations/flattenseasons.rb'
345
+ autoload :ShowOrdering, 'plex_ruby_sdk/models/operations/showordering.rb'
346
+ autoload :HasThumbnail, 'plex_ruby_sdk/models/operations/hasthumbnail.rb'
342
347
  autoload :GetLibraryItemsPart, 'plex_ruby_sdk/models/operations/get_library_items_part.rb'
343
348
  autoload :GetLibraryItemsMedia, 'plex_ruby_sdk/models/operations/get_library_items_media.rb'
344
349
  autoload :GetLibraryItemsGenre, 'plex_ruby_sdk/models/operations/get_library_items_genre.rb'
345
350
  autoload :GetLibraryItemsCountry, 'plex_ruby_sdk/models/operations/get_library_items_country.rb'
346
351
  autoload :GetLibraryItemsDirector, 'plex_ruby_sdk/models/operations/get_library_items_director.rb'
347
352
  autoload :GetLibraryItemsWriter, 'plex_ruby_sdk/models/operations/get_library_items_writer.rb'
353
+ autoload :Collection, 'plex_ruby_sdk/models/operations/collection.rb'
348
354
  autoload :GetLibraryItemsRole, 'plex_ruby_sdk/models/operations/get_library_items_role.rb'
349
355
  autoload :MediaGuid, 'plex_ruby_sdk/models/operations/mediaguid.rb'
356
+ autoload :UltraBlurColors, 'plex_ruby_sdk/models/operations/ultrablurcolors.rb'
357
+ autoload :GetLibraryItemsLibraryResponseType, 'plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb'
358
+ autoload :GetLibraryItemsImage, 'plex_ruby_sdk/models/operations/get_library_items_image.rb'
350
359
  autoload :GetLibraryItemsMetadata, 'plex_ruby_sdk/models/operations/get_library_items_metadata.rb'
351
360
  autoload :GetLibraryItemsFilter, 'plex_ruby_sdk/models/operations/get_library_items_filter.rb'
361
+ autoload :ActiveDirection, 'plex_ruby_sdk/models/operations/activedirection.rb'
362
+ autoload :DefaultDirection, 'plex_ruby_sdk/models/operations/defaultdirection.rb'
352
363
  autoload :GetLibraryItemsSort, 'plex_ruby_sdk/models/operations/get_library_items_sort.rb'
353
364
  autoload :GetLibraryItemsField, 'plex_ruby_sdk/models/operations/get_library_items_field.rb'
354
- autoload :GetLibraryItemsType, 'plex_ruby_sdk/models/operations/get_library_items_type.rb'
365
+ autoload :GetLibraryItemsLibraryType, 'plex_ruby_sdk/models/operations/get_library_items_library_type.rb'
355
366
  autoload :GetLibraryItemsOperator, 'plex_ruby_sdk/models/operations/get_library_items_operator.rb'
356
367
  autoload :GetLibraryItemsFieldType, 'plex_ruby_sdk/models/operations/get_library_items_fieldtype.rb'
357
368
  autoload :Meta, 'plex_ruby_sdk/models/operations/meta.rb'
@@ -42,9 +42,9 @@ module PlexRubySDK
42
42
  @globals = globals.nil? ? {} : globals
43
43
  @language = 'ruby'
44
44
  @openapi_doc_version = '0.0.3'
45
- @sdk_version = '0.4.0'
45
+ @sdk_version = '0.4.1'
46
46
  @gen_version = '2.421.3'
47
- @user_agent = 'speakeasy-sdk/ruby 0.4.0 2.421.3 0.0.3 plex_ruby_sdk'
47
+ @user_agent = 'speakeasy-sdk/ruby 0.4.1 2.421.3 0.0.3 plex_ruby_sdk'
48
48
  end
49
49
 
50
50
  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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LukeHagar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-21 00:00:00.000000000 Z
11
+ date: 2024-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -152,6 +152,8 @@ files:
152
152
  - lib/plex_ruby_sdk/media.rb
153
153
  - lib/plex_ruby_sdk/models/operations.rb
154
154
  - lib/plex_ruby_sdk/models/operations/account.rb
155
+ - lib/plex_ruby_sdk/models/operations/action.rb
156
+ - lib/plex_ruby_sdk/models/operations/activedirection.rb
155
157
  - lib/plex_ruby_sdk/models/operations/activity.rb
156
158
  - lib/plex_ruby_sdk/models/operations/addplaylistcontents_badrequest.rb
157
159
  - lib/plex_ruby_sdk/models/operations/addplaylistcontents_errors.rb
@@ -190,6 +192,7 @@ files:
190
192
  - lib/plex_ruby_sdk/models/operations/clearplaylistcontents_request.rb
191
193
  - lib/plex_ruby_sdk/models/operations/clearplaylistcontents_response.rb
192
194
  - lib/plex_ruby_sdk/models/operations/clearplaylistcontents_unauthorized.rb
195
+ - lib/plex_ruby_sdk/models/operations/collection.rb
193
196
  - lib/plex_ruby_sdk/models/operations/connections.rb
194
197
  - lib/plex_ruby_sdk/models/operations/context.rb
195
198
  - lib/plex_ruby_sdk/models/operations/country.rb
@@ -203,6 +206,7 @@ files:
203
206
  - lib/plex_ruby_sdk/models/operations/createplaylist_response.rb
204
207
  - lib/plex_ruby_sdk/models/operations/createplaylist_responsebody.rb
205
208
  - lib/plex_ruby_sdk/models/operations/createplaylist_unauthorized.rb
209
+ - lib/plex_ruby_sdk/models/operations/defaultdirection.rb
206
210
  - lib/plex_ruby_sdk/models/operations/defaultsubtitleaccessibility.rb
207
211
  - lib/plex_ruby_sdk/models/operations/defaultsubtitleforced.rb
208
212
  - lib/plex_ruby_sdk/models/operations/deletelibrary_badrequest.rb
@@ -232,6 +236,7 @@ files:
232
236
  - lib/plex_ruby_sdk/models/operations/field.rb
233
237
  - lib/plex_ruby_sdk/models/operations/fieldtype.rb
234
238
  - lib/plex_ruby_sdk/models/operations/filter.rb
239
+ - lib/plex_ruby_sdk/models/operations/flattenseasons.rb
235
240
  - lib/plex_ruby_sdk/models/operations/force.rb
236
241
  - lib/plex_ruby_sdk/models/operations/friend.rb
237
242
  - lib/plex_ruby_sdk/models/operations/genre.rb
@@ -269,7 +274,10 @@ files:
269
274
  - lib/plex_ruby_sdk/models/operations/get_library_items_fieldtype.rb
270
275
  - lib/plex_ruby_sdk/models/operations/get_library_items_filter.rb
271
276
  - lib/plex_ruby_sdk/models/operations/get_library_items_genre.rb
277
+ - lib/plex_ruby_sdk/models/operations/get_library_items_image.rb
272
278
  - lib/plex_ruby_sdk/models/operations/get_library_items_library_errors.rb
279
+ - lib/plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb
280
+ - lib/plex_ruby_sdk/models/operations/get_library_items_library_type.rb
273
281
  - lib/plex_ruby_sdk/models/operations/get_library_items_media.rb
274
282
  - lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb
275
283
  - lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb
@@ -661,6 +669,7 @@ files:
661
669
  - lib/plex_ruby_sdk/models/operations/getuserfriends_response.rb
662
670
  - lib/plex_ruby_sdk/models/operations/getuserfriends_unauthorized.rb
663
671
  - lib/plex_ruby_sdk/models/operations/guids.rb
672
+ - lib/plex_ruby_sdk/models/operations/hasthumbnail.rb
664
673
  - lib/plex_ruby_sdk/models/operations/hub.rb
665
674
  - lib/plex_ruby_sdk/models/operations/image.rb
666
675
  - lib/plex_ruby_sdk/models/operations/includecollections.rb
@@ -771,6 +780,7 @@ files:
771
780
  - lib/plex_ruby_sdk/models/operations/setting.rb
772
781
  - lib/plex_ruby_sdk/models/operations/sharedservers.rb
773
782
  - lib/plex_ruby_sdk/models/operations/sharedsources.rb
783
+ - lib/plex_ruby_sdk/models/operations/showordering.rb
774
784
  - lib/plex_ruby_sdk/models/operations/skip.rb
775
785
  - lib/plex_ruby_sdk/models/operations/smart.rb
776
786
  - lib/plex_ruby_sdk/models/operations/sort.rb
@@ -821,6 +831,7 @@ files:
821
831
  - lib/plex_ruby_sdk/models/operations/transcodesession.rb
822
832
  - lib/plex_ruby_sdk/models/operations/trials.rb
823
833
  - lib/plex_ruby_sdk/models/operations/type.rb
834
+ - lib/plex_ruby_sdk/models/operations/ultrablurcolors.rb
824
835
  - lib/plex_ruby_sdk/models/operations/updateplaylist_badrequest.rb
825
836
  - lib/plex_ruby_sdk/models/operations/updateplaylist_errors.rb
826
837
  - lib/plex_ruby_sdk/models/operations/updateplaylist_playlists_errors.rb