ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.459.2

This commit is contained in:
speakeasybot
2024-12-21 00:08:49 +00:00
parent 076a205a23
commit 3a16a0c415
83 changed files with 603 additions and 972 deletions

View File

@@ -133,12 +133,12 @@ module PlexRubySDK
field :role, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryItemsRole]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Role') } }
field :season_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('seasonCount') } }
# Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# aired = TheTVDB (Aired),
# dvd = TheTVDB (DVD),
# absolute = TheTVDB (Absolute)).
# Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# tvdbAiring = TheTVDB (Aired),
# tvdbDvd = TheTVDB (DVD),
# tvdbAbsolute = TheTVDB (Absolute)).
#
field :show_ordering, T.nilable(::PlexRubySDK::Operations::GetLibraryItemsShowOrdering), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('showOrdering'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetLibraryItemsShowOrdering, true) } }

View File

@@ -21,6 +21,8 @@ module PlexRubySDK
SEASON = new(3)
EPISODE = new(4)
AUDIO = new(8)
ALBUM = new(9)
TRACK = new(10)
end
end
end

View File

@@ -7,20 +7,20 @@
module PlexRubySDK
module Operations
# GetLibraryItemsShowOrdering - Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# aired = TheTVDB (Aired),
# dvd = TheTVDB (DVD),
# absolute = TheTVDB (Absolute)).
# GetLibraryItemsShowOrdering - Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# tvdbAiring = TheTVDB (Aired),
# tvdbDvd = TheTVDB (DVD),
# tvdbAbsolute = TheTVDB (Absolute)).
#
class GetLibraryItemsShowOrdering < T::Enum
enums do
NONE = new('None')
TMDB_AIRING = new('tmdbAiring')
AIRED = new('aired')
DVD = new('dvd')
ABSOLUTE = new('absolute')
TVDB_AIRING = new('tvdbAiring')
TVDB_DVD = new('tvdbDvd')
TVDB_ABSOLUTE = new('tvdbAbsolute')
end
end
end

View File

@@ -29,12 +29,16 @@ module PlexRubySDK
field :duration, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
field :genre, T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyGenre]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Genre') } }
# The name of the album artist for the track when audio, and the name of the TV show for the episode when video.
field :grandparent_title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('grandparentTitle') } }
field :guid, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('guid') } }
field :guids, T.nilable(T::Array[::PlexRubySDK::Operations::Guids]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Guid') } }
field :has_premium_primary_extra, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('hasPremiumPrimaryExtra') } }
# The index starting from 0 of this media item in the MetaData array.
field :index, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('index') } }
field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
@@ -47,6 +51,12 @@ module PlexRubySDK
field :media, T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyMedia]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Media') } }
field :originally_available_at, T.nilable(::Date), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('originallyAvailableAt'), 'decoder': Utils.date_from_iso_format(true) } }
# The orginal untranslated name of the media item when non-english.
field :original_title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('originalTitle') } }
# The parent index starting from 0 of this media item in the parent MetaData array.
field :parent_index, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('parentIndex') } }
# The name of the album for the track when audio, and the name of the season for the episode when TV show.
field :parent_title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('parentTitle') } }
field :producer, T.nilable(T::Array[::PlexRubySDK::Operations::Producer]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Producer') } }
@@ -79,8 +89,8 @@ module PlexRubySDK
field :year, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('year') } }
sig { params(added_at: T.nilable(::Integer), art: T.nilable(::String), audience_rating: T.nilable(::Float), audience_rating_image: T.nilable(::String), content_rating: T.nilable(::String), country: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyCountry]), director: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyDirector]), duration: T.nilable(::Integer), genre: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyGenre]), guid: T.nilable(::String), guids: T.nilable(T::Array[::PlexRubySDK::Operations::Guids]), has_premium_primary_extra: T.nilable(::String), key: T.nilable(::String), library_section_id: T.nilable(::Integer), library_section_key: T.nilable(::String), library_section_title: T.nilable(::String), media: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyMedia]), originally_available_at: T.nilable(::Date), producer: T.nilable(T::Array[::PlexRubySDK::Operations::Producer]), rating: T.nilable(::Float), rating_image: T.nilable(::String), rating_key: T.nilable(::String), ratings: T.nilable(T::Array[::PlexRubySDK::Operations::Ratings]), role: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyRole]), studio: T.nilable(::String), summary: T.nilable(::String), tagline: T.nilable(::String), thumb: T.nilable(::String), title: T.nilable(::String), type: T.nilable(::String), updated_at: T.nilable(::Integer), writer: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyWriter]), year: T.nilable(::Integer)).void }
def initialize(added_at: nil, art: nil, audience_rating: nil, audience_rating_image: nil, content_rating: nil, country: nil, director: nil, duration: nil, genre: nil, guid: nil, guids: nil, has_premium_primary_extra: nil, key: nil, library_section_id: nil, library_section_key: nil, library_section_title: nil, media: nil, originally_available_at: nil, producer: nil, rating: nil, rating_image: nil, rating_key: nil, ratings: nil, role: nil, studio: nil, summary: nil, tagline: nil, thumb: nil, title: nil, type: nil, updated_at: nil, writer: nil, year: nil)
sig { params(added_at: T.nilable(::Integer), art: T.nilable(::String), audience_rating: T.nilable(::Float), audience_rating_image: T.nilable(::String), content_rating: T.nilable(::String), country: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyCountry]), director: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyDirector]), duration: T.nilable(::Integer), genre: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyGenre]), grandparent_title: T.nilable(::String), guid: T.nilable(::String), guids: T.nilable(T::Array[::PlexRubySDK::Operations::Guids]), has_premium_primary_extra: T.nilable(::String), index: T.nilable(::Integer), key: T.nilable(::String), library_section_id: T.nilable(::Integer), library_section_key: T.nilable(::String), library_section_title: T.nilable(::String), media: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyMedia]), originally_available_at: T.nilable(::Date), original_title: T.nilable(::String), parent_index: T.nilable(::Integer), parent_title: T.nilable(::String), producer: T.nilable(T::Array[::PlexRubySDK::Operations::Producer]), rating: T.nilable(::Float), rating_image: T.nilable(::String), rating_key: T.nilable(::String), ratings: T.nilable(T::Array[::PlexRubySDK::Operations::Ratings]), role: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyRole]), studio: T.nilable(::String), summary: T.nilable(::String), tagline: T.nilable(::String), thumb: T.nilable(::String), title: T.nilable(::String), type: T.nilable(::String), updated_at: T.nilable(::Integer), writer: T.nilable(T::Array[::PlexRubySDK::Operations::GetMetaDataByRatingKeyWriter]), year: T.nilable(::Integer)).void }
def initialize(added_at: nil, art: nil, audience_rating: nil, audience_rating_image: nil, content_rating: nil, country: nil, director: nil, duration: nil, genre: nil, grandparent_title: nil, guid: nil, guids: nil, has_premium_primary_extra: nil, index: nil, key: nil, library_section_id: nil, library_section_key: nil, library_section_title: nil, media: nil, originally_available_at: nil, original_title: nil, parent_index: nil, parent_title: nil, producer: nil, rating: nil, rating_image: nil, rating_key: nil, ratings: nil, role: nil, studio: nil, summary: nil, tagline: nil, thumb: nil, title: nil, type: nil, updated_at: nil, writer: nil, year: nil)
@added_at = added_at
@art = art
@audience_rating = audience_rating
@@ -90,15 +100,20 @@ module PlexRubySDK
@director = director
@duration = duration
@genre = genre
@grandparent_title = grandparent_title
@guid = guid
@guids = guids
@has_premium_primary_extra = has_premium_primary_extra
@index = index
@key = key
@library_section_id = library_section_id
@library_section_key = library_section_key
@library_section_title = library_section_title
@media = media
@originally_available_at = originally_available_at
@original_title = original_title
@parent_index = parent_index
@parent_title = parent_title
@producer = producer
@rating = rating
@rating_image = rating_image

View File

@@ -133,12 +133,12 @@ module PlexRubySDK
field :role, T.nilable(T::Array[::PlexRubySDK::Operations::Role]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Role') } }
field :season_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('seasonCount') } }
# Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# aired = TheTVDB (Aired),
# dvd = TheTVDB (DVD),
# absolute = TheTVDB (Absolute)).
# Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# tvdbAiring = TheTVDB (Aired),
# tvdbDvd = TheTVDB (DVD),
# tvdbAbsolute = TheTVDB (Absolute)).
#
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) } }

View File

@@ -133,12 +133,12 @@ module PlexRubySDK
field :role, T.nilable(T::Array[::PlexRubySDK::Operations::GetSearchAllLibrariesRole]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Role') } }
field :season_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('seasonCount') } }
# Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# aired = TheTVDB (Aired),
# dvd = TheTVDB (DVD),
# absolute = TheTVDB (Absolute)).
# Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# tvdbAiring = TheTVDB (Aired),
# tvdbDvd = TheTVDB (DVD),
# tvdbAbsolute = TheTVDB (Absolute)).
#
field :show_ordering, T.nilable(::PlexRubySDK::Operations::GetSearchAllLibrariesShowOrdering), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('showOrdering'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetSearchAllLibrariesShowOrdering, true) } }

View File

@@ -11,10 +11,10 @@ module PlexRubySDK
class GetSearchAllLibrariesRequest < ::PlexRubySDK::Utils::FieldAugmented
extend T::Sig
# An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
field :client_id, ::String, { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
# The search query term.
field :query, ::String, { 'query_param': { 'field_name': 'query', 'style': 'form', 'explode': true } }
# An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
field :client_id, T.nilable(::String), { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
# Whether to include collections in the search results.
field :include_collections, T.nilable(::PlexRubySDK::Operations::QueryParamIncludeCollections), { 'query_param': { 'field_name': 'includeCollections', 'style': 'form', 'explode': true } }
# Whether to include external media in the search results.
@@ -26,10 +26,10 @@ module PlexRubySDK
field :search_types, T.nilable(T::Array[::PlexRubySDK::Operations::SearchTypes]), { 'query_param': { 'field_name': 'searchTypes', 'style': 'form', 'explode': false } }
sig { params(query: ::String, client_id: T.nilable(::String), include_collections: T.nilable(::PlexRubySDK::Operations::QueryParamIncludeCollections), include_external_media: T.nilable(::PlexRubySDK::Operations::QueryParamIncludeExternalMedia), limit: T.nilable(::Integer), search_types: T.nilable(T::Array[::PlexRubySDK::Operations::SearchTypes])).void }
def initialize(query: nil, client_id: nil, include_collections: nil, include_external_media: nil, limit: nil, search_types: nil)
@query = query
sig { params(client_id: ::String, query: ::String, include_collections: T.nilable(::PlexRubySDK::Operations::QueryParamIncludeCollections), include_external_media: T.nilable(::PlexRubySDK::Operations::QueryParamIncludeExternalMedia), limit: T.nilable(::Integer), search_types: T.nilable(T::Array[::PlexRubySDK::Operations::SearchTypes])).void }
def initialize(client_id: nil, query: nil, include_collections: nil, include_external_media: nil, limit: nil, search_types: nil)
@client_id = client_id
@query = query
@include_collections = include_collections
@include_external_media = include_external_media
@limit = limit

View File

@@ -7,20 +7,20 @@
module PlexRubySDK
module Operations
# GetSearchAllLibrariesShowOrdering - Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# aired = TheTVDB (Aired),
# dvd = TheTVDB (DVD),
# absolute = TheTVDB (Absolute)).
# GetSearchAllLibrariesShowOrdering - Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# tvdbAiring = TheTVDB (Aired),
# tvdbDvd = TheTVDB (DVD),
# tvdbAbsolute = TheTVDB (Absolute)).
#
class GetSearchAllLibrariesShowOrdering < T::Enum
enums do
NONE = new('None')
TMDB_AIRING = new('tmdbAiring')
AIRED = new('aired')
DVD = new('dvd')
ABSOLUTE = new('absolute')
TVDB_AIRING = new('tvdbAiring')
TVDB_DVD = new('tvdbDvd')
TVDB_ABSOLUTE = new('tvdbAbsolute')
end
end
end

View File

@@ -21,6 +21,8 @@ module PlexRubySDK
SEASON = new(3)
EPISODE = new(4)
AUDIO = new(8)
ALBUM = new(9)
TRACK = new(10)
end
end
end

View File

@@ -15,7 +15,7 @@ module PlexRubySDK
extend T::Sig
# An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
field :client_id, T.nilable(::String), { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
field :client_id, ::String, { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
# Include Https entries in the results
field :include_https, T.nilable(::PlexRubySDK::Operations::IncludeHttps), { 'query_param': { 'field_name': 'includeHttps', 'style': 'form', 'explode': true } }
# Include IPv6 entries in the results
@@ -26,7 +26,7 @@ module PlexRubySDK
field :include_relay, T.nilable(::PlexRubySDK::Operations::IncludeRelay), { 'query_param': { 'field_name': 'includeRelay', 'style': 'form', 'explode': true } }
sig { params(client_id: T.nilable(::String), include_https: T.nilable(::PlexRubySDK::Operations::IncludeHttps), include_i_pv6: T.nilable(::PlexRubySDK::Operations::IncludeIPv6), include_relay: T.nilable(::PlexRubySDK::Operations::IncludeRelay)).void }
sig { params(client_id: ::String, include_https: T.nilable(::PlexRubySDK::Operations::IncludeHttps), include_i_pv6: T.nilable(::PlexRubySDK::Operations::IncludeIPv6), include_relay: T.nilable(::PlexRubySDK::Operations::IncludeRelay)).void }
def initialize(client_id: nil, include_https: nil, include_i_pv6: nil, include_relay: nil)
@client_id = client_id
@include_https = include_https

View File

@@ -15,7 +15,7 @@ module PlexRubySDK
extend T::Sig
# An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
field :client_id, T.nilable(::String), { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
field :client_id, ::String, { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
# The name of the client application. (Plex Web, Plex Media Server, etc.)
field :client_name, T.nilable(::String), { 'header': { 'field_name': 'X-Plex-Product', 'style': 'simple', 'explode': false } }
# The version of the client application.
@@ -31,7 +31,7 @@ module PlexRubySDK
field :strong, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'strong', 'style': 'form', 'explode': true } }
sig { params(client_id: T.nilable(::String), client_name: T.nilable(::String), client_version: T.nilable(::String), device_nickname: T.nilable(::String), platform: T.nilable(::String), strong: T.nilable(T::Boolean)).void }
sig { params(client_id: ::String, client_name: T.nilable(::String), client_version: T.nilable(::String), device_nickname: T.nilable(::String), platform: T.nilable(::String), strong: T.nilable(T::Boolean)).void }
def initialize(client_id: nil, client_name: nil, client_version: nil, device_nickname: nil, platform: nil, strong: nil)
@client_id = client_id
@client_name = client_name

View File

@@ -21,6 +21,8 @@ module PlexRubySDK
SEASON = new(3)
EPISODE = new(4)
AUDIO = new(8)
ALBUM = new(9)
TRACK = new(10)
end
end
end

View File

@@ -14,10 +14,10 @@ module PlexRubySDK
class GetTokenByPinIdRequest < ::PlexRubySDK::Utils::FieldAugmented
extend T::Sig
# An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
field :client_id, ::String, { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
# The PinID to retrieve an access token for
field :pin_id, ::Integer, { 'path_param': { 'field_name': 'pinID', 'style': 'simple', 'explode': false } }
# An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
field :client_id, T.nilable(::String), { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
# The name of the client application. (Plex Web, Plex Media Server, etc.)
field :client_name, T.nilable(::String), { 'header': { 'field_name': 'X-Plex-Product', 'style': 'simple', 'explode': false } }
# The version of the client application.
@@ -28,10 +28,10 @@ module PlexRubySDK
field :platform, T.nilable(::String), { 'header': { 'field_name': 'X-Plex-Platform', 'style': 'simple', 'explode': false } }
sig { params(pin_id: ::Integer, client_id: T.nilable(::String), client_name: T.nilable(::String), client_version: T.nilable(::String), device_nickname: T.nilable(::String), platform: T.nilable(::String)).void }
def initialize(pin_id: nil, client_id: nil, client_name: nil, client_version: nil, device_nickname: nil, platform: nil)
@pin_id = pin_id
sig { params(client_id: ::String, pin_id: ::Integer, client_name: T.nilable(::String), client_version: T.nilable(::String), device_nickname: T.nilable(::String), platform: T.nilable(::String)).void }
def initialize(client_id: nil, pin_id: nil, client_name: nil, client_version: nil, device_nickname: nil, platform: nil)
@client_id = client_id
@pin_id = pin_id
@client_name = client_name
@client_version = client_version
@device_nickname = device_nickname

View File

@@ -21,6 +21,8 @@ module PlexRubySDK
SEASON = new(3)
EPISODE = new(4)
AUDIO = new(8)
ALBUM = new(9)
TRACK = new(10)
end
end
end

View File

@@ -15,7 +15,7 @@ module PlexRubySDK
extend T::Sig
# An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
field :client_id, T.nilable(::String), { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
field :client_id, ::String, { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
# The name of the client application. (Plex Web, Plex Media Server, etc.)
field :client_name, T.nilable(::String), { 'header': { 'field_name': 'X-Plex-Product', 'style': 'simple', 'explode': false } }
# The version of the client application.
@@ -28,7 +28,7 @@ module PlexRubySDK
field :request_body, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataRequestBody), { 'request': { 'media_type': 'application/x-www-form-urlencoded' } }
sig { params(client_id: T.nilable(::String), client_name: T.nilable(::String), client_version: T.nilable(::String), device_nickname: T.nilable(::String), platform: T.nilable(::String), request_body: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataRequestBody)).void }
sig { params(client_id: ::String, client_name: T.nilable(::String), client_version: T.nilable(::String), device_nickname: T.nilable(::String), platform: T.nilable(::String), request_body: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataRequestBody)).void }
def initialize(client_id: nil, client_name: nil, client_version: nil, device_nickname: nil, platform: nil, request_body: nil)
@client_id = client_id
@client_name = client_name

View File

@@ -21,6 +21,8 @@ module PlexRubySDK
SEASON = new(3)
EPISODE = new(4)
AUDIO = new(8)
ALBUM = new(9)
TRACK = new(10)
end
end
end

View File

@@ -7,20 +7,20 @@
module PlexRubySDK
module Operations
# ShowOrdering - Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# aired = TheTVDB (Aired),
# dvd = TheTVDB (DVD),
# absolute = TheTVDB (Absolute)).
# ShowOrdering - Setting that indicates the episode ordering for the show
# None = Library default,
# tmdbAiring = The Movie Database (Aired),
# tvdbAiring = TheTVDB (Aired),
# tvdbDvd = TheTVDB (DVD),
# tvdbAbsolute = TheTVDB (Absolute)).
#
class ShowOrdering < T::Enum
enums do
NONE = new('None')
TMDB_AIRING = new('tmdbAiring')
AIRED = new('aired')
DVD = new('dvd')
ABSOLUTE = new('absolute')
TVDB_AIRING = new('tvdbAiring')
TVDB_DVD = new('tvdbDvd')
TVDB_ABSOLUTE = new('tvdbAbsolute')
end
end
end

View File

@@ -29,6 +29,7 @@ module PlexRubySDK
RESOLUTION = new('resolution')
FIRST_CHARACTER = new('firstCharacter')
FOLDER = new('folder')
ALBUMS = new('albums')
end
end
end

View File

@@ -21,6 +21,8 @@ module PlexRubySDK
SEASON = new(3)
EPISODE = new(4)
AUDIO = new(8)
ALBUM = new(9)
TRACK = new(10)
end
end
end