plex_ruby_sdk 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/plex_ruby_sdk/models/operations/flattenseasons.rb +1 -0
- data/lib/plex_ruby_sdk/models/operations/get_actors_library_mediacontainer.rb +6 -6
- data/lib/plex_ruby_sdk/models/operations/get_library_items_collection.rb +3 -3
- data/lib/plex_ruby_sdk/models/operations/get_library_items_country.rb +10 -4
- data/lib/plex_ruby_sdk/models/operations/get_library_items_director.rb +12 -4
- data/lib/plex_ruby_sdk/models/operations/get_library_items_filter.rb +2 -6
- data/lib/plex_ruby_sdk/models/operations/get_library_items_genre.rb +13 -6
- data/lib/plex_ruby_sdk/models/operations/{mediaguid.rb → get_library_items_guids.rb} +2 -3
- data/lib/plex_ruby_sdk/models/operations/get_library_items_hasthumbnail.rb +2 -1
- data/lib/plex_ruby_sdk/models/operations/get_library_items_image.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/{get_search_all_libraries_collection.rb → get_library_items_library_optimizedforstreaming.rb} +5 -9
- data/lib/plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb +6 -41
- data/lib/plex_ruby_sdk/models/operations/get_library_items_library_type.rb +42 -14
- data/lib/plex_ruby_sdk/models/operations/get_library_items_location.rb +3 -3
- data/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb +32 -25
- data/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb +39 -48
- data/lib/plex_ruby_sdk/models/operations/get_library_items_meta.rb +3 -3
- data/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb +146 -141
- data/lib/plex_ruby_sdk/models/operations/get_library_items_optimizedforstreaming.rb +12 -4
- data/lib/plex_ruby_sdk/models/operations/{get_library_items_library_response_200_type.rb → get_library_items_optimizedforstreaming_1.rb} +3 -5
- data/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb +36 -28
- data/lib/plex_ruby_sdk/models/operations/get_library_items_producer.rb +53 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_role.rb +12 -18
- data/lib/plex_ruby_sdk/models/operations/get_library_items_similar.rb +41 -0
- data/lib/plex_ruby_sdk/models/operations/get_library_items_type.rb +14 -46
- data/lib/plex_ruby_sdk/models/operations/get_library_items_writer.rb +12 -4
- data/lib/plex_ruby_sdk/models/operations/get_library_sections_all_media.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/get_library_sections_all_mediacontainer.rb +10 -10
- data/lib/plex_ruby_sdk/models/operations/get_library_sections_all_metadata.rb +6 -6
- data/lib/plex_ruby_sdk/models/operations/{streamtype.rb → get_library_sections_all_optimizedforstreaming_library_1.rb} +4 -9
- data/lib/plex_ruby_sdk/models/operations/get_library_sections_all_part.rb +2 -2
- data/lib/plex_ruby_sdk/models/operations/get_library_sections_all_stream.rb +5 -5
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_attributes.rb +37 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_chapter.rb +53 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_extras.rb +33 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_hasthumbnail.rb +1 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_library_optimizedforstreaming.rb +1 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_marker.rb +53 -0
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_media.rb +5 -3
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb +10 -10
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_metadata.rb +22 -22
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_part.rb +16 -15
- data/lib/plex_ruby_sdk/models/operations/{metadatarating.rb → get_media_meta_data_ratings.rb} +3 -3
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_stream.rb +18 -18
- data/lib/plex_ruby_sdk/models/operations/get_recently_added_metadata.rb +18 -18
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_country.rb +10 -4
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_director.rb +12 -4
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_directory.rb +81 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_flattenseasons.rb +1 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_genre.rb +13 -6
- data/lib/plex_ruby_sdk/models/operations/{get_search_all_libraries_mediaguid.rb → get_search_all_libraries_guids.rb} +2 -3
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_hasthumbnail.rb +2 -1
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_optimizedforstreaming.rb +29 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_location.rb +3 -3
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_media.rb +32 -25
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb +32 -4
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadata.rb +128 -147
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_optimizedforstreaming.rb +12 -4
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_optimizedforstreaming_1.rb +20 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_optimizedforstreaming_library_1.rb +20 -0
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb +36 -28
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_role.rb +12 -18
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_showordering.rb +6 -5
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_writer.rb +12 -4
- data/lib/plex_ruby_sdk/models/operations/searchresult.rb +10 -6
- data/lib/plex_ruby_sdk/models/operations/showordering.rb +6 -5
- data/lib/plex_ruby_sdk/models/operations/stream.rb +5 -5
- data/lib/plex_ruby_sdk/models/operations.rb +18 -24
- data/lib/plex_ruby_sdk/sdkconfiguration.rb +3 -3
- metadata +18 -24
- data/lib/plex_ruby_sdk/models/operations/enablecreditsmarkergeneration.rb +0 -20
- data/lib/plex_ruby_sdk/models/operations/episodesort.rb +0 -21
- data/lib/plex_ruby_sdk/models/operations/get_library_items_library_activedirection.rb +0 -21
- data/lib/plex_ruby_sdk/models/operations/get_library_items_library_defaultdirection.rb +0 -21
- data/lib/plex_ruby_sdk/models/operations/get_library_items_library_field.rb +0 -45
- data/lib/plex_ruby_sdk/models/operations/get_library_items_library_fieldtype.rb +0 -37
- data/lib/plex_ruby_sdk/models/operations/get_library_items_library_filter.rb +0 -49
- data/lib/plex_ruby_sdk/models/operations/get_library_items_library_operator.rb +0 -37
- data/lib/plex_ruby_sdk/models/operations/get_library_items_library_sort.rb +0 -63
- data/lib/plex_ruby_sdk/models/operations/get_library_items_stream.rb +0 -181
- data/lib/plex_ruby_sdk/models/operations/get_library_sections_all_streamtype.rb +0 -25
- data/lib/plex_ruby_sdk/models/operations/get_media_meta_data_streamtype.rb +0 -25
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_enablecreditsmarkergeneration.rb +0 -20
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_episodesort.rb +0 -21
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadatarating.rb +0 -41
- data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_stream.rb +0 -181
@@ -1,181 +0,0 @@
|
|
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
|
-
|
12
|
-
class GetLibraryItemsStream
|
13
|
-
extend T::Sig
|
14
|
-
include Crystalline::MetadataFields
|
15
|
-
|
16
|
-
# Codec used by the stream
|
17
|
-
field :codec, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('codec') } }
|
18
|
-
|
19
|
-
field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
|
20
|
-
# The index of the stream
|
21
|
-
field :index, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('index') } }
|
22
|
-
# Type of stream (1 = video, 2 = audio, 3 = subtitle)
|
23
|
-
field :stream_type, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('streamType') } }
|
24
|
-
# The audio channel layout
|
25
|
-
field :audio_channel_layout, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioChannelLayout') } }
|
26
|
-
# The bit depth of the video stream
|
27
|
-
field :bit_depth, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bitDepth') } }
|
28
|
-
# The bitrate of the stream in kbps
|
29
|
-
field :bitrate, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bitrate') } }
|
30
|
-
# Indicates if the subtitle stream can auto-sync
|
31
|
-
field :can_auto_sync, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('canAutoSync') } }
|
32
|
-
# Number of audio channels (for audio streams)
|
33
|
-
field :channels, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('channels') } }
|
34
|
-
# The chroma location of the video stream
|
35
|
-
field :chroma_location, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('chromaLocation') } }
|
36
|
-
# The chroma subsampling format
|
37
|
-
field :chroma_subsampling, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('chromaSubsampling') } }
|
38
|
-
|
39
|
-
field :closed_captions, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('closedCaptions') } }
|
40
|
-
# The coded height of the video stream
|
41
|
-
field :coded_height, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('codedHeight') } }
|
42
|
-
# The coded width of the video stream
|
43
|
-
field :coded_width, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('codedWidth') } }
|
44
|
-
# The color primaries of the video stream
|
45
|
-
field :color_primaries, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('colorPrimaries') } }
|
46
|
-
# The color range of the video stream
|
47
|
-
field :color_range, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('colorRange') } }
|
48
|
-
# The color space of the video stream
|
49
|
-
field :color_space, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('colorSpace') } }
|
50
|
-
# The transfer characteristics (TRC) of the video stream
|
51
|
-
field :color_trc, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('colorTrc') } }
|
52
|
-
# Indicates if this is the default stream
|
53
|
-
field :default, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('default') } }
|
54
|
-
# Display title of the stream
|
55
|
-
field :display_title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('displayTitle') } }
|
56
|
-
|
57
|
-
field :embedded_in_video, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('embeddedInVideo') } }
|
58
|
-
# Extended display title of the stream
|
59
|
-
field :extended_display_title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('extendedDisplayTitle') } }
|
60
|
-
# The frame rate of the video stream
|
61
|
-
field :frame_rate, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('frameRate') } }
|
62
|
-
# Indicates if the stream has a scaling matrix
|
63
|
-
field :has_scaling_matrix, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hasScalingMatrix') } }
|
64
|
-
|
65
|
-
field :hearing_impaired, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hearingImpaired') } }
|
66
|
-
# The height of the video stream
|
67
|
-
field :height, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('height') } }
|
68
|
-
# The language of the stream (for audio/subtitle streams)
|
69
|
-
field :language, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('language') } }
|
70
|
-
# Language code of the stream
|
71
|
-
field :language_code, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('languageCode') } }
|
72
|
-
# Language tag of the stream
|
73
|
-
field :language_tag, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('languageTag') } }
|
74
|
-
# The level of the video codec
|
75
|
-
field :level, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('level') } }
|
76
|
-
# The profile of the video codec
|
77
|
-
field :profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('profile') } }
|
78
|
-
# Number of reference frames
|
79
|
-
field :ref_frames, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('refFrames') } }
|
80
|
-
# Sampling rate of the audio stream in Hz
|
81
|
-
field :sampling_rate, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('samplingRate') } }
|
82
|
-
# The scan type (progressive or interlaced)
|
83
|
-
field :scan_type, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('scanType') } }
|
84
|
-
# Indicates if the stream is selected
|
85
|
-
field :selected, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('selected') } }
|
86
|
-
# The identifier of the video stream
|
87
|
-
field :stream_identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('streamIdentifier') } }
|
88
|
-
# Title of the subtitle track (for subtitle streams)
|
89
|
-
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
|
90
|
-
# The width of the video stream
|
91
|
-
field :width, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('width') } }
|
92
|
-
|
93
|
-
|
94
|
-
sig { params(codec: ::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), display_title: T.nilable(::String), embedded_in_video: T.nilable(::String), extended_display_title: T.nilable(::String), frame_rate: T.nilable(::Float), has_scaling_matrix: 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), profile: T.nilable(::String), ref_frames: T.nilable(::Integer), sampling_rate: T.nilable(::Integer), scan_type: T.nilable(::String), selected: T.nilable(T::Boolean), stream_identifier: T.nilable(::String), title: T.nilable(::String), width: T.nilable(::Integer)).void }
|
95
|
-
def initialize(codec: 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, display_title: nil, embedded_in_video: nil, extended_display_title: nil, frame_rate: nil, has_scaling_matrix: nil, hearing_impaired: nil, height: nil, language: nil, language_code: nil, language_tag: nil, level: nil, profile: nil, ref_frames: nil, sampling_rate: nil, scan_type: nil, selected: nil, stream_identifier: nil, title: nil, width: nil)
|
96
|
-
@codec = codec
|
97
|
-
@id = id
|
98
|
-
@index = index
|
99
|
-
@stream_type = stream_type
|
100
|
-
@audio_channel_layout = audio_channel_layout
|
101
|
-
@bit_depth = bit_depth
|
102
|
-
@bitrate = bitrate
|
103
|
-
@can_auto_sync = can_auto_sync
|
104
|
-
@channels = channels
|
105
|
-
@chroma_location = chroma_location
|
106
|
-
@chroma_subsampling = chroma_subsampling
|
107
|
-
@closed_captions = closed_captions
|
108
|
-
@coded_height = coded_height
|
109
|
-
@coded_width = coded_width
|
110
|
-
@color_primaries = color_primaries
|
111
|
-
@color_range = color_range
|
112
|
-
@color_space = color_space
|
113
|
-
@color_trc = color_trc
|
114
|
-
@default = default
|
115
|
-
@display_title = display_title
|
116
|
-
@embedded_in_video = embedded_in_video
|
117
|
-
@extended_display_title = extended_display_title
|
118
|
-
@frame_rate = frame_rate
|
119
|
-
@has_scaling_matrix = has_scaling_matrix
|
120
|
-
@hearing_impaired = hearing_impaired
|
121
|
-
@height = height
|
122
|
-
@language = language
|
123
|
-
@language_code = language_code
|
124
|
-
@language_tag = language_tag
|
125
|
-
@level = level
|
126
|
-
@profile = profile
|
127
|
-
@ref_frames = ref_frames
|
128
|
-
@sampling_rate = sampling_rate
|
129
|
-
@scan_type = scan_type
|
130
|
-
@selected = selected
|
131
|
-
@stream_identifier = stream_identifier
|
132
|
-
@title = title
|
133
|
-
@width = width
|
134
|
-
end
|
135
|
-
|
136
|
-
def ==(other)
|
137
|
-
return false unless other.is_a? self.class
|
138
|
-
return false unless @codec == other.codec
|
139
|
-
return false unless @id == other.id
|
140
|
-
return false unless @index == other.index
|
141
|
-
return false unless @stream_type == other.stream_type
|
142
|
-
return false unless @audio_channel_layout == other.audio_channel_layout
|
143
|
-
return false unless @bit_depth == other.bit_depth
|
144
|
-
return false unless @bitrate == other.bitrate
|
145
|
-
return false unless @can_auto_sync == other.can_auto_sync
|
146
|
-
return false unless @channels == other.channels
|
147
|
-
return false unless @chroma_location == other.chroma_location
|
148
|
-
return false unless @chroma_subsampling == other.chroma_subsampling
|
149
|
-
return false unless @closed_captions == other.closed_captions
|
150
|
-
return false unless @coded_height == other.coded_height
|
151
|
-
return false unless @coded_width == other.coded_width
|
152
|
-
return false unless @color_primaries == other.color_primaries
|
153
|
-
return false unless @color_range == other.color_range
|
154
|
-
return false unless @color_space == other.color_space
|
155
|
-
return false unless @color_trc == other.color_trc
|
156
|
-
return false unless @default == other.default
|
157
|
-
return false unless @display_title == other.display_title
|
158
|
-
return false unless @embedded_in_video == other.embedded_in_video
|
159
|
-
return false unless @extended_display_title == other.extended_display_title
|
160
|
-
return false unless @frame_rate == other.frame_rate
|
161
|
-
return false unless @has_scaling_matrix == other.has_scaling_matrix
|
162
|
-
return false unless @hearing_impaired == other.hearing_impaired
|
163
|
-
return false unless @height == other.height
|
164
|
-
return false unless @language == other.language
|
165
|
-
return false unless @language_code == other.language_code
|
166
|
-
return false unless @language_tag == other.language_tag
|
167
|
-
return false unless @level == other.level
|
168
|
-
return false unless @profile == other.profile
|
169
|
-
return false unless @ref_frames == other.ref_frames
|
170
|
-
return false unless @sampling_rate == other.sampling_rate
|
171
|
-
return false unless @scan_type == other.scan_type
|
172
|
-
return false unless @selected == other.selected
|
173
|
-
return false unless @stream_identifier == other.stream_identifier
|
174
|
-
return false unless @title == other.title
|
175
|
-
return false unless @width == other.width
|
176
|
-
true
|
177
|
-
end
|
178
|
-
end
|
179
|
-
end
|
180
|
-
end
|
181
|
-
end
|
@@ -1,25 +0,0 @@
|
|
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
|
-
# GetLibrarySectionsAllStreamType - Stream type:
|
12
|
-
# - 1 = video
|
13
|
-
# - 2 = audio
|
14
|
-
# - 3 = subtitle
|
15
|
-
#
|
16
|
-
class GetLibrarySectionsAllStreamType < 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
|
@@ -1,25 +0,0 @@
|
|
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
|
-
# GetMediaMetaDataStreamType - Stream type:
|
12
|
-
# - 1 = video
|
13
|
-
# - 2 = audio
|
14
|
-
# - 3 = subtitle
|
15
|
-
#
|
16
|
-
class GetMediaMetaDataStreamType < 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
|
data/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_enablecreditsmarkergeneration.rb
DELETED
@@ -1,20 +0,0 @@
|
|
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
|
-
# GetSearchAllLibrariesEnableCreditsMarkerGeneration - Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).
|
12
|
-
class GetSearchAllLibrariesEnableCreditsMarkerGeneration < T::Enum
|
13
|
-
enums do
|
14
|
-
LIBRARY_DEFAULT = new('-1')
|
15
|
-
DISABLED = new('0')
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
@@ -1,21 +0,0 @@
|
|
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
|
-
# GetSearchAllLibrariesEpisodeSort - Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).
|
12
|
-
class GetSearchAllLibrariesEpisodeSort < T::Enum
|
13
|
-
enums do
|
14
|
-
LIBRARY_DEFAULT = new('-1')
|
15
|
-
OLDEST_FIRST = new('0')
|
16
|
-
NEWEST_FIRST = new('1')
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
@@ -1,41 +0,0 @@
|
|
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
|
-
|
12
|
-
class GetSearchAllLibrariesMetaDataRating
|
13
|
-
extend T::Sig
|
14
|
-
include Crystalline::MetadataFields
|
15
|
-
|
16
|
-
# A URI or path to the rating image.
|
17
|
-
field :image, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('image') } }
|
18
|
-
# The type of rating (e.g., audience, critic).
|
19
|
-
field :type, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('type') } }
|
20
|
-
# The value of the rating.
|
21
|
-
field :value, ::Float, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('value') } }
|
22
|
-
|
23
|
-
|
24
|
-
sig { params(image: ::String, type: ::String, value: ::Float).void }
|
25
|
-
def initialize(image: nil, type: nil, value: nil)
|
26
|
-
@image = image
|
27
|
-
@type = type
|
28
|
-
@value = value
|
29
|
-
end
|
30
|
-
|
31
|
-
def ==(other)
|
32
|
-
return false unless other.is_a? self.class
|
33
|
-
return false unless @image == other.image
|
34
|
-
return false unless @type == other.type
|
35
|
-
return false unless @value == other.value
|
36
|
-
true
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
@@ -1,181 +0,0 @@
|
|
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
|
-
|
12
|
-
class GetSearchAllLibrariesStream
|
13
|
-
extend T::Sig
|
14
|
-
include Crystalline::MetadataFields
|
15
|
-
|
16
|
-
# Codec used by the stream
|
17
|
-
field :codec, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('codec') } }
|
18
|
-
|
19
|
-
field :id, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
|
20
|
-
# The index of the stream
|
21
|
-
field :index, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('index') } }
|
22
|
-
# Type of stream (1 = video, 2 = audio, 3 = subtitle)
|
23
|
-
field :stream_type, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('streamType') } }
|
24
|
-
# The audio channel layout
|
25
|
-
field :audio_channel_layout, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioChannelLayout') } }
|
26
|
-
# The bit depth of the video stream
|
27
|
-
field :bit_depth, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bitDepth') } }
|
28
|
-
# The bitrate of the stream in kbps
|
29
|
-
field :bitrate, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('bitrate') } }
|
30
|
-
# Indicates if the subtitle stream can auto-sync
|
31
|
-
field :can_auto_sync, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('canAutoSync') } }
|
32
|
-
# Number of audio channels (for audio streams)
|
33
|
-
field :channels, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('channels') } }
|
34
|
-
# The chroma location of the video stream
|
35
|
-
field :chroma_location, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('chromaLocation') } }
|
36
|
-
# The chroma subsampling format
|
37
|
-
field :chroma_subsampling, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('chromaSubsampling') } }
|
38
|
-
|
39
|
-
field :closed_captions, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('closedCaptions') } }
|
40
|
-
# The coded height of the video stream
|
41
|
-
field :coded_height, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('codedHeight') } }
|
42
|
-
# The coded width of the video stream
|
43
|
-
field :coded_width, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('codedWidth') } }
|
44
|
-
# The color primaries of the video stream
|
45
|
-
field :color_primaries, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('colorPrimaries') } }
|
46
|
-
# The color range of the video stream
|
47
|
-
field :color_range, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('colorRange') } }
|
48
|
-
# The color space of the video stream
|
49
|
-
field :color_space, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('colorSpace') } }
|
50
|
-
# The transfer characteristics (TRC) of the video stream
|
51
|
-
field :color_trc, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('colorTrc') } }
|
52
|
-
# Indicates if this is the default stream
|
53
|
-
field :default, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('default') } }
|
54
|
-
# Display title of the stream
|
55
|
-
field :display_title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('displayTitle') } }
|
56
|
-
|
57
|
-
field :embedded_in_video, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('embeddedInVideo') } }
|
58
|
-
# Extended display title of the stream
|
59
|
-
field :extended_display_title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('extendedDisplayTitle') } }
|
60
|
-
# The frame rate of the video stream
|
61
|
-
field :frame_rate, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('frameRate') } }
|
62
|
-
# Indicates if the stream has a scaling matrix
|
63
|
-
field :has_scaling_matrix, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hasScalingMatrix') } }
|
64
|
-
|
65
|
-
field :hearing_impaired, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hearingImpaired') } }
|
66
|
-
# The height of the video stream
|
67
|
-
field :height, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('height') } }
|
68
|
-
# The language of the stream (for audio/subtitle streams)
|
69
|
-
field :language, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('language') } }
|
70
|
-
# Language code of the stream
|
71
|
-
field :language_code, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('languageCode') } }
|
72
|
-
# Language tag of the stream
|
73
|
-
field :language_tag, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('languageTag') } }
|
74
|
-
# The level of the video codec
|
75
|
-
field :level, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('level') } }
|
76
|
-
# The profile of the video codec
|
77
|
-
field :profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('profile') } }
|
78
|
-
# Number of reference frames
|
79
|
-
field :ref_frames, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('refFrames') } }
|
80
|
-
# Sampling rate of the audio stream in Hz
|
81
|
-
field :sampling_rate, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('samplingRate') } }
|
82
|
-
# The scan type (progressive or interlaced)
|
83
|
-
field :scan_type, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('scanType') } }
|
84
|
-
# Indicates if the stream is selected
|
85
|
-
field :selected, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('selected') } }
|
86
|
-
# The identifier of the video stream
|
87
|
-
field :stream_identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('streamIdentifier') } }
|
88
|
-
# Title of the subtitle track (for subtitle streams)
|
89
|
-
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('title') } }
|
90
|
-
# The width of the video stream
|
91
|
-
field :width, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('width') } }
|
92
|
-
|
93
|
-
|
94
|
-
sig { params(codec: ::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), display_title: T.nilable(::String), embedded_in_video: T.nilable(::String), extended_display_title: T.nilable(::String), frame_rate: T.nilable(::Float), has_scaling_matrix: 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), profile: T.nilable(::String), ref_frames: T.nilable(::Integer), sampling_rate: T.nilable(::Integer), scan_type: T.nilable(::String), selected: T.nilable(T::Boolean), stream_identifier: T.nilable(::String), title: T.nilable(::String), width: T.nilable(::Integer)).void }
|
95
|
-
def initialize(codec: 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, display_title: nil, embedded_in_video: nil, extended_display_title: nil, frame_rate: nil, has_scaling_matrix: nil, hearing_impaired: nil, height: nil, language: nil, language_code: nil, language_tag: nil, level: nil, profile: nil, ref_frames: nil, sampling_rate: nil, scan_type: nil, selected: nil, stream_identifier: nil, title: nil, width: nil)
|
96
|
-
@codec = codec
|
97
|
-
@id = id
|
98
|
-
@index = index
|
99
|
-
@stream_type = stream_type
|
100
|
-
@audio_channel_layout = audio_channel_layout
|
101
|
-
@bit_depth = bit_depth
|
102
|
-
@bitrate = bitrate
|
103
|
-
@can_auto_sync = can_auto_sync
|
104
|
-
@channels = channels
|
105
|
-
@chroma_location = chroma_location
|
106
|
-
@chroma_subsampling = chroma_subsampling
|
107
|
-
@closed_captions = closed_captions
|
108
|
-
@coded_height = coded_height
|
109
|
-
@coded_width = coded_width
|
110
|
-
@color_primaries = color_primaries
|
111
|
-
@color_range = color_range
|
112
|
-
@color_space = color_space
|
113
|
-
@color_trc = color_trc
|
114
|
-
@default = default
|
115
|
-
@display_title = display_title
|
116
|
-
@embedded_in_video = embedded_in_video
|
117
|
-
@extended_display_title = extended_display_title
|
118
|
-
@frame_rate = frame_rate
|
119
|
-
@has_scaling_matrix = has_scaling_matrix
|
120
|
-
@hearing_impaired = hearing_impaired
|
121
|
-
@height = height
|
122
|
-
@language = language
|
123
|
-
@language_code = language_code
|
124
|
-
@language_tag = language_tag
|
125
|
-
@level = level
|
126
|
-
@profile = profile
|
127
|
-
@ref_frames = ref_frames
|
128
|
-
@sampling_rate = sampling_rate
|
129
|
-
@scan_type = scan_type
|
130
|
-
@selected = selected
|
131
|
-
@stream_identifier = stream_identifier
|
132
|
-
@title = title
|
133
|
-
@width = width
|
134
|
-
end
|
135
|
-
|
136
|
-
def ==(other)
|
137
|
-
return false unless other.is_a? self.class
|
138
|
-
return false unless @codec == other.codec
|
139
|
-
return false unless @id == other.id
|
140
|
-
return false unless @index == other.index
|
141
|
-
return false unless @stream_type == other.stream_type
|
142
|
-
return false unless @audio_channel_layout == other.audio_channel_layout
|
143
|
-
return false unless @bit_depth == other.bit_depth
|
144
|
-
return false unless @bitrate == other.bitrate
|
145
|
-
return false unless @can_auto_sync == other.can_auto_sync
|
146
|
-
return false unless @channels == other.channels
|
147
|
-
return false unless @chroma_location == other.chroma_location
|
148
|
-
return false unless @chroma_subsampling == other.chroma_subsampling
|
149
|
-
return false unless @closed_captions == other.closed_captions
|
150
|
-
return false unless @coded_height == other.coded_height
|
151
|
-
return false unless @coded_width == other.coded_width
|
152
|
-
return false unless @color_primaries == other.color_primaries
|
153
|
-
return false unless @color_range == other.color_range
|
154
|
-
return false unless @color_space == other.color_space
|
155
|
-
return false unless @color_trc == other.color_trc
|
156
|
-
return false unless @default == other.default
|
157
|
-
return false unless @display_title == other.display_title
|
158
|
-
return false unless @embedded_in_video == other.embedded_in_video
|
159
|
-
return false unless @extended_display_title == other.extended_display_title
|
160
|
-
return false unless @frame_rate == other.frame_rate
|
161
|
-
return false unless @has_scaling_matrix == other.has_scaling_matrix
|
162
|
-
return false unless @hearing_impaired == other.hearing_impaired
|
163
|
-
return false unless @height == other.height
|
164
|
-
return false unless @language == other.language
|
165
|
-
return false unless @language_code == other.language_code
|
166
|
-
return false unless @language_tag == other.language_tag
|
167
|
-
return false unless @level == other.level
|
168
|
-
return false unless @profile == other.profile
|
169
|
-
return false unless @ref_frames == other.ref_frames
|
170
|
-
return false unless @sampling_rate == other.sampling_rate
|
171
|
-
return false unless @scan_type == other.scan_type
|
172
|
-
return false unless @selected == other.selected
|
173
|
-
return false unless @stream_identifier == other.stream_identifier
|
174
|
-
return false unless @title == other.title
|
175
|
-
return false unless @width == other.width
|
176
|
-
true
|
177
|
-
end
|
178
|
-
end
|
179
|
-
end
|
180
|
-
end
|
181
|
-
end
|