diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 4258595..5e9b254 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,23 +1,23 @@ lockVersion: 2.0.0 id: aa9449e7-c19d-411d-b8e2-f9c5fe982f6f management: - docChecksum: 6f287a2526fda4d3a32a92e891a0c4ce + docChecksum: 71aea44b27d124ce7bc7da09090777b5 docVersion: 0.0.3 - speakeasyVersion: 1.488.0 - generationVersion: 2.506.0 - releaseVersion: 0.7.5 - configChecksum: 453467e4a3f1ae5c31ea2a1724bae788 + speakeasyVersion: 1.513.4 + generationVersion: 2.545.4 + releaseVersion: 0.7.6 + configChecksum: fd67364d0363e2af9f89c9f90e061969 repoURL: https://github.com/LukeHagar/plexruby.git repoSubDirectory: . installationURL: https://github.com/LukeHagar/plexruby published: true features: ruby: - core: 3.5.3 + core: 3.5.4 deprecations: 2.81.2 enums: 2.81.1 flattening: 2.81.1 - globalSecurity: 2.81.7 + globalSecurity: 2.81.8 globalServerURLs: 2.82.3 methodServerURLs: 2.82.1 nameOverrides: 2.81.2 @@ -940,6 +940,10 @@ generatedFiles: - docs/sdks/users/README.md - docs/sdks/video/README.md - docs/sdks/watchlist/README.md + - lib/crystalline.rb + - lib/crystalline/metadata_fields.rb + - lib/crystalline/t.rb + - lib/crystalline/utils.rb - lib/plex_ruby_sdk.rb - lib/plex_ruby_sdk/activities.rb - lib/plex_ruby_sdk/authentication.rb @@ -1856,8 +1860,6 @@ generatedFiles: - lib/plex_ruby_sdk/statistics.rb - lib/plex_ruby_sdk/updater.rb - lib/plex_ruby_sdk/users.rb - - lib/plex_ruby_sdk/utils/metadata_fields.rb - - lib/plex_ruby_sdk/utils/t.rb - lib/plex_ruby_sdk/utils/utils.rb - lib/plex_ruby_sdk/video.rb - lib/plex_ruby_sdk/watchlist.rb @@ -2270,7 +2272,7 @@ examples: X-Plex-Container-Size: 50 responses: "200": - application/json: {"MediaContainer": {"size": 50, "identifier": "com.plexapp.plugins.library", "Meta": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "filter", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "filter", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "filter", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}]}, {"type": "tag", "Operator": []}, {"type": "tag", "Operator": []}]}, "Metadata": [{"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "episodeSort": "0", "enableCreditsMarkerGeneration": "-1", "showOrdering": "absolute", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}], "Country": [{"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}, {"image": "themoviedb://image.rating", "value": 3, "type": "audience"}, {"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}, {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "episodeSort": "0", "enableCreditsMarkerGeneration": "-1", "showOrdering": "absolute", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": []}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}], "Country": [{"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}]}} + application/json: {"MediaContainer": {"size": 50, "identifier": "com.plexapp.plugins.library", "allowSync": false, "Meta": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "filter", "subtype": "clip", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "filter", "subtype": "clip", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "filter", "subtype": "clip", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}]}, {"type": "tag", "Operator": []}, {"type": "tag", "Operator": []}]}, "Metadata": [{"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "episodeSort": "0", "enableCreditsMarkerGeneration": "-1", "showOrdering": "absolute", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}], "Country": [{"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}, {"image": "themoviedb://image.rating", "value": 3, "type": "audience"}, {"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}, {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "episodeSort": "0", "enableCreditsMarkerGeneration": "-1", "showOrdering": "absolute", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": []}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}], "Country": [{"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}]}} getLibraryHubs: speakeasy-default-get-library-hubs: parameters: @@ -2341,7 +2343,7 @@ examples: X-Plex-Container-Size: 50 responses: "200": - application/json: {"MediaContainer": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "filter", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "filter", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}]}], "size": 50, "identifier": "com.plexapp.plugins.library", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1680021154, "Metadata": [{"librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionUUID": "322a231a-b7f7-49f5-920f-14c61199cd30", "ratingKey": 59398, "key": "/library/metadata/59398", "guid": "plex://movie/5e161a83bea6ac004126e148", "studio": "Marvel Studios", "type": "movie", "title": "Ant-Man and the Wasp: Quantumania", "contentRating": "PG-13", "summary": "Scott Lang and Hope Van Dyne along with Hank Pym and Janet Van Dyne explore the Quantum Realm where they interact with strange creatures and embark on an adventure that goes beyond the limits of what they thought was possible.", "rating": 4.7, "audienceRating": 8.3, "year": 2023, "tagline": "Witness the beginning of a new dynasty.", "thumb": "/library/metadata/59398/thumb/1681888010", "art": "/library/metadata/59398/art/1681888010", "duration": 7474422, "originallyAvailableAt": "2023-02-15T00:00:00Z", "addedAt": 1681803215, "updatedAt": 1681888010, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/59399", "ratingImage": "rottentomatoes://image.rating.rotten", "Media": [{"id": 120345, "duration": 7474422, "bitrate": 3623, "width": 1920, "height": 804, "aspectRatio": 2.35, "audioChannels": 6, "audioCodec": "ac3", "videoCodec": "h264", "videoResolution": 1080, "container": "mp4", "videoFrameRate": "24p", "optimizedForStreaming": 0, "videoProfile": "high", "Part": [{"id": 120353, "key": "/library/parts/120353/1681803203/file.mp4", "duration": 7474422, "file": "/movies/Ant-Man and the Wasp Quantumania (2023)/Ant-Man.and.the.Wasp.Quantumania.2023.1080p.mp4", "size": 3395307162, "container": "mp4", "hasThumbnail": 1, "videoProfile": "high"}]}], "Genre": [{"tag": "Comedy"}], "Director": [{"tag": "Peyton Reed"}], "Writer": [{"tag": "Jeff Loveness"}], "Country": [{"tag": "United States of America"}, {"tag": "United States of America"}, {"tag": "United States of America"}], "Role": [{"tag": "Paul Rudd"}]}]}} + application/json: {"MediaContainer": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "filter", "subtype": "clip", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "filter", "subtype": "clip", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}]}], "size": 50, "identifier": "com.plexapp.plugins.library", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1680021154, "Metadata": [{"librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionUUID": "322a231a-b7f7-49f5-920f-14c61199cd30", "ratingKey": 59398, "key": "/library/metadata/59398", "guid": "plex://movie/5e161a83bea6ac004126e148", "studio": "Marvel Studios", "type": "movie", "title": "Ant-Man and the Wasp: Quantumania", "contentRating": "PG-13", "summary": "Scott Lang and Hope Van Dyne along with Hank Pym and Janet Van Dyne explore the Quantum Realm where they interact with strange creatures and embark on an adventure that goes beyond the limits of what they thought was possible.", "rating": 4.7, "audienceRating": 8.3, "year": 2023, "tagline": "Witness the beginning of a new dynasty.", "thumb": "/library/metadata/59398/thumb/1681888010", "art": "/library/metadata/59398/art/1681888010", "duration": 7474422, "originallyAvailableAt": "2023-02-15T00:00:00Z", "addedAt": 1681803215, "updatedAt": 1681888010, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/59399", "ratingImage": "rottentomatoes://image.rating.rotten", "Media": [{"id": 120345, "duration": 7474422, "bitrate": 3623, "width": 1920, "height": 804, "aspectRatio": 2.35, "audioChannels": 6, "audioCodec": "ac3", "videoCodec": "h264", "videoResolution": 1080, "container": "mp4", "videoFrameRate": "24p", "optimizedForStreaming": 0, "videoProfile": "high", "Part": [{"id": 120353, "key": "/library/parts/120353/1681803203/file.mp4", "duration": 7474422, "file": "/movies/Ant-Man and the Wasp Quantumania (2023)/Ant-Man.and.the.Wasp.Quantumania.2023.1080p.mp4", "size": 3395307162, "container": "mp4", "hasThumbnail": 1, "videoProfile": "high"}]}], "Genre": [{"tag": "Comedy"}], "Director": [{"tag": "Peyton Reed"}], "Writer": [{"tag": "Jeff Loveness"}], "Country": [{"tag": "United States of America"}, {"tag": "United States of America"}, {"tag": "United States of America"}], "Role": [{"tag": "Paul Rudd"}]}]}} "400": application/json: {"errors": [{"code": 1000, "message": "X-Plex-Client-Identifier is missing", "status": 400}, {"code": 1000, "message": "X-Plex-Client-Identifier is missing", "status": 400}, {"code": 1000, "message": "X-Plex-Client-Identifier is missing", "status": 400}]} "401": @@ -2392,7 +2394,7 @@ examples: X-Plex-Container-Size: 50 responses: "200": - application/json: {"MediaContainer": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "filter", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "filter", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "filter", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}]}, {"type": "tag", "Operator": []}], "size": 70, "totalSize": 170, "offset": 0, "content": "secondary", "allowSync": true, "nocache": true, "art": "/:/resources/movie-fanart.jpg", "identifier": "com.plexapp.plugins.library", "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionUUID": "322a231a-b7f7-49f5-920f-14c61199cd30", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1701731894, "thumb": "/:/resources/movie.png", "title1": "Movies", "title2": "Recently Released", "viewGroup": "movie", "viewMode": 65592, "mixedParents": true, "Metadata": [{"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "episodeSort": "0", "enableCreditsMarkerGeneration": "-1", "showOrdering": "absolute", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": []}], "Genre": [{"tag": "Adventure"}], "Country": [{"tag": "United States of America"}, {"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}, {"image": "themoviedb://image.rating", "value": 3, "type": "audience"}, {"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}, {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "episodeSort": "0", "enableCreditsMarkerGeneration": "-1", "showOrdering": "absolute", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}, {"tag": "Adventure"}], "Country": [{"tag": "United States of America"}, {"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}, {"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}], "Meta": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}]}]}}} + application/json: {"MediaContainer": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "filter", "subtype": "clip", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "filter", "subtype": "clip", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}, {"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}, {"key": "/library/sections/2/all?type=2", "type": "filter", "subtype": "clip", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter", "advanced": true}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}]}, {"type": "tag", "Operator": []}], "size": 70, "totalSize": 170, "offset": 0, "content": "secondary", "allowSync": true, "nocache": true, "art": "/:/resources/movie-fanart.jpg", "identifier": "com.plexapp.plugins.library", "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionUUID": "322a231a-b7f7-49f5-920f-14c61199cd30", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1701731894, "thumb": "/:/resources/movie.png", "title1": "Movies", "title2": "Recently Released", "viewGroup": "movie", "viewMode": 65592, "mixedParents": true, "Metadata": [{"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "episodeSort": "0", "enableCreditsMarkerGeneration": "-1", "showOrdering": "absolute", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": []}], "Genre": [{"tag": "Adventure"}], "Country": [{"tag": "United States of America"}, {"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}, {"tag": "James Cameron"}, {"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}, {"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}, {"image": "themoviedb://image.rating", "value": 3, "type": "audience"}, {"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}, {"ratingKey": "58683", "key": "/library/metadata/58683", "guid": "plex://movie/5d7768ba96b655001fdc0408", "studio": "20th Century Studios", "skipChildren": false, "librarySectionID": 1, "librarySectionTitle": "Movies", "librarySectionKey": "/library/sections/1", "type": "movie", "title": "Avatar: The Way of Water", "slug": "4-for-texas", "contentRating": "PG-13", "summary": "Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home.", "rating": 7.6, "audienceRating": 9.2, "year": 2022, "seasonCount": 2022, "tagline": "Return to Pandora.", "flattenSeasons": "1", "episodeSort": "0", "enableCreditsMarkerGeneration": "-1", "showOrdering": "absolute", "thumb": "/library/metadata/58683/thumb/1703239236", "art": "/library/metadata/58683/art/1703239236", "banner": "/library/metadata/58683/banner/1703239236", "duration": 11558112, "originallyAvailableAt": "2022-12-14T00:00:00Z", "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media", "primaryExtraKey": "/library/metadata/58684", "ratingImage": "rottentomatoes://image.rating.ripe", "grandparentRatingKey": "66", "grandparentGuid": "plex://show/5d9c081b170e24001f2a7be4", "grandparentKey": "/library/metadata/66", "grandparentTitle": "Caprica", "grandparentThumb": "/library/metadata/66/thumb/1705716261", "parentSlug": "alice-in-borderland-2020", "grandparentSlug": "alice-in-borderland-2020", "grandparentArt": "/library/metadata/66/art/1705716261", "grandparentTheme": "/library/metadata/66/theme/1705716261", "Media": [{"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}, {"id": 119534, "duration": 11558112, "bitrate": 25025, "width": 3840, "height": 2072, "aspectRatio": 1.85, "audioProfile": "dts", "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "optimizedForStreaming": 1, "has64bitOffsets": false, "Part": [{"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}, {"id": 119542, "key": "/library/parts/119542/1680457526/file.mkv", "duration": 11558112, "file": "/movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv", "size": 36158371307, "container": "mkv", "audioProfile": "dts", "has64bitOffsets": false, "optimizedForStreaming": false, "videoProfile": "main 10", "indexes": "sd", "hasThumbnail": "1", "Stream": [{"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}, {"id": 272796, "streamType": 1, "default": true, "selected": true, "codec": "h264", "index": 0, "bitrate": 6273, "colorPrimaries": "bt709", "colorRange": "tv", "colorSpace": "bt709", "colorTrc": "bt709", "bitDepth": 8, "chromaLocation": "left", "streamIdentifier": "2", "chromaSubsampling": "4:2:0", "codedHeight": 1088, "codedWidth": 1920, "frameRate": 29.97, "hasScalingMatrix": false, "hearingImpaired": false, "closedCaptions": false, "embeddedInVideo": "1", "height": 1080, "level": 40, "profile": "main", "refFrames": 4, "scanType": "progressive", "width": 1920, "displayTitle": "1080p (H.264)", "extendedDisplayTitle": "1080p (H.264)", "channels": 2, "language": "English", "languageTag": "en", "languageCode": "eng", "audioChannelLayout": "stereo", "samplingRate": 48000, "title": "English", "canAutoSync": false}]}]}], "Genre": [{"tag": "Adventure"}, {"tag": "Adventure"}], "Country": [{"tag": "United States of America"}, {"tag": "United States of America"}], "Director": [{"tag": "James Cameron"}], "Writer": [{"tag": "James Cameron"}], "Collection": [{"tag": "Working NL Subs"}], "Role": [{"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}, {"id": 294129, "filter": "actor=294129", "thumb": "https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg", "tag": "Mike Smith", "tagKey": "668e7e7b22bcad9064350c91", "role": "Self"}], "Location": [{"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}, {"path": "/TV Shows/House"}], "Guid": [{"id": "imdb://tt13015952"}, {"id": "imdb://tt13015952"}], "UltraBlurColors": {"topLeft": "11333b", "topRight": "0a232d", "bottomRight": "73958", "bottomLeft": "1f5066"}, "Rating": [{"image": "themoviedb://image.rating", "value": 3, "type": "audience"}, {"image": "themoviedb://image.rating", "value": 3, "type": "audience"}], "Image": [{"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}, {"alt": "Episode 1", "type": "background", "url": "/library/metadata/45521/thumb/1644710589"}], "titleSort": "Whale", "viewCount": 1, "lastViewedAt": 1682752242, "originalTitle": "映画 ブラッククローバー 魔法帝の剣", "viewOffset": 5222500, "skipCount": 1, "index": 1, "theme": "/library/metadata/1/theme/1705636920", "leafCount": 14, "viewedLeafCount": 0, "childCount": 1, "hasPremiumExtras": "1", "hasPremiumPrimaryExtra": "1", "parentRatingKey": "66", "parentGuid": "plex://show/5d9c081b170e24001f2a7be4", "parentStudio": "UCP", "parentKey": "/library/metadata/66", "parentTitle": "Caprica", "parentIndex": 1, "parentYear": 2010, "parentThumb": "/library/metadata/66/thumb/1705716261", "parentTheme": "/library/metadata/66/theme/1705716261"}], "Meta": {"Type": [{"key": "/library/sections/2/all?type=2", "type": "show", "title": "TV Shows", "active": false, "Filter": [{"filter": "genre", "filterType": "string", "key": "/library/sections/2/genre?type=2", "title": "Genre", "type": "filter"}], "Sort": [{"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}, {"default": "asc", "active": false, "activeDirection": "asc", "defaultDirection": "asc", "descKey": "titleSort:desc", "firstCharacterKey": "/library/sections/2/firstCharacter", "key": "titleSort", "title": "Title"}], "Field": [{"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}, {"key": "show.title", "title": "Show Title", "type": "string", "subType": "rating"}]}], "FieldType": [{"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}, {"key": "=", "title": "is"}, {"key": "=", "title": "is"}]}, {"type": "tag", "Operator": [{"key": "=", "title": "is"}]}]}}} "400": application/json: {"errors": [{"code": 1000, "message": "X-Plex-Client-Identifier is missing", "status": 400}, {"code": 1000, "message": "X-Plex-Client-Identifier is missing", "status": 400}, {"code": 1000, "message": "X-Plex-Client-Identifier is missing", "status": 400}]} "401": @@ -2973,7 +2975,7 @@ examples: asyncRefreshLocalMediaAgent: true responses: "200": - application/json: {"MediaContainer": {"size": 50, "allowSync": false, "identifier": "com.plexapp.plugins.library", "librarySectionID": 2, "librarySectionTitle": "TV Series", "librarySectionUUID": "e69655a2-ef48-4aba-bb19-0cc34d1e7d36", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1734362201, "Metadata": [{"ratingKey": "44288", "parentRatingKey": "48047", "grandparentRatingKey": "45520", "parentGuid": "plex://season/618b89208dde18df707ad15c", "grandparentGuid": "plex://show/5e16253691c20300412003a8", "grandparentSlug": "alice-in-borderland-2020", "grandparentKey": "/library/metadata/45520", "parentKey": "/library/metadata/48047", "key": "/library/metadata/44288/children", "guid": "plex://show/5d9c08254eefaa001f5d6dcb", "slug": "better-call-saul", "studio": "Sony Pictures Television", "type": "show", "title": "Better Call Saul", "originalTitle": "Wicked: Part I", "librarySectionTitle": "TV Series ", "librarySectionID": 2, "librarySectionKey": "/library/sections/2", "contentRating": "TV-MA", "summary": "Before Saul Goodman, he was Jimmy McGill. And if you're calling Jimmy, you're in real trouble. The prequel to \"Breaking Bad\" follows small-time attorney, Jimmy McGill, as he transforms into Walter White's morally challenged lawyer, Saul Goodman.", "index": 1, "grandparentTitle": "Alice in Borderland", "parentTitle": "Season 2", "audienceRating": 8.7, "viewCount": 4, "skipCount": 1, "lastViewedAt": 1625764795, "year": 2015, "tagline": "Make the call", "chapterSource": "media", "primaryExtraKey": "/library/metadata/134704", "thumb": "/library/metadata/44288/thumb/1736487993", "art": "/library/metadata/44288/art/1736487993", "theme": "/library/metadata/44288/theme/1736487993", "duration": 2700000, "originallyAvailableAt": "2015-02-08", "leafCount": 63, "viewedLeafCount": 4, "childCount": 6, "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "themoviedb://image.rating", "parentIndex": 2, "parentThumb": "/library/metadata/48047/thumb/1671800243", "grandparentThumb": "/library/metadata/45520/thumb/1736488003", "grandparentArt": "/library/metadata/45520/art/1736488003", "Media": [{"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "Part": [{"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "container": "mkv", "videoProfile": "main 10", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}]}, {"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "Part": [{"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "container": "mkv", "videoProfile": "main 10", "Stream": []}, {"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "container": "mkv", "videoProfile": "main 10", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}, {"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "container": "mkv", "videoProfile": "main 10", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}]}, {"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "Part": []}], "Image": [{"alt": "Better Call Saul", "type": "coverPoster", "url": "/library/metadata/44288/thumb/1736487993"}, {"alt": "Better Call Saul", "type": "coverPoster", "url": "/library/metadata/44288/thumb/1736487993"}], "UltraBlurColors": {"topLeft": "11333a", "topRight": "1d2721", "bottomRight": "5c451d", "bottomLeft": "372c10"}, "Genre": [{"id": 1057, "filter": "genre=1057", "tag": "Crime"}], "Country": [{"id": 58591, "filter": "country=58591", "tag": "United States of America"}, {"id": 58591, "filter": "country=58591", "tag": "United States of America"}], "Guid": [{"id": "imdb://tt3032476"}], "Rating": [{"image": "imdb://image.rating", "value": 9, "type": "audience"}], "Role": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Director": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Writer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Producer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Similar": [{"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}, {"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}, {"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}], "Location": [{"path": "/TV Shows/Better Call Saul"}]}, {"ratingKey": "44288", "parentRatingKey": "48047", "grandparentRatingKey": "45520", "parentGuid": "plex://season/618b89208dde18df707ad15c", "grandparentGuid": "plex://show/5e16253691c20300412003a8", "grandparentSlug": "alice-in-borderland-2020", "grandparentKey": "/library/metadata/45520", "parentKey": "/library/metadata/48047", "key": "/library/metadata/44288/children", "guid": "plex://show/5d9c08254eefaa001f5d6dcb", "slug": "better-call-saul", "studio": "Sony Pictures Television", "type": "show", "title": "Better Call Saul", "originalTitle": "Wicked: Part I", "librarySectionTitle": "TV Series ", "librarySectionID": 2, "librarySectionKey": "/library/sections/2", "contentRating": "TV-MA", "summary": "Before Saul Goodman, he was Jimmy McGill. And if you're calling Jimmy, you're in real trouble. The prequel to \"Breaking Bad\" follows small-time attorney, Jimmy McGill, as he transforms into Walter White's morally challenged lawyer, Saul Goodman.", "index": 1, "grandparentTitle": "Alice in Borderland", "parentTitle": "Season 2", "audienceRating": 8.7, "viewCount": 4, "skipCount": 1, "lastViewedAt": 1625764795, "year": 2015, "tagline": "Make the call", "chapterSource": "media", "primaryExtraKey": "/library/metadata/134704", "thumb": "/library/metadata/44288/thumb/1736487993", "art": "/library/metadata/44288/art/1736487993", "theme": "/library/metadata/44288/theme/1736487993", "duration": 2700000, "originallyAvailableAt": "2015-02-08", "leafCount": 63, "viewedLeafCount": 4, "childCount": 6, "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "themoviedb://image.rating", "parentIndex": 2, "parentThumb": "/library/metadata/48047/thumb/1671800243", "grandparentThumb": "/library/metadata/45520/thumb/1736488003", "grandparentArt": "/library/metadata/45520/art/1736488003", "Media": [{"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "Part": [{"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "container": "mkv", "videoProfile": "main 10", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}]}, {"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "Part": []}], "Image": [], "UltraBlurColors": {"topLeft": "11333a", "topRight": "1d2721", "bottomRight": "5c451d", "bottomLeft": "372c10"}, "Genre": [{"id": 1057, "filter": "genre=1057", "tag": "Crime"}], "Country": [{"id": 58591, "filter": "country=58591", "tag": "United States of America"}, {"id": 58591, "filter": "country=58591", "tag": "United States of America"}], "Guid": [{"id": "imdb://tt3032476"}, {"id": "imdb://tt3032476"}], "Rating": [], "Role": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Director": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Writer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Producer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Similar": [{"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}, {"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}], "Location": [{"path": "/TV Shows/Better Call Saul"}, {"path": "/TV Shows/Better Call Saul"}]}, {"ratingKey": "44288", "parentRatingKey": "48047", "grandparentRatingKey": "45520", "parentGuid": "plex://season/618b89208dde18df707ad15c", "grandparentGuid": "plex://show/5e16253691c20300412003a8", "grandparentSlug": "alice-in-borderland-2020", "grandparentKey": "/library/metadata/45520", "parentKey": "/library/metadata/48047", "key": "/library/metadata/44288/children", "guid": "plex://show/5d9c08254eefaa001f5d6dcb", "slug": "better-call-saul", "studio": "Sony Pictures Television", "type": "show", "title": "Better Call Saul", "originalTitle": "Wicked: Part I", "librarySectionTitle": "TV Series ", "librarySectionID": 2, "librarySectionKey": "/library/sections/2", "contentRating": "TV-MA", "summary": "Before Saul Goodman, he was Jimmy McGill. And if you're calling Jimmy, you're in real trouble. The prequel to \"Breaking Bad\" follows small-time attorney, Jimmy McGill, as he transforms into Walter White's morally challenged lawyer, Saul Goodman.", "index": 1, "grandparentTitle": "Alice in Borderland", "parentTitle": "Season 2", "audienceRating": 8.7, "viewCount": 4, "skipCount": 1, "lastViewedAt": 1625764795, "year": 2015, "tagline": "Make the call", "chapterSource": "media", "primaryExtraKey": "/library/metadata/134704", "thumb": "/library/metadata/44288/thumb/1736487993", "art": "/library/metadata/44288/art/1736487993", "theme": "/library/metadata/44288/theme/1736487993", "duration": 2700000, "originallyAvailableAt": "2015-02-08", "leafCount": 63, "viewedLeafCount": 4, "childCount": 6, "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "themoviedb://image.rating", "parentIndex": 2, "parentThumb": "/library/metadata/48047/thumb/1671800243", "grandparentThumb": "/library/metadata/45520/thumb/1736488003", "grandparentArt": "/library/metadata/45520/art/1736488003", "Media": [{"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "Part": [{"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "container": "mkv", "videoProfile": "main 10", "Stream": []}, {"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "container": "mkv", "videoProfile": "main 10", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}, {"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "container": "mkv", "videoProfile": "main 10", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}]}, {"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "Part": [{"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "container": "mkv", "videoProfile": "main 10", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}, {"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "container": "mkv", "videoProfile": "main 10", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}]}], "Image": [{"alt": "Better Call Saul", "type": "coverPoster", "url": "/library/metadata/44288/thumb/1736487993"}], "UltraBlurColors": {"topLeft": "11333a", "topRight": "1d2721", "bottomRight": "5c451d", "bottomLeft": "372c10"}, "Genre": [{"id": 1057, "filter": "genre=1057", "tag": "Crime"}], "Country": [{"id": 58591, "filter": "country=58591", "tag": "United States of America"}, {"id": 58591, "filter": "country=58591", "tag": "United States of America"}], "Guid": [], "Rating": [{"image": "imdb://image.rating", "value": 9, "type": "audience"}, {"image": "imdb://image.rating", "value": 9, "type": "audience"}], "Role": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Director": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Writer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Producer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Similar": [{"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}, {"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}], "Location": [{"path": "/TV Shows/Better Call Saul"}]}]}} + application/json: {"MediaContainer": {"size": 50, "allowSync": false, "identifier": "com.plexapp.plugins.library", "librarySectionID": 2, "librarySectionTitle": "TV Series", "librarySectionUUID": "e69655a2-ef48-4aba-bb19-0cc34d1e7d36", "mediaTagPrefix": "/system/bundle/media/flags/", "mediaTagVersion": 1734362201, "Metadata": [{"ratingKey": "44288", "parentRatingKey": "48047", "grandparentRatingKey": "45520", "parentGuid": "plex://season/618b89208dde18df707ad15c", "grandparentGuid": "plex://show/5e16253691c20300412003a8", "grandparentSlug": "alice-in-borderland-2020", "grandparentKey": "/library/metadata/45520", "parentKey": "/library/metadata/48047", "key": "/library/metadata/44288/children", "guid": "plex://show/5d9c08254eefaa001f5d6dcb", "slug": "better-call-saul", "studio": "Sony Pictures Television", "type": "show", "title": "Better Call Saul", "originalTitle": "Wicked: Part I", "librarySectionTitle": "TV Series ", "librarySectionID": 2, "librarySectionKey": "/library/sections/2", "contentRating": "TV-MA", "summary": "Before Saul Goodman, he was Jimmy McGill. And if you're calling Jimmy, you're in real trouble. The prequel to \"Breaking Bad\" follows small-time attorney, Jimmy McGill, as he transforms into Walter White's morally challenged lawyer, Saul Goodman.", "index": 1, "grandparentTitle": "Alice in Borderland", "parentTitle": "Season 2", "audienceRating": 8.7, "viewCount": 4, "skipCount": 1, "lastViewedAt": 1625764795, "year": 2015, "rating": 6, "ratingImage": "rottentomatoes://image.rating.ripe", "tagline": "Make the call", "chapterSource": "media", "primaryExtraKey": "/library/metadata/134704", "thumb": "/library/metadata/44288/thumb/1736487993", "art": "/library/metadata/44288/art/1736487993", "theme": "/library/metadata/44288/theme/1736487993", "duration": 2700000, "originallyAvailableAt": "2015-02-08", "leafCount": 63, "viewedLeafCount": 4, "childCount": 6, "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "themoviedb://image.rating", "parentIndex": 2, "parentThumb": "/library/metadata/48047/thumb/1671800243", "grandparentThumb": "/library/metadata/45520/thumb/1736488003", "grandparentArt": "/library/metadata/45520/art/1736488003", "Media": [{"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "displayOffset": 50, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "audioProfile": "dts", "has64bitOffsets": false, "Part": [{"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "packetLength": 188, "container": "mkv", "videoProfile": "main 10", "audioProfile": "dts", "has64bitOffsets": false, "hasThumbnail": "1", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}]}, {"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "displayOffset": 50, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "audioProfile": "dts", "has64bitOffsets": false, "Part": [{"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "packetLength": 188, "container": "mkv", "videoProfile": "main 10", "audioProfile": "dts", "has64bitOffsets": false, "hasThumbnail": "1", "Stream": []}, {"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "packetLength": 188, "container": "mkv", "videoProfile": "main 10", "audioProfile": "dts", "has64bitOffsets": false, "hasThumbnail": "1", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}, {"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "packetLength": 188, "container": "mkv", "videoProfile": "main 10", "audioProfile": "dts", "has64bitOffsets": false, "hasThumbnail": "1", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}]}, {"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "displayOffset": 50, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "audioProfile": "dts", "has64bitOffsets": false, "Part": []}], "Image": [{"alt": "Better Call Saul", "type": "coverPoster", "url": "/library/metadata/44288/thumb/1736487993"}, {"alt": "Better Call Saul", "type": "coverPoster", "url": "/library/metadata/44288/thumb/1736487993"}], "UltraBlurColors": {"topLeft": "11333a", "topRight": "1d2721", "bottomRight": "5c451d", "bottomLeft": "372c10"}, "Genre": [{"id": 1057, "filter": "genre=1057", "tag": "Crime"}], "Country": [{"id": 58591, "filter": "country=58591", "tag": "United States of America"}, {"id": 58591, "filter": "country=58591", "tag": "United States of America"}], "Guid": [{"id": "imdb://tt3032476"}], "Rating": [{"image": "imdb://image.rating", "value": 9, "type": "audience"}], "Role": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Director": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Writer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Producer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Similar": [{"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}, {"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}, {"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}], "Location": [{"path": "/TV Shows/Better Call Saul"}]}, {"ratingKey": "44288", "parentRatingKey": "48047", "grandparentRatingKey": "45520", "parentGuid": "plex://season/618b89208dde18df707ad15c", "grandparentGuid": "plex://show/5e16253691c20300412003a8", "grandparentSlug": "alice-in-borderland-2020", "grandparentKey": "/library/metadata/45520", "parentKey": "/library/metadata/48047", "key": "/library/metadata/44288/children", "guid": "plex://show/5d9c08254eefaa001f5d6dcb", "slug": "better-call-saul", "studio": "Sony Pictures Television", "type": "show", "title": "Better Call Saul", "originalTitle": "Wicked: Part I", "librarySectionTitle": "TV Series ", "librarySectionID": 2, "librarySectionKey": "/library/sections/2", "contentRating": "TV-MA", "summary": "Before Saul Goodman, he was Jimmy McGill. And if you're calling Jimmy, you're in real trouble. The prequel to \"Breaking Bad\" follows small-time attorney, Jimmy McGill, as he transforms into Walter White's morally challenged lawyer, Saul Goodman.", "index": 1, "grandparentTitle": "Alice in Borderland", "parentTitle": "Season 2", "audienceRating": 8.7, "viewCount": 4, "skipCount": 1, "lastViewedAt": 1625764795, "year": 2015, "rating": 6, "ratingImage": "rottentomatoes://image.rating.ripe", "tagline": "Make the call", "chapterSource": "media", "primaryExtraKey": "/library/metadata/134704", "thumb": "/library/metadata/44288/thumb/1736487993", "art": "/library/metadata/44288/art/1736487993", "theme": "/library/metadata/44288/theme/1736487993", "duration": 2700000, "originallyAvailableAt": "2015-02-08", "leafCount": 63, "viewedLeafCount": 4, "childCount": 6, "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "themoviedb://image.rating", "parentIndex": 2, "parentThumb": "/library/metadata/48047/thumb/1671800243", "grandparentThumb": "/library/metadata/45520/thumb/1736488003", "grandparentArt": "/library/metadata/45520/art/1736488003", "Media": [{"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "displayOffset": 50, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "audioProfile": "dts", "has64bitOffsets": false, "Part": [{"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "packetLength": 188, "container": "mkv", "videoProfile": "main 10", "audioProfile": "dts", "has64bitOffsets": false, "hasThumbnail": "1", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}]}, {"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "displayOffset": 50, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "audioProfile": "dts", "has64bitOffsets": false, "Part": []}], "Image": [], "UltraBlurColors": {"topLeft": "11333a", "topRight": "1d2721", "bottomRight": "5c451d", "bottomLeft": "372c10"}, "Genre": [{"id": 1057, "filter": "genre=1057", "tag": "Crime"}], "Country": [{"id": 58591, "filter": "country=58591", "tag": "United States of America"}, {"id": 58591, "filter": "country=58591", "tag": "United States of America"}], "Guid": [{"id": "imdb://tt3032476"}, {"id": "imdb://tt3032476"}], "Rating": [], "Role": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Director": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Writer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Producer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Similar": [{"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}, {"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}], "Location": [{"path": "/TV Shows/Better Call Saul"}, {"path": "/TV Shows/Better Call Saul"}]}, {"ratingKey": "44288", "parentRatingKey": "48047", "grandparentRatingKey": "45520", "parentGuid": "plex://season/618b89208dde18df707ad15c", "grandparentGuid": "plex://show/5e16253691c20300412003a8", "grandparentSlug": "alice-in-borderland-2020", "grandparentKey": "/library/metadata/45520", "parentKey": "/library/metadata/48047", "key": "/library/metadata/44288/children", "guid": "plex://show/5d9c08254eefaa001f5d6dcb", "slug": "better-call-saul", "studio": "Sony Pictures Television", "type": "show", "title": "Better Call Saul", "originalTitle": "Wicked: Part I", "librarySectionTitle": "TV Series ", "librarySectionID": 2, "librarySectionKey": "/library/sections/2", "contentRating": "TV-MA", "summary": "Before Saul Goodman, he was Jimmy McGill. And if you're calling Jimmy, you're in real trouble. The prequel to \"Breaking Bad\" follows small-time attorney, Jimmy McGill, as he transforms into Walter White's morally challenged lawyer, Saul Goodman.", "index": 1, "grandparentTitle": "Alice in Borderland", "parentTitle": "Season 2", "audienceRating": 8.7, "viewCount": 4, "skipCount": 1, "lastViewedAt": 1625764795, "year": 2015, "rating": 6, "ratingImage": "rottentomatoes://image.rating.ripe", "tagline": "Make the call", "chapterSource": "media", "primaryExtraKey": "/library/metadata/134704", "thumb": "/library/metadata/44288/thumb/1736487993", "art": "/library/metadata/44288/art/1736487993", "theme": "/library/metadata/44288/theme/1736487993", "duration": 2700000, "originallyAvailableAt": "2015-02-08", "leafCount": 63, "viewedLeafCount": 4, "childCount": 6, "addedAt": 1556281940, "updatedAt": 1556281940, "audienceRatingImage": "themoviedb://image.rating", "parentIndex": 2, "parentThumb": "/library/metadata/48047/thumb/1671800243", "grandparentThumb": "/library/metadata/45520/thumb/1736488003", "grandparentArt": "/library/metadata/45520/art/1736488003", "Media": [{"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "displayOffset": 50, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "audioProfile": "dts", "has64bitOffsets": false, "Part": [{"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "packetLength": 188, "container": "mkv", "videoProfile": "main 10", "audioProfile": "dts", "has64bitOffsets": false, "hasThumbnail": "1", "Stream": []}, {"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "packetLength": 188, "container": "mkv", "videoProfile": "main 10", "audioProfile": "dts", "has64bitOffsets": false, "hasThumbnail": "1", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}, {"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "packetLength": 188, "container": "mkv", "videoProfile": "main 10", "audioProfile": "dts", "has64bitOffsets": false, "hasThumbnail": "1", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}]}, {"id": 387322, "duration": 9610350, "bitrate": 25512, "width": 3840, "height": 1602, "aspectRatio": 2.35, "audioChannels": 6, "displayOffset": 50, "audioCodec": "eac3", "videoCodec": "hevc", "videoResolution": "4k", "container": "mkv", "videoFrameRate": "24p", "videoProfile": "main 10", "hasVoiceActivity": false, "audioProfile": "dts", "has64bitOffsets": false, "Part": [{"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "packetLength": 188, "container": "mkv", "videoProfile": "main 10", "audioProfile": "dts", "has64bitOffsets": false, "hasThumbnail": "1", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}, {"accessible": true, "exists": true, "id": 418385, "key": "/library/parts/418385/1735864239/file.mkv", "indexes": "sd", "duration": 9610350, "file": "/mnt/Movies_1/W/Wicked (2024).mkv", "size": 30649952104, "packetLength": 188, "container": "mkv", "videoProfile": "main 10", "audioProfile": "dts", "has64bitOffsets": false, "hasThumbnail": "1", "Stream": [{"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}, {"id": 1002625, "streamType": 1, "default": true, "codec": "hevc", "index": 0, "bitrate": 24743, "language": "English", "languageTag": "en", "languageCode": "eng", "headerCompression": true, "DOVIBLCompatID": 1, "DOVIBLPresent": true, "DOVIELPresent": false, "DOVILevel": 6, "DOVIPresent": true, "DOVIProfile": 8, "DOVIRPUPresent": true, "DOVIVersion": "1.0", "bitDepth": 10, "chromaLocation": "topleft", "chromaSubsampling": "4:2:0", "codedHeight": 1608, "codedWidth": 3840, "colorPrimaries": "bt2020", "colorRange": "tv", "colorSpace": "bt2020nc", "colorTrc": "smpte2084", "frameRate": 23.976, "height": 1602, "level": 150, "original": true, "hasScalingMatrix": false, "profile": "main 10", "scanType": "progressive", "refFrames": 1, "width": 3840, "displayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "extendedDisplayTitle": "4K DoVi/HDR10 (HEVC Main 10)", "selected": true, "forced": true, "channels": 6, "audioChannelLayout": "5.1(side)", "samplingRate": 48000, "canAutoSync": false, "hearingImpaired": true, "dub": true, "title": "SDH"}]}]}], "Image": [{"alt": "Better Call Saul", "type": "coverPoster", "url": "/library/metadata/44288/thumb/1736487993"}], "UltraBlurColors": {"topLeft": "11333a", "topRight": "1d2721", "bottomRight": "5c451d", "bottomLeft": "372c10"}, "Genre": [{"id": 1057, "filter": "genre=1057", "tag": "Crime"}], "Country": [{"id": 58591, "filter": "country=58591", "tag": "United States of America"}, {"id": 58591, "filter": "country=58591", "tag": "United States of America"}], "Guid": [], "Rating": [{"image": "imdb://image.rating", "value": 9, "type": "audience"}, {"image": "imdb://image.rating", "value": 9, "type": "audience"}], "Role": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Director": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Writer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Producer": [{"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}, {"id": 109501, "filter": "actor=109501", "tag": "Bob Odenkirk", "tagKey": "5d77683254f42c001f8c3f69", "role": "Jimmy McGill", "thumb": "https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg"}], "Similar": [{"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}, {"id": 26, "filter": "similar=26", "tag": "Breaking Bad"}], "Location": [{"path": "/TV Shows/Better Call Saul"}]}]}} "400": application/json: {"errors": [{"code": 1000, "message": "X-Plex-Client-Identifier is missing", "status": 400}, {"code": 1000, "message": "X-Plex-Client-Identifier is missing", "status": 400}]} "401": diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 1b22049..64e77d3 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -7,15 +7,18 @@ generation: useClassNamesForArrayFields: true fixes: nameResolutionDec2023: true + nameResolutionFeb2025: false parameterOrderingFeb2024: true requestResponseComponentNamesFeb2024: true + securityFeb2025: false auth: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false ruby: - version: 0.7.5 + version: 0.7.6 author: LukeHagar description: Ruby Client SDK Generated by Speakeasy + flattenGlobalSecurity: false imports: option: openapi paths: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2b4bbd8..da00f11 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.488.0 +speakeasyVersion: 1.513.4 sources: my-source: sourceNamespace: my-source @@ -9,19 +9,19 @@ sources: - main plexapi: sourceNamespace: plexapi - sourceRevisionDigest: sha256:0efb9039972533bf1190dfc1ffb377429a8e486b6299442e732f662c1ffbeca6 - sourceBlobDigest: sha256:038d73166cc9db17f514d511cfe4365ea032f4ebcb247fa86b7aa1bba0e1ab46 + sourceRevisionDigest: sha256:bf7001af017ce5072c503bfbaf60793f94549163b517489dc53e4f7b685659c0 + sourceBlobDigest: sha256:ed2b29043c84f32d2efa92a126083fd9a81644a7ce9c6ac86d9aeb3493cbd6f8 tags: - latest - - speakeasy-sdk-regen-1739232482 + - speakeasy-sdk-regen-1741392402 targets: plexruby: source: plexapi sourceNamespace: plexapi - sourceRevisionDigest: sha256:0efb9039972533bf1190dfc1ffb377429a8e486b6299442e732f662c1ffbeca6 - sourceBlobDigest: sha256:038d73166cc9db17f514d511cfe4365ea032f4ebcb247fa86b7aa1bba0e1ab46 + sourceRevisionDigest: sha256:bf7001af017ce5072c503bfbaf60793f94549163b517489dc53e4f7b685659c0 + sourceBlobDigest: sha256:ed2b29043c84f32d2efa92a126083fd9a81644a7ce9c6ac86d9aeb3493cbd6f8 codeSamplesNamespace: code-samples-ruby-plexruby - codeSamplesRevisionDigest: sha256:21075555343fdaee57b8bcb81c1dc0b14ba00606b2fc9fc27e4a95c7a6ad3c80 + codeSamplesRevisionDigest: sha256:4259370282112655285050483b760855bebec41a60b5528b24ef2c82431a123f workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/Gemfile.lock b/Gemfile.lock index 4e8656e..2cce13d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - plex_ruby_sdk (0.7.5) + plex_ruby_sdk (0.7.6) faraday faraday-multipart rack @@ -25,6 +25,8 @@ GEM language_server-protocol (3.17.0.3) logger (1.6.1) minitest (5.25.2) + minitest-focus (1.4.0) + minitest (>= 4, < 6) multipart-post (2.4.1) net-http (0.5.0) uri @@ -96,6 +98,7 @@ PLATFORMS DEPENDENCIES minitest + minitest-focus plex_ruby_sdk! rubocop (~> 1.60.2) sorbet diff --git a/README.md b/README.md index f202bc7..e6a873b 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ The following SDKs are generated from the OpenAPI Specification. They are automa * [SDKs](#sdks) * [SDK Installation](#sdk-installation) * [SDK Example Usage](#sdk-example-usage) + * [Authentication](#authentication) * [Available Resources and Operations](#available-resources-and-operations) * [Server Selection](#server-selection) * [Development](#development) @@ -73,15 +74,12 @@ gem install plex_ruby_sdk ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.server.get_server_capabilities() if ! res.object.nil? @@ -91,6 +89,36 @@ end ``` + +## Authentication + +### Per-Client Security Schemes + +This SDK supports the following security scheme globally: + +| Name | Type | Scheme | +| -------------- | ------ | ------- | +| `access_token` | apiKey | API key | + +You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. For example: +```ruby +require 'plex_ruby_sdk' + +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + +res = s.server.get_server_capabilities() + +if ! res.object.nil? + # handle response +end + +``` + + ## Available Resources and Operations @@ -239,27 +267,48 @@ end ### Server Variables The default server `{protocol}://{ip}:{port}` contains variables and is set to `https://10.10.10.47:32400` by default. To override default values, the following parameters are available when initializing the SDK client instance: - * `protocol (::PlexRubySDK::ServerVariables::ServerProtocol)` - * `ip (::String)` - * `port (::String)` -### Override Server URL Per-Client +| Variable | Parameter | Supported Values | Default | Description | +| ---------- | ----------------------------------------------------------- | -------------------------- | --------------- | ---------------------------------------------- | +| `protocol` | `protocol (::PlexRubySDK::ServerVariables::ServerProtocol)` | - `"http"`
- `"https"` | `"https"` | The protocol to use for the server connection | +| `ip` | `ip (::String)` | ::String | `"10.10.10.47"` | The IP address or hostname of your Plex Server | +| `port` | `port (::String)` | ::String | `"32400"` | The port of your Plex Server | + +#### Example -The default server can also be overridden globally by passing a URL to the `server_url (String)` optional parameter when initializing the SDK client instance. For example: ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + protocol: "https", + ip: "e0c3:bcc0:6bac:dccc:c4ec:34b1:ca98:4cb9", + port: "40311", + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + +res = s.server.get_server_capabilities() + +if ! res.object.nil? + # handle response +end + +``` + +### Override Server URL Per-Client + +The default server can be overridden globally by passing a URL to the `server_url (String)` optional parameter when initializing the SDK client instance. For example: +```ruby +require 'plex_ruby_sdk' s = ::PlexRubySDK::PlexAPI.new( server_url: "https://10.10.10.47:32400", + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), ) -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - res = s.server.get_server_capabilities() if ! res.object.nil? @@ -274,15 +323,12 @@ The server URL can also be overridden on a per-operation basis, provided a serve ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.plex.get_companions_data(server_url: "https://plex.tv/api/v2") if ! res.response_bodies.nil? diff --git a/RELEASES.md b/RELEASES.md index b6092b4..1c9644e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -726,4 +726,14 @@ Based on: ### Generated - [ruby v0.7.5] . ### Releases -- [Ruby Gems v0.7.5] https://rubygems.org/gems/plex_ruby_sdk/versions/0.7.5 - . \ No newline at end of file +- [Ruby Gems v0.7.5] https://rubygems.org/gems/plex_ruby_sdk/versions/0.7.5 - . + +## 2025-03-08 00:06:26 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.513.4 (2.545.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.7.6] . +### Releases +- [Ruby Gems v0.7.6] https://rubygems.org/gems/plex_ruby_sdk/versions/0.7.6 - . \ No newline at end of file diff --git a/Rakefile b/Rakefile index 86ad483..18fbd6d 100644 --- a/Rakefile +++ b/Rakefile @@ -9,13 +9,15 @@ RuboCop::RakeTask.new Minitest::TestTask.create -# So far default is working - leaving this here for reference. - -# Minitest::TestTask.create(:test) do |t| -# t.libs << 'test' -# t.libs << 'lib' -# t.warning = false -# t.test_globs = ['test/**/*_test.rb'] -# end - task :default => :test + + +# Developers can run all tests with: +# +# $ rake test +# +# Developers can run individual test files with: +# +# $ rake test test/parameter_test +# +# and run individual tests by adding `focus` to the line before the test definition. \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 7b71f23..1496899 100644 --- a/USAGE.md +++ b/USAGE.md @@ -2,15 +2,12 @@ ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.server.get_server_capabilities() if ! res.object.nil? diff --git a/codeSamples.yaml b/codeSamples.yaml index 210f6fd..5f095d0 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -8,484 +8,1718 @@ actions: x-codeSamples: - lang: ruby label: getServerCapabilities - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.server.get_server_capabilities()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.server.get_server_capabilities() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/:/prefs"]["get"] update: x-codeSamples: - lang: ruby label: getServerPreferences - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.server.get_server_preferences()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.server.get_server_preferences() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/:/progress"]["post"] update: x-codeSamples: - lang: ruby label: updatePlayProgress - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.media.update_play_progress(key=\"\", time=90000.0, state=\"played\")\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.media.update_play_progress(key="", time=90000.0, state="played") + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/:/scrobble"]["get"] update: x-codeSamples: - lang: ruby label: markPlayed - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.media.mark_played(key=59398.0)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.media.mark_played(key=59398.0) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/:/timeline"]["get"] update: x-codeSamples: - lang: ruby label: getTimeline - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetTimelineRequest.new(\n rating_key: 23409.0,\n key: \"/library/metadata/23409\",\n state: ::PlexRubySDK::Operations::State::PLAYING,\n has_mde: 1.0,\n time: 2000.0,\n duration: 10000.0,\n context: \"home:hub.continueWatching\",\n play_queue_item_id: 1.0,\n play_back_time: 2000.0,\n row: 1.0,\n)\n \nres = s.video.get_timeline(req)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetTimelineRequest.new( + rating_key: 23409.0, + key: "/library/metadata/23409", + state: ::PlexRubySDK::Operations::State::PLAYING, + has_mde: 1.0, + time: 2000.0, + duration: 10000.0, + context: "home:hub.continueWatching", + play_queue_item_id: 1.0, + play_back_time: 2000.0, + row: 1.0, + ) + + res = s.video.get_timeline(req) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/:/unscrobble"]["get"] update: x-codeSamples: - lang: ruby label: markUnplayed - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.media.mark_unplayed(key=59398.0)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.media.mark_unplayed(key=59398.0) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/activities"]["get"] update: x-codeSamples: - lang: ruby label: getServerActivities - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.activities.get_server_activities()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.activities.get_server_activities() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/activities/{activityUUID}"]["delete"] update: x-codeSamples: - lang: ruby label: cancelServerActivities - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.activities.cancel_server_activities(activity_uuid=\"25b71ed5-0f9d-461c-baa7-d404e9e10d3e\")\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.activities.cancel_server_activities(activity_uuid="25b71ed5-0f9d-461c-baa7-d404e9e10d3e") + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/butler"]["delete"] update: x-codeSamples: - lang: ruby label: stopAllTasks - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.butler.stop_all_tasks()\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.butler.stop_all_tasks() + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/butler"]["get"] update: x-codeSamples: - lang: ruby label: getButlerTasks - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.butler.get_butler_tasks()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.butler.get_butler_tasks() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/butler"]["post"] update: x-codeSamples: - lang: ruby label: startAllTasks - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.butler.start_all_tasks()\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.butler.start_all_tasks() + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/butler/{taskName}"]["delete"] update: x-codeSamples: - lang: ruby label: stopTask - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.butler.stop_task(task_name=::PlexRubySDK::Operations::PathParamTaskName::BACKUP_DATABASE)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.butler.stop_task(task_name=::PlexRubySDK::Operations::PathParamTaskName::BACKUP_DATABASE) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/butler/{taskName}"]["post"] update: x-codeSamples: - lang: ruby label: startTask - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.butler.start_task(task_name=::PlexRubySDK::Operations::TaskName::CLEAN_OLD_BUNDLES)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.butler.start_task(task_name=::PlexRubySDK::Operations::TaskName::CLEAN_OLD_BUNDLES) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/clients"]["get"] update: x-codeSamples: - lang: ruby label: getAvailableClients - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.server.get_available_clients()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.server.get_available_clients() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/companions"]["get"] update: x-codeSamples: - lang: ruby label: getCompanionsData - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.plex.get_companions_data()\n\nif ! res.response_bodies.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.plex.get_companions_data() + + if ! res.response_bodies.nil? + # handle response + end - target: $["paths"]["/devices"]["get"] update: x-codeSamples: - lang: ruby label: getDevices - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.server.get_devices()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.server.get_devices() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/friends"]["get"] update: x-codeSamples: - lang: ruby label: getUserFriends - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.plex.get_user_friends()\n\nif ! res.friends.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.plex.get_user_friends() + + if ! res.friends.nil? + # handle response + end - target: $["paths"]["/geoip"]["get"] update: x-codeSamples: - lang: ruby label: getGeoData - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\n\n \nres = s.plex.get_geo_data()\n\nif ! res.geo_data.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new + + res = s.plex.get_geo_data() + + if ! res.geo_data.nil? + # handle response + end - target: $["paths"]["/home"]["get"] update: x-codeSamples: - lang: ruby label: getHomeData - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.plex.get_home_data()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.plex.get_home_data() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/hubs"]["get"] update: x-codeSamples: - lang: ruby label: getGlobalHubs - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.hubs.get_global_hubs(count=1262.49, only_transient=::PlexRubySDK::Operations::OnlyTransient::ONE)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.hubs.get_global_hubs(count=1262.49, only_transient=::PlexRubySDK::Operations::OnlyTransient::ONE) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/hubs/home/recentlyAdded"]["get"] update: x-codeSamples: - lang: ruby - label: added - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetRecentlyAddedRequest.new(\n content_directory_id: 470161,\n section_id: 2,\n type: ::PlexRubySDK::Operations::Type::TV_SHOW,\n include_meta: ::PlexRubySDK::Operations::IncludeMeta::ENABLE,\n x_plex_container_start: 0,\n x_plex_container_size: 50,\n)\n \nres = s.hubs.get_recently_added(req)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-recently-added + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetRecentlyAddedRequest.new( + content_directory_id: 470161, + section_id: 2, + type: ::PlexRubySDK::Operations::Type::TV_SHOW, + include_meta: ::PlexRubySDK::Operations::IncludeMeta::ENABLE, + x_plex_container_start: 0, + x_plex_container_size: 50, + ) + + res = s.hubs.get_recently_added(req) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/hubs/search"]["get"] update: x-codeSamples: - lang: ruby label: performSearch - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.search.perform_search(query=\"dylan\", section_id=9372.7, limit=5.0)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.search.perform_search(query="dylan", section_id=9372.7, limit=5.0) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/hubs/search/voice"]["get"] update: x-codeSamples: - lang: ruby label: performVoiceSearch - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.search.perform_voice_search(query=\"dead+poop\", section_id=4094.8, limit=5.0)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.search.perform_voice_search(query="dead+poop", section_id=4094.8, limit=5.0) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/hubs/sections/{sectionId}"]["get"] update: x-codeSamples: - lang: ruby label: getLibraryHubs - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.hubs.get_library_hubs(section_id=6728.76, count=639.24, only_transient=::PlexRubySDK::Operations::QueryParamOnlyTransient::ONE)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.hubs.get_library_hubs(section_id=6728.76, count=639.24, only_transient=::PlexRubySDK::Operations::QueryParamOnlyTransient::ONE) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/identity"]["get"] update: x-codeSamples: - lang: ruby - label: identity - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\n\n \nres = s.server.get_server_identity()\n\nif ! res.object.nil?\n # handle response\nend" + label: get-server-identity + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new + + res = s.server.get_server_identity() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/all/top"]["get"] update: x-codeSamples: - lang: ruby label: getTopWatchedContent - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_top_watched_content(type=::PlexRubySDK::Operations::GetTopWatchedContentQueryParamType::TV_SHOW, include_guids=1)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_top_watched_content(type=::PlexRubySDK::Operations::GetTopWatchedContentQueryParamType::TV_SHOW, include_guids=1) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/hashes"]["get"] update: x-codeSamples: - lang: ruby label: getFileHash - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_file_hash(url=\"file://C:\\Image.png&type=13\", type=4462.17)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_file_hash(url="file://C:\Image.png&type=13", type=4462.17) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/library/metadata/{ratingKey}"]["get"] update: x-codeSamples: - lang: ruby - label: data - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetMediaMetaDataRequest.new(\n rating_key: 9518,\n include_concerts: true,\n include_extras: true,\n include_on_deck: true,\n include_popular_leaves: true,\n include_preferences: true,\n include_reviews: true,\n include_chapters: true,\n include_stations: true,\n include_external_media: true,\n async_augment_metadata: true,\n async_check_files: true,\n async_refresh_analysis: true,\n async_refresh_local_media_agent: true,\n)\n \nres = s.library.get_media_meta_data(req)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-media-meta-data + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetMediaMetaDataRequest.new( + rating_key: 9518, + include_concerts: true, + include_extras: true, + include_on_deck: true, + include_popular_leaves: true, + include_preferences: true, + include_reviews: true, + include_chapters: true, + include_stations: true, + include_external_media: true, + async_augment_metadata: true, + async_check_files: true, + async_refresh_analysis: true, + async_refresh_local_media_agent: true, + ) + + res = s.library.get_media_meta_data(req) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/metadata/{ratingKey}/banner"]["get"] update: x-codeSamples: - lang: ruby - label: image - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetBannerImageRequest.new(\n rating_key: 9518,\n width: 396,\n height: 396,\n min_size: 1,\n upscale: 1,\n x_plex_token: \"CV5xoxjTpFKUzBTShsaf\",\n)\n \nres = s.media.get_banner_image(req)\n\nif ! res.bytes.nil?\n # handle response\nend" + label: get-banner-image + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetBannerImageRequest.new( + rating_key: 9518, + width: 396, + height: 396, + min_size: 1, + upscale: 1, + x_plex_token: "CV5xoxjTpFKUzBTShsaf", + ) + + res = s.media.get_banner_image(req) + + if ! res.bytes.nil? + # handle response + end - target: $["paths"]["/library/metadata/{ratingKey}/children"]["get"] update: x-codeSamples: - lang: ruby label: getMetadataChildren - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_metadata_children(rating_key=1539.14, include_elements=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_metadata_children(rating_key=1539.14, include_elements="") + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/metadata/{ratingKey}/thumb"]["get"] update: x-codeSamples: - lang: ruby - label: image - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetThumbImageRequest.new(\n rating_key: 9518,\n width: 396,\n height: 396,\n min_size: 1,\n upscale: 1,\n x_plex_token: \"CV5xoxjTpFKUzBTShsaf\",\n)\n \nres = s.media.get_thumb_image(req)\n\nif ! res.bytes.nil?\n # handle response\nend" + label: get-thumb-image + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetThumbImageRequest.new( + rating_key: 9518, + width: 396, + height: 396, + min_size: 1, + upscale: 1, + x_plex_token: "CV5xoxjTpFKUzBTShsaf", + ) + + res = s.media.get_thumb_image(req) + + if ! res.bytes.nil? + # handle response + end - target: $["paths"]["/library/onDeck"]["get"] update: x-codeSamples: - lang: ruby label: getOnDeck - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_on_deck()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_on_deck() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/recentlyAdded"]["get"] update: x-codeSamples: - lang: ruby - label: library - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetRecentlyAddedLibraryRequest.new(\n content_directory_id: 2,\n pinned_content_directory_id: [\n 3,\n 5,\n 7,\n 13,\n 12,\n 1,\n 6,\n 14,\n 2,\n 10,\n 16,\n 17,\n ],\n section_id: 2,\n type: ::PlexRubySDK::Operations::QueryParamType::TV_SHOW,\n include_meta: ::PlexRubySDK::Operations::QueryParamIncludeMeta::ENABLE,\n x_plex_container_start: 0,\n x_plex_container_size: 50,\n)\n \nres = s.library.get_recently_added_library(req)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-recently-added-library + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetRecentlyAddedLibraryRequest.new( + content_directory_id: 2, + pinned_content_directory_id: [ + 3, + 5, + 7, + 13, + 12, + 1, + 6, + 14, + 2, + 10, + 16, + 17, + ], + section_id: 2, + type: ::PlexRubySDK::Operations::QueryParamType::TV_SHOW, + include_meta: ::PlexRubySDK::Operations::QueryParamIncludeMeta::ENABLE, + x_plex_container_start: 0, + x_plex_container_size: 50, + ) + + res = s.library.get_recently_added_library(req) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/search"]["get"] update: x-codeSamples: - lang: ruby - label: libraries - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetSearchAllLibrariesRequest.new(\n query: \"\",\n client_id: \"3381b62b-9ab7-4e37-827b-203e9809eb58\",\n search_types: [\n ::PlexRubySDK::Operations::SearchTypes::PEOPLE,\n ],\n include_collections: ::PlexRubySDK::Operations::GetSearchAllLibrariesQueryParamIncludeCollections::ENABLE,\n include_external_media: ::PlexRubySDK::Operations::GetSearchAllLibrariesQueryParamIncludeExternalMedia::ENABLE,\n)\n \nres = s.library.get_search_all_libraries(req)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-search-all-libraries + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetSearchAllLibrariesRequest.new( + query: "", + client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58", + search_types: [ + ::PlexRubySDK::Operations::SearchTypes::PEOPLE, + ], + include_collections: ::PlexRubySDK::Operations::GetSearchAllLibrariesQueryParamIncludeCollections::ENABLE, + include_external_media: ::PlexRubySDK::Operations::GetSearchAllLibrariesQueryParamIncludeExternalMedia::ENABLE, + ) + + res = s.library.get_search_all_libraries(req) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/sections"]["get"] update: x-codeSamples: - lang: ruby - label: libraries - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_all_libraries()\n\nif ! res.object.nil?\n # handle response\nend" + label: get-all-libraries + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_all_libraries() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/sections/watchlist/{filter}"]["get"] update: x-codeSamples: - lang: ruby - label: list - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetWatchListRequest.new(\n filter: ::PlexRubySDK::Operations::Filter::AVAILABLE,\n x_plex_container_start: 0,\n x_plex_container_size: 50,\n x_plex_token: \"CV5xoxjTpFKUzBTShsaf\",\n)\n \nres = s.watchlist.get_watch_list(req)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-watch-list + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetWatchListRequest.new( + filter: ::PlexRubySDK::Operations::Filter::AVAILABLE, + x_plex_container_start: 0, + x_plex_container_size: 50, + x_plex_token: "CV5xoxjTpFKUzBTShsaf", + ) + + res = s.watchlist.get_watch_list(req) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/sections/{sectionKey}"]["delete"] update: x-codeSamples: - lang: ruby label: deleteLibrary - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.delete_library(section_key=9518)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.delete_library(section_key=9518) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/library/sections/{sectionKey}"]["get"] update: x-codeSamples: - lang: ruby - label: details - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_library_details(section_key=9518, include_details=::PlexRubySDK::Operations::IncludeDetails::ZERO)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-library-details + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_library_details(section_key=9518, include_details=::PlexRubySDK::Operations::IncludeDetails::ZERO) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/sections/{sectionKey}/actor"]["get"] update: x-codeSamples: - lang: ruby - label: library - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_actors_library(section_key=9518, type=::PlexRubySDK::Operations::GetActorsLibraryQueryParamType::TV_SHOW)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-actors-library + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_actors_library(section_key=9518, type=::PlexRubySDK::Operations::GetActorsLibraryQueryParamType::TV_SHOW) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/sections/{sectionKey}/all"]["get"] update: x-codeSamples: - lang: ruby - label: library - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetAllMediaLibraryRequest.new(\n section_key: 9518,\n type: ::PlexRubySDK::Operations::GetAllMediaLibraryQueryParamType::TV_SHOW,\n include_meta: ::PlexRubySDK::Operations::GetAllMediaLibraryQueryParamIncludeMeta::ENABLE,\n include_guids: ::PlexRubySDK::Operations::QueryParamIncludeGuids::ENABLE,\n include_advanced: ::PlexRubySDK::Operations::IncludeAdvanced::ENABLE,\n include_collections: ::PlexRubySDK::Operations::QueryParamIncludeCollections::ENABLE,\n include_external_media: ::PlexRubySDK::Operations::QueryParamIncludeExternalMedia::ENABLE,\n x_plex_container_start: 0,\n x_plex_container_size: 50,\n)\n \nres = s.library.get_all_media_library(req)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-all-media-library + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetAllMediaLibraryRequest.new( + section_key: 9518, + type: ::PlexRubySDK::Operations::GetAllMediaLibraryQueryParamType::TV_SHOW, + include_meta: ::PlexRubySDK::Operations::GetAllMediaLibraryQueryParamIncludeMeta::ENABLE, + include_guids: ::PlexRubySDK::Operations::QueryParamIncludeGuids::ENABLE, + include_advanced: ::PlexRubySDK::Operations::IncludeAdvanced::ENABLE, + include_collections: ::PlexRubySDK::Operations::QueryParamIncludeCollections::ENABLE, + include_external_media: ::PlexRubySDK::Operations::QueryParamIncludeExternalMedia::ENABLE, + x_plex_container_start: 0, + x_plex_container_size: 50, + ) + + res = s.library.get_all_media_library(req) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/sections/{sectionKey}/country"]["get"] update: x-codeSamples: - lang: ruby - label: library - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_countries_library(section_key=9518, type=::PlexRubySDK::Operations::GetCountriesLibraryQueryParamType::TV_SHOW)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-countries-library + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_countries_library(section_key=9518, type=::PlexRubySDK::Operations::GetCountriesLibraryQueryParamType::TV_SHOW) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/sections/{sectionKey}/genre"]["get"] update: x-codeSamples: - lang: ruby - label: library - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_genres_library(section_key=9518, type=::PlexRubySDK::Operations::GetGenresLibraryQueryParamType::TV_SHOW)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-genres-library + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_genres_library(section_key=9518, type=::PlexRubySDK::Operations::GetGenresLibraryQueryParamType::TV_SHOW) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/sections/{sectionKey}/refresh"]["get"] update: x-codeSamples: - lang: ruby - label: metadata - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_refresh_library_metadata(section_key=9518, force=::PlexRubySDK::Operations::Force::ONE)\n\nif res.status_code == 200\n # handle response\nend" + label: get-refresh-library-metadata + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_refresh_library_metadata(section_key=9518, force=::PlexRubySDK::Operations::Force::ONE) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/library/sections/{sectionKey}/search"]["get"] update: x-codeSamples: - lang: ruby - label: library - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.library.get_search_library(section_key=9518, type=::PlexRubySDK::Operations::GetSearchLibraryQueryParamType::TV_SHOW)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-search-library + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.library.get_search_library(section_key=9518, type=::PlexRubySDK::Operations::GetSearchLibraryQueryParamType::TV_SHOW) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/library/sections/{sectionKey}/{tag}"]["get"] update: x-codeSamples: - lang: ruby - label: items - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetLibraryItemsRequest.new(\n tag: ::PlexRubySDK::Operations::Tag::EDITION,\n include_guids: ::PlexRubySDK::Operations::IncludeGuids::ENABLE,\n type: ::PlexRubySDK::Operations::GetLibraryItemsQueryParamType::TV_SHOW,\n section_key: 9518,\n include_meta: ::PlexRubySDK::Operations::GetLibraryItemsQueryParamIncludeMeta::ENABLE,\n x_plex_container_start: 0,\n x_plex_container_size: 50,\n)\n \nres = s.library.get_library_items(req)\n\nif ! res.object.nil?\n # handle response\nend" + label: get-library-items + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetLibraryItemsRequest.new( + tag: ::PlexRubySDK::Operations::Tag::EDITION, + include_guids: ::PlexRubySDK::Operations::IncludeGuids::ENABLE, + type: ::PlexRubySDK::Operations::GetLibraryItemsQueryParamType::TV_SHOW, + section_key: 9518, + include_meta: ::PlexRubySDK::Operations::GetLibraryItemsQueryParamIncludeMeta::ENABLE, + x_plex_container_start: 0, + x_plex_container_size: 50, + ) + + res = s.library.get_library_items(req) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/log"]["get"] update: x-codeSamples: - lang: ruby label: logLine - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.log.log_line(level=::PlexRubySDK::Operations::Level::THREE, message=\"Test log message\", source=\"Postman\")\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.log.log_line(level=::PlexRubySDK::Operations::Level::THREE, message="Test log message", source="Postman") + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/log"]["post"] update: x-codeSamples: - lang: ruby label: logMultiLine - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = \"level=4&message=Test%20message%201&source=postman\\n\" +\n\"level=3&message=Test%20message%202&source=postman\\n\" +\n\"level=1&message=Test%20message%203&source=postman\"\n \nres = s.log.log_multi_line(req)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = "level=4&message=Test%20message%201&source=postman\n" + + "level=3&message=Test%20message%202&source=postman\n" + + "level=1&message=Test%20message%203&source=postman" + + res = s.log.log_multi_line(req) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/log/networked"]["get"] update: x-codeSamples: - lang: ruby label: enablePaperTrail - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.log.enable_paper_trail()\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.log.enable_paper_trail() + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/media/providers"]["get"] update: x-codeSamples: - lang: ruby - label: providers - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.server.get_media_providers(x_plex_token=\"CV5xoxjTpFKUzBTShsaf\")\n\nif ! res.object.nil?\n # handle response\nend" + label: get-media-providers + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.server.get_media_providers(x_plex_token="CV5xoxjTpFKUzBTShsaf") + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/myplex/account"]["get"] update: x-codeSamples: - lang: ruby label: getMyPlexAccount - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.server.get_my_plex_account()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.server.get_my_plex_account() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/photo/:/transcode"]["get"] update: x-codeSamples: - lang: ruby label: getResizedPhoto - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetResizedPhotoRequest.new(\n width: 110.0,\n height: 165.0,\n opacity: 643869,\n blur: 0.0,\n min_size: ::PlexRubySDK::Operations::MinSize::ONE,\n upscale: ::PlexRubySDK::Operations::Upscale::ONE,\n url: \"/library/metadata/49564/thumb/1654258204\",\n)\n \nres = s.server.get_resized_photo(req)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::GetResizedPhotoRequest.new( + width: 110.0, + height: 165.0, + opacity: 643869, + blur: 0.0, + min_size: ::PlexRubySDK::Operations::MinSize::ONE, + upscale: ::PlexRubySDK::Operations::Upscale::ONE, + url: "/library/metadata/49564/thumb/1654258204", + ) + + res = s.server.get_resized_photo(req) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/pins"]["post"] update: x-codeSamples: - lang: ruby label: getPin - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\n\n\nreq = ::PlexRubySDK::Operations::GetPinRequest.new(\n client_id: \"3381b62b-9ab7-4e37-827b-203e9809eb58\",\n client_name: \"Plex for Roku\",\n device_nickname: \"Roku 3\",\n client_version: \"2.4.1\",\n platform: \"Roku\",\n)\n \nres = s.plex.get_pin(req)\n\nif ! res.auth_pin_container.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new + + req = ::PlexRubySDK::Operations::GetPinRequest.new( + client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58", + client_name: "Plex for Roku", + device_nickname: "Roku 3", + client_version: "2.4.1", + platform: "Roku", + ) + + res = s.plex.get_pin(req) + + if ! res.auth_pin_container.nil? + # handle response + end - target: $["paths"]["/pins/{pinID}"]["get"] update: x-codeSamples: - lang: ruby label: getTokenByPinId - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\n\n\nreq = ::PlexRubySDK::Operations::GetTokenByPinIdRequest.new(\n pin_id: 408895,\n client_id: \"3381b62b-9ab7-4e37-827b-203e9809eb58\",\n client_name: \"Plex for Roku\",\n device_nickname: \"Roku 3\",\n client_version: \"2.4.1\",\n platform: \"Roku\",\n)\n \nres = s.plex.get_token_by_pin_id(req)\n\nif ! res.auth_pin_container.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new + + req = ::PlexRubySDK::Operations::GetTokenByPinIdRequest.new( + pin_id: 408895, + client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58", + client_name: "Plex for Roku", + device_nickname: "Roku 3", + client_version: "2.4.1", + platform: "Roku", + ) + + res = s.plex.get_token_by_pin_id(req) + + if ! res.auth_pin_container.nil? + # handle response + end - target: $["paths"]["/playlists"]["get"] update: x-codeSamples: - lang: ruby label: getPlaylists - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.playlists.get_playlists(playlist_type=::PlexRubySDK::Operations::PlaylistType::AUDIO, smart=::PlexRubySDK::Operations::QueryParamSmart::ZERO)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.playlists.get_playlists(playlist_type=::PlexRubySDK::Operations::PlaylistType::AUDIO, smart=::PlexRubySDK::Operations::QueryParamSmart::ZERO) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/playlists"]["post"] update: x-codeSamples: - lang: ruby label: createPlaylist - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::CreatePlaylistRequest.new(\n title: \"\",\n type: ::PlexRubySDK::Operations::CreatePlaylistQueryParamType::PHOTO,\n smart: ::PlexRubySDK::Operations::Smart::ONE,\n uri: \"https://hoarse-testing.info/\",\n)\n \nres = s.playlists.create_playlist(req)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::CreatePlaylistRequest.new( + title: "", + type: ::PlexRubySDK::Operations::CreatePlaylistQueryParamType::PHOTO, + smart: ::PlexRubySDK::Operations::Smart::ONE, + uri: "https://hoarse-testing.info/", + ) + + res = s.playlists.create_playlist(req) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/playlists/upload"]["post"] update: x-codeSamples: - lang: ruby label: uploadPlaylist - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.playlists.upload_playlist(path=\"/home/barkley/playlist.m3u\", force=::PlexRubySDK::Operations::QueryParamForce::ZERO, section_id=1)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.playlists.upload_playlist(path="/home/barkley/playlist.m3u", force=::PlexRubySDK::Operations::QueryParamForce::ZERO, section_id=1) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/playlists/{playlistID}"]["delete"] update: x-codeSamples: - lang: ruby label: deletePlaylist - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.playlists.delete_playlist(playlist_id=216.22)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.playlists.delete_playlist(playlist_id=216.22) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/playlists/{playlistID}"]["get"] update: x-codeSamples: - lang: ruby label: getPlaylist - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.playlists.get_playlist(playlist_id=4109.48)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.playlists.get_playlist(playlist_id=4109.48) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/playlists/{playlistID}"]["put"] update: x-codeSamples: - lang: ruby label: updatePlaylist - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.playlists.update_playlist(playlist_id=3915.0, title=\"\", summary=\"\")\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.playlists.update_playlist(playlist_id=3915.0, title="", summary="") + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/playlists/{playlistID}/items"]["delete"] update: x-codeSamples: - lang: ruby label: clearPlaylistContents - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.playlists.clear_playlist_contents(playlist_id=1893.18)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.playlists.clear_playlist_contents(playlist_id=1893.18) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/playlists/{playlistID}/items"]["get"] update: x-codeSamples: - lang: ruby label: getPlaylistContents - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.playlists.get_playlist_contents(playlist_id=5004.46, type=::PlexRubySDK::Operations::GetPlaylistContentsQueryParamType::TV_SHOW)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.playlists.get_playlist_contents(playlist_id=5004.46, type=::PlexRubySDK::Operations::GetPlaylistContentsQueryParamType::TV_SHOW) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/playlists/{playlistID}/items"]["put"] update: x-codeSamples: - lang: ruby label: addPlaylistContents - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.playlists.add_playlist_contents(playlist_id=8502.01, uri=\"server://12345/com.plexapp.plugins.library/library/metadata/1\", play_queue_id=123.0)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.playlists.add_playlist_contents(playlist_id=8502.01, uri="server://12345/com.plexapp.plugins.library/library/metadata/1", play_queue_id=123.0) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/resources"]["get"] update: x-codeSamples: - lang: ruby - label: resources - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.plex.get_server_resources(client_id=\"3381b62b-9ab7-4e37-827b-203e9809eb58\", include_https=::PlexRubySDK::Operations::IncludeHttps::ENABLE, include_relay=::PlexRubySDK::Operations::IncludeRelay::ENABLE, include_i_pv6=::PlexRubySDK::Operations::IncludeIPv6::ENABLE)\n\nif ! res.plex_devices.nil?\n # handle response\nend" + label: get-server-resources + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.plex.get_server_resources(client_id="3381b62b-9ab7-4e37-827b-203e9809eb58", include_https=::PlexRubySDK::Operations::IncludeHttps::ENABLE, include_relay=::PlexRubySDK::Operations::IncludeRelay::ENABLE, include_i_pv6=::PlexRubySDK::Operations::IncludeIPv6::ENABLE) + + if ! res.plex_devices.nil? + # handle response + end - target: $["paths"]["/search"]["get"] update: x-codeSamples: - lang: ruby label: getSearchResults - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.search.get_search_results(query=\"110\")\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.search.get_search_results(query="110") + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/security/resources"]["get"] update: x-codeSamples: - lang: ruby label: getSourceConnectionInformation - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.authentication.get_source_connection_information(source=\"server://client-identifier\")\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.authentication.get_source_connection_information(source="server://client-identifier") + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/security/token"]["get"] update: x-codeSamples: - lang: ruby label: getTransientToken - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.authentication.get_transient_token(type=::PlexRubySDK::Operations::GetTransientTokenQueryParamType::DELEGATION, scope=::PlexRubySDK::Operations::Scope::ALL)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.authentication.get_transient_token(type=::PlexRubySDK::Operations::GetTransientTokenQueryParamType::DELEGATION, scope=::PlexRubySDK::Operations::Scope::ALL) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/servers"]["get"] update: x-codeSamples: - lang: ruby label: getServerList - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.server.get_server_list()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.server.get_server_list() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/statistics/bandwidth"]["get"] update: x-codeSamples: - lang: ruby label: getBandwidthStatistics - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.statistics.get_bandwidth_statistics(timespan=4)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.statistics.get_bandwidth_statistics(timespan=4) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/statistics/media"]["get"] update: x-codeSamples: - lang: ruby label: getStatistics - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.statistics.get_statistics(timespan=4)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.statistics.get_statistics(timespan=4) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/statistics/resources"]["get"] update: x-codeSamples: - lang: ruby label: getResourcesStatistics - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.statistics.get_resources_statistics(timespan=4)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.statistics.get_resources_statistics(timespan=4) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/status/sessions"]["get"] update: x-codeSamples: - lang: ruby label: getSessions - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.sessions.get_sessions()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.sessions.get_sessions() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/status/sessions/history/all"]["get"] update: x-codeSamples: - lang: ruby label: getSessionHistory - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.sessions.get_session_history(sort=\"\", account_id=1, filter=::PlexRubySDK::Operations::QueryParamFilter.new(), library_section_id=12)\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.sessions.get_session_history(sort="", account_id=1, filter=::PlexRubySDK::Operations::QueryParamFilter.new(), library_section_id=12) + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/transcode/sessions"]["get"] update: x-codeSamples: - lang: ruby label: getTranscodeSessions - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.sessions.get_transcode_sessions()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.sessions.get_transcode_sessions() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/transcode/sessions/{sessionKey}"]["delete"] update: x-codeSamples: - lang: ruby label: stopTranscodeSession - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.sessions.stop_transcode_session(session_key=\"zz7llzqlx8w9vnrsbnwhbmep\")\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.sessions.stop_transcode_session(session_key="zz7llzqlx8w9vnrsbnwhbmep") + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/updater/apply"]["put"] update: x-codeSamples: - lang: ruby label: applyUpdates - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.updater.apply_updates(tonight=::PlexRubySDK::Operations::Tonight::ONE, skip=::PlexRubySDK::Operations::Skip::ONE)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.updater.apply_updates(tonight=::PlexRubySDK::Operations::Tonight::ONE, skip=::PlexRubySDK::Operations::Skip::ONE) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/updater/check"]["put"] update: x-codeSamples: - lang: ruby label: checkForUpdates - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.updater.check_for_updates(download=::PlexRubySDK::Operations::Download::ONE)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.updater.check_for_updates(download=::PlexRubySDK::Operations::Download::ONE) + + if res.status_code == 200 + # handle response + end - target: $["paths"]["/updater/status"]["get"] update: x-codeSamples: - lang: ruby label: getUpdateStatus - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.updater.get_update_status()\n\nif ! res.object.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.updater.get_update_status() + + if ! res.object.nil? + # handle response + end - target: $["paths"]["/user"]["get"] update: x-codeSamples: - lang: ruby label: getTokenDetails - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n \nres = s.authentication.get_token_details()\n\nif ! res.user_plex_account.nil?\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + res = s.authentication.get_token_details() + + if ! res.user_plex_account.nil? + # handle response + end - target: $["paths"]["/users"]["get"] update: x-codeSamples: - lang: ruby - label: users - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\n\n\nreq = ::PlexRubySDK::Operations::GetUsersRequest.new(\n client_id: \"3381b62b-9ab7-4e37-827b-203e9809eb58\",\n client_name: \"Plex for Roku\",\n device_nickname: \"Roku 3\",\n device_name: \"Chrome\",\n device_screen_resolution: \"1487x1165,2560x1440\",\n client_version: \"2.4.1\",\n platform: \"Roku\",\n client_features: \"external-media,indirect-media,hub-style-list\",\n model: \"4200X\",\n x_plex_session_id: \"97e136ef-4ddd-4ff3-89a7-a5820c96c2ca\",\n x_plex_language: \"en\",\n platform_version: \"4.3 build 1057\",\n x_plex_token: \"CV5xoxjTpFKUzBTShsaf\",\n)\n \nres = s.users.get_users(req)\n\nif ! res.body.nil?\n # handle response\nend" + label: get-users + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new + + req = ::PlexRubySDK::Operations::GetUsersRequest.new( + client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58", + client_name: "Plex for Roku", + device_nickname: "Roku 3", + device_name: "Chrome", + device_screen_resolution: "1487x1165,2560x1440", + client_version: "2.4.1", + platform: "Roku", + client_features: "external-media,indirect-media,hub-style-list", + model: "4200X", + x_plex_session_id: "97e136ef-4ddd-4ff3-89a7-a5820c96c2ca", + x_plex_language: "en", + platform_version: "4.3 build 1057", + x_plex_token: "CV5xoxjTpFKUzBTShsaf", + ) + + res = s.users.get_users(req) + + if ! res.body.nil? + # handle response + end - target: $["paths"]["/users/signin"]["post"] update: x-codeSamples: - lang: ruby - label: data - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\n\n\nreq = ::PlexRubySDK::Operations::PostUsersSignInDataRequest.new(\n client_id: \"3381b62b-9ab7-4e37-827b-203e9809eb58\",\n client_name: \"Plex for Roku\",\n device_nickname: \"Roku 3\",\n client_version: \"2.4.1\",\n platform: \"Roku\",\n request_body: ::PlexRubySDK::Operations::PostUsersSignInDataRequestBody.new(\n login: \"username@email.com\",\n password: \"password123\",\n verification_code: \"123456\",\n ),\n)\n \nres = s.authentication.post_users_sign_in_data(req)\n\nif ! res.user_plex_account.nil?\n # handle response\nend" + label: post-users-sign-in-data + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new + + req = ::PlexRubySDK::Operations::PostUsersSignInDataRequest.new( + client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58", + client_name: "Plex for Roku", + device_nickname: "Roku 3", + client_version: "2.4.1", + platform: "Roku", + request_body: ::PlexRubySDK::Operations::PostUsersSignInDataRequestBody.new( + login: "username@email.com", + password: "password123", + verification_code: "123456", + ), + ) + + res = s.authentication.post_users_sign_in_data(req) + + if ! res.user_plex_account.nil? + # handle response + end - target: $["paths"]["/video/:/transcode/universal/start.mpd"]["get"] update: x-codeSamples: - lang: ruby label: startUniversalTranscode - source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::StartUniversalTranscodeRequest.new(\n has_mde: 1.0,\n path: \"/library/metadata/23409\",\n media_index: 0.0,\n part_index: 0.0,\n protocol: \"hls\",\n fast_seek: 0.0,\n direct_play: 0.0,\n direct_stream: 0.0,\n subtitle_size: 100.0,\n subtites: \"burn\",\n audio_boost: 100.0,\n location: \"lan\",\n media_buffer_size: 102400.0,\n session: \"zvcage8b7rkioqcm8f4uns4c\",\n add_debug_overlay: 0.0,\n auto_adjust_quality: 0.0,\n)\n \nres = s.video.start_universal_transcode(req)\n\nif res.status_code == 200\n # handle response\nend" + source: |- + require 'plex_ruby_sdk' + + s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) + + req = ::PlexRubySDK::Operations::StartUniversalTranscodeRequest.new( + has_mde: 1.0, + path: "/library/metadata/23409", + media_index: 0.0, + part_index: 0.0, + protocol: "hls", + fast_seek: 0.0, + direct_play: 0.0, + direct_stream: 0.0, + subtitle_size: 100.0, + subtites: "burn", + audio_boost: 100.0, + location: "lan", + media_buffer_size: 102400.0, + session: "zvcage8b7rkioqcm8f4uns4c", + add_debug_overlay: 0.0, + auto_adjust_quality: 0.0, + ) + + res = s.video.start_universal_transcode(req) + + if res.status_code == 200 + # handle response + end diff --git a/docs/models/operations/gettokendetailsuserplexaccount.md b/docs/models/operations/gettokendetailsuserplexaccount.md index e3567b3..bee8c00 100644 --- a/docs/models/operations/gettokendetailsuserplexaccount.md +++ b/docs/models/operations/gettokendetailsuserplexaccount.md @@ -41,7 +41,7 @@ Logged in user details | `services` | T::Array<[::PlexRubySDK::Operations::Services](../../models/operations/services.md)> | :heavy_check_mark: | N/A | | | `subscription` | [::PlexRubySDK::Operations::Subscription](../../models/operations/subscription.md) | :heavy_check_mark: | If the account’s Plex Pass subscription is active | | | `subscription_description` | *::String* | :heavy_check_mark: | Description of the Plex Pass subscription | | -| `subscriptions` | T::Array<[::PlexRubySDK::Operations::GetTokenDetailsSubscription](../../models/operations/gettokendetailssubscription.md)> | :heavy_check_mark: | N/A | | +| `subscriptions` | T::Array<[::PlexRubySDK::Operations::GetTokenDetailsSubscription](../../models/operations/gettokendetailssubscription.md)> | :heavy_minus_sign: | N/A | | | `thumb` | *::String* | :heavy_check_mark: | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 | | `title` | *::String* | :heavy_check_mark: | The title of the account (username or friendly name) | UsernameTitle | | `two_factor_enabled` | *T::Boolean* | :heavy_check_mark: | If two-factor authentication is enabled | | diff --git a/docs/models/operations/postuserssignindatauserplexaccount.md b/docs/models/operations/postuserssignindatauserplexaccount.md index 267cfef..ae81a0f 100644 --- a/docs/models/operations/postuserssignindatauserplexaccount.md +++ b/docs/models/operations/postuserssignindatauserplexaccount.md @@ -41,7 +41,7 @@ Returns the user account data with a valid auth token | `services` | T::Array<[::PlexRubySDK::Operations::PostUsersSignInDataServices](../../models/operations/postuserssignindataservices.md)> | :heavy_check_mark: | N/A | | | `subscription` | [::PlexRubySDK::Operations::PostUsersSignInDataSubscription](../../models/operations/postuserssignindatasubscription.md) | :heavy_check_mark: | If the account’s Plex Pass subscription is active | | | `subscription_description` | *::String* | :heavy_check_mark: | Description of the Plex Pass subscription | | -| `subscriptions` | T::Array<[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationSubscription](../../models/operations/postuserssignindataauthenticationsubscription.md)> | :heavy_check_mark: | N/A | | +| `subscriptions` | T::Array<[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationSubscription](../../models/operations/postuserssignindataauthenticationsubscription.md)> | :heavy_minus_sign: | N/A | | | `thumb` | *::String* | :heavy_check_mark: | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 | | `title` | *::String* | :heavy_check_mark: | The title of the account (username or friendly name) | UsernameTitle | | `two_factor_enabled` | *T::Boolean* | :heavy_check_mark: | If two-factor authentication is enabled | | diff --git a/docs/sdks/activities/README.md b/docs/sdks/activities/README.md index 3df8b80..a3a1b68 100644 --- a/docs/sdks/activities/README.md +++ b/docs/sdks/activities/README.md @@ -26,15 +26,12 @@ Get Server Activities ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.activities.get_server_activities() if ! res.object.nil? @@ -58,15 +55,12 @@ Cancel Server Activities ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.activities.cancel_server_activities(activity_uuid="25b71ed5-0f9d-461c-baa7-d404e9e10d3e") if res.status_code == 200 diff --git a/docs/sdks/authentication/README.md b/docs/sdks/authentication/README.md index 8c46878..d16a860 100644 --- a/docs/sdks/authentication/README.md +++ b/docs/sdks/authentication/README.md @@ -23,15 +23,12 @@ This endpoint provides the caller with a temporary token with the same access le ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.authentication.get_transient_token(type=::PlexRubySDK::Operations::GetTransientTokenQueryParamType::DELEGATION, scope=::PlexRubySDK::Operations::Scope::ALL) if res.status_code == 200 @@ -64,15 +61,12 @@ Note: requires Plex Media Server >= 1.15.4. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.authentication.get_source_connection_information(source="server://client-identifier") if res.status_code == 200 @@ -102,15 +96,12 @@ Get the User data from the provided X-Plex-Token ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.authentication.get_token_details() if ! res.user_plex_account.nil? @@ -140,10 +131,8 @@ Sign in user with username and password and return user data with Plex authentic ```ruby require 'plex_ruby_sdk' - s = ::PlexRubySDK::PlexAPI.new - req = ::PlexRubySDK::Operations::PostUsersSignInDataRequest.new( client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58", client_name: "Plex for Roku", @@ -156,7 +145,7 @@ req = ::PlexRubySDK::Operations::PostUsersSignInDataRequest.new( verification_code: "123456", ), ) - + res = s.authentication.post_users_sign_in_data(req) if ! res.user_plex_account.nil? diff --git a/docs/sdks/butler/README.md b/docs/sdks/butler/README.md index ceb63d6..89eef80 100644 --- a/docs/sdks/butler/README.md +++ b/docs/sdks/butler/README.md @@ -23,15 +23,12 @@ Returns a list of butler tasks ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.butler.get_butler_tasks() if ! res.object.nil? @@ -60,15 +57,12 @@ This endpoint will attempt to start all Butler tasks that are enabled in the set ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.butler.start_all_tasks() if res.status_code == 200 @@ -93,15 +87,12 @@ This endpoint will stop all currently running tasks and remove any scheduled tas ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.butler.stop_all_tasks() if res.status_code == 200 @@ -130,15 +121,12 @@ This endpoint will attempt to start a single Butler task that is enabled in the ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.butler.start_task(task_name=::PlexRubySDK::Operations::TaskName::CLEAN_OLD_BUNDLES) if res.status_code == 200 @@ -169,15 +157,12 @@ This endpoint will stop a currently running task by name, or remove it from the ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.butler.stop_task(task_name=::PlexRubySDK::Operations::PathParamTaskName::BACKUP_DATABASE) if res.status_code == 200 diff --git a/docs/sdks/hubs/README.md b/docs/sdks/hubs/README.md index 0ee8fce..3c2e733 100644 --- a/docs/sdks/hubs/README.md +++ b/docs/sdks/hubs/README.md @@ -21,15 +21,12 @@ Get Global Hubs filtered by the parameters provided. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.hubs.get_global_hubs(count=1262.49, only_transient=::PlexRubySDK::Operations::OnlyTransient::ONE) if ! res.object.nil? @@ -61,14 +58,11 @@ This endpoint will return the recently added content. ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetRecentlyAddedRequest.new( content_directory_id: 470161, @@ -78,7 +72,7 @@ req = ::PlexRubySDK::Operations::GetRecentlyAddedRequest.new( x_plex_container_start: 0, x_plex_container_size: 50, ) - + res = s.hubs.get_recently_added(req) if ! res.object.nil? @@ -109,15 +103,12 @@ This endpoint will return a list of library specific hubs ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.hubs.get_library_hubs(section_id=6728.76, count=639.24, only_transient=::PlexRubySDK::Operations::QueryParamOnlyTransient::ONE) if ! res.object.nil? diff --git a/docs/sdks/library/README.md b/docs/sdks/library/README.md index 2a6f133..cbb6852 100644 --- a/docs/sdks/library/README.md +++ b/docs/sdks/library/README.md @@ -35,15 +35,12 @@ This resource returns hash values for local files ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_file_hash(url="file://C:\Image.png&type=13", type=4462.17) if res.status_code == 200 @@ -75,14 +72,11 @@ This endpoint will return the recently added content. ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetRecentlyAddedLibraryRequest.new( content_directory_id: 2, @@ -106,7 +100,7 @@ req = ::PlexRubySDK::Operations::GetRecentlyAddedLibraryRequest.new( x_plex_container_start: 0, x_plex_container_size: 50, ) - + res = s.library.get_recently_added_library(req) if ! res.object.nil? @@ -142,15 +136,12 @@ This allows a client to provide a rich interface around the media (e.g. allow so ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_all_libraries() if ! res.object.nil? @@ -213,15 +204,12 @@ Each type in the library comes with a set of filters and sorts, aiding in buildi ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_library_details(section_key=9518, include_details=::PlexRubySDK::Operations::IncludeDetails::ZERO) if ! res.object.nil? @@ -252,15 +240,12 @@ Delete a library using a specific section id ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.delete_library(section_key=9518) if res.status_code == 200 @@ -311,14 +296,11 @@ Fetches details from a specific section of the library identified by a section k ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetLibraryItemsRequest.new( tag: ::PlexRubySDK::Operations::Tag::EDITION, @@ -329,7 +311,7 @@ req = ::PlexRubySDK::Operations::GetLibraryItemsRequest.new( x_plex_container_start: 0, x_plex_container_size: 50, ) - + res = s.library.get_library_items(req) if ! res.object.nil? @@ -360,14 +342,11 @@ Retrieves a list of all general media data for this library. ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetAllMediaLibraryRequest.new( section_key: 9518, @@ -380,7 +359,7 @@ req = ::PlexRubySDK::Operations::GetAllMediaLibraryRequest.new( x_plex_container_start: 0, x_plex_container_size: 50, ) - + res = s.library.get_all_media_library(req) if ! res.object.nil? @@ -411,15 +390,12 @@ This endpoint Refreshes all the Metadata of the library. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_refresh_library_metadata(section_key=9518, force=::PlexRubySDK::Operations::Force::ONE) if res.status_code == 200 @@ -468,15 +444,12 @@ Each type in the library comes with a set of filters and sorts, aiding in buildi ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_search_library(section_key=9518, type=::PlexRubySDK::Operations::GetSearchLibraryQueryParamType::TV_SHOW) if ! res.object.nil? @@ -508,15 +481,12 @@ Retrieves a list of all the genres that are found for the media in this library. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_genres_library(section_key=9518, type=::PlexRubySDK::Operations::GetGenresLibraryQueryParamType::TV_SHOW) if ! res.object.nil? @@ -548,15 +518,12 @@ Retrieves a list of all the countries that are found for the media in this libra ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_countries_library(section_key=9518, type=::PlexRubySDK::Operations::GetCountriesLibraryQueryParamType::TV_SHOW) if ! res.object.nil? @@ -588,15 +555,12 @@ Retrieves a list of all the actors that are found for the media in this library. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_actors_library(section_key=9518, type=::PlexRubySDK::Operations::GetActorsLibraryQueryParamType::TV_SHOW) if ! res.object.nil? @@ -628,14 +592,11 @@ Search the provided query across all library sections, or a single section, and ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetSearchAllLibrariesRequest.new( query: "", @@ -646,7 +607,7 @@ req = ::PlexRubySDK::Operations::GetSearchAllLibrariesRequest.new( include_collections: ::PlexRubySDK::Operations::GetSearchAllLibrariesQueryParamIncludeCollections::ENABLE, include_external_media: ::PlexRubySDK::Operations::GetSearchAllLibrariesQueryParamIncludeExternalMedia::ENABLE, ) - + res = s.library.get_search_all_libraries(req) if ! res.object.nil? @@ -677,14 +638,11 @@ This endpoint will return all the (meta)data of a library item specified with by ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetMediaMetaDataRequest.new( rating_key: 9518, @@ -702,7 +660,7 @@ req = ::PlexRubySDK::Operations::GetMediaMetaDataRequest.new( async_refresh_analysis: true, async_refresh_local_media_agent: true, ) - + res = s.library.get_media_meta_data(req) if ! res.object.nil? @@ -733,15 +691,12 @@ This endpoint will return the children of of a library item specified with the r ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_metadata_children(rating_key=1539.14, include_elements="") if ! res.object.nil? @@ -773,15 +728,12 @@ This endpoint will return the top watched content from libraries of a certain ty ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_top_watched_content(type=::PlexRubySDK::Operations::GetTopWatchedContentQueryParamType::TV_SHOW, include_guids=1) if ! res.object.nil? @@ -813,15 +765,12 @@ This endpoint will return the on deck content. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.library.get_on_deck() if ! res.object.nil? diff --git a/docs/sdks/log/README.md b/docs/sdks/log/README.md index e39f14f..b6ea27f 100644 --- a/docs/sdks/log/README.md +++ b/docs/sdks/log/README.md @@ -22,15 +22,12 @@ This endpoint will write a single-line log message, including a level and source ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.log.log_line(level=::PlexRubySDK::Operations::Level::THREE, message="Test log message", source="Postman") if res.status_code == 200 @@ -83,19 +80,16 @@ Ensure each parameter is properly URL-encoded to avoid interpretation issues. ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = "level=4&message=Test%20message%201&source=postman\n" + "level=3&message=Test%20message%202&source=postman\n" + "level=1&message=Test%20message%203&source=postman" - + res = s.log.log_multi_line(req) if res.status_code == 200 @@ -126,15 +120,12 @@ This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.log.enable_paper_trail() if res.status_code == 200 diff --git a/docs/sdks/media/README.md b/docs/sdks/media/README.md index 66ed615..35cbd3b 100644 --- a/docs/sdks/media/README.md +++ b/docs/sdks/media/README.md @@ -23,15 +23,12 @@ This will mark the provided media key as Played. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.media.mark_played(key=59398.0) if res.status_code == 200 @@ -61,15 +58,12 @@ This will mark the provided media key as Unplayed. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.media.mark_unplayed(key=59398.0) if res.status_code == 200 @@ -100,15 +94,12 @@ This API command can be used to update the play progress of a media item. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.media.update_play_progress(key="", time=90000.0, state="played") if res.status_code == 200 @@ -140,14 +131,11 @@ Gets the banner image of the media item ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetBannerImageRequest.new( rating_key: 9518, @@ -157,7 +145,7 @@ req = ::PlexRubySDK::Operations::GetBannerImageRequest.new( upscale: 1, x_plex_token: "CV5xoxjTpFKUzBTShsaf", ) - + res = s.media.get_banner_image(req) if ! res.bytes.nil? @@ -187,14 +175,11 @@ Gets the thumbnail image of the media item ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetThumbImageRequest.new( rating_key: 9518, @@ -204,7 +189,7 @@ req = ::PlexRubySDK::Operations::GetThumbImageRequest.new( upscale: 1, x_plex_token: "CV5xoxjTpFKUzBTShsaf", ) - + res = s.media.get_thumb_image(req) if ! res.bytes.nil? diff --git a/docs/sdks/playlists/README.md b/docs/sdks/playlists/README.md index 569ac9f..52d125e 100644 --- a/docs/sdks/playlists/README.md +++ b/docs/sdks/playlists/README.md @@ -33,14 +33,11 @@ Create a new playlist. By default the playlist is blank. To create a playlist al ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::CreatePlaylistRequest.new( title: "", @@ -48,7 +45,7 @@ req = ::PlexRubySDK::Operations::CreatePlaylistRequest.new( smart: ::PlexRubySDK::Operations::Smart::ONE, uri: "https://hoarse-testing.info/", ) - + res = s.playlists.create_playlist(req) if ! res.object.nil? @@ -78,15 +75,12 @@ Get All Playlists given the specified filters. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.playlists.get_playlists(playlist_type=::PlexRubySDK::Operations::PlaylistType::AUDIO, smart=::PlexRubySDK::Operations::QueryParamSmart::ZERO) if ! res.object.nil? @@ -119,15 +113,12 @@ Smart playlist details contain the `content` attribute. This is the content URI ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.playlists.get_playlist(playlist_id=4109.48) if ! res.object.nil? @@ -158,15 +149,12 @@ This endpoint will delete a playlist ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.playlists.delete_playlist(playlist_id=216.22) if res.status_code == 200 @@ -197,15 +185,12 @@ From PMS version 1.9.1 clients can also edit playlist metadata using this endpoi ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.playlists.update_playlist(playlist_id=3915.0, title="", summary="") if res.status_code == 200 @@ -241,15 +226,12 @@ Note that for dumb playlists, items have a `playlistItemID` attribute which is u ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.playlists.get_playlist_contents(playlist_id=5004.46, type=::PlexRubySDK::Operations::GetPlaylistContentsQueryParamType::TV_SHOW) if ! res.object.nil? @@ -281,15 +263,12 @@ Clears a playlist, only works with dumb playlists. Returns the playlist. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.playlists.clear_playlist_contents(playlist_id=1893.18) if res.status_code == 200 @@ -321,15 +300,12 @@ With a smart playlist, passing a new `uri` parameter replaces the rules for the ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.playlists.add_playlist_contents(playlist_id=8502.01, uri="server://12345/com.plexapp.plugins.library/library/metadata/1", play_queue_id=123.0) if ! res.object.nil? @@ -362,15 +338,12 @@ Imports m3u playlists by passing a path on the server to scan for m3u-formatted ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.playlists.upload_playlist(path="/home/barkley/playlist.m3u", force=::PlexRubySDK::Operations::QueryParamForce::ZERO, section_id=1) if res.status_code == 200 diff --git a/docs/sdks/plex/README.md b/docs/sdks/plex/README.md index acd1f34..4b709b4 100644 --- a/docs/sdks/plex/README.md +++ b/docs/sdks/plex/README.md @@ -25,15 +25,12 @@ Get Companions Data ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.plex.get_companions_data() if ! res.response_bodies.nil? @@ -63,15 +60,12 @@ Get friends of provided auth token. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.plex.get_user_friends() if ! res.friends.nil? @@ -101,10 +95,8 @@ Returns the geolocation and locale data of the caller ```ruby require 'plex_ruby_sdk' - s = ::PlexRubySDK::PlexAPI.new - res = s.plex.get_geo_data() if ! res.geo_data.nil? @@ -134,15 +126,12 @@ Retrieves the home data for the authenticated user, including details like home ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.plex.get_home_data() if ! res.object.nil? @@ -166,15 +155,12 @@ Get Plex server access tokens and server connections ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.plex.get_server_resources(client_id="3381b62b-9ab7-4e37-827b-203e9809eb58", include_https=::PlexRubySDK::Operations::IncludeHttps::ENABLE, include_relay=::PlexRubySDK::Operations::IncludeRelay::ENABLE, include_i_pv6=::PlexRubySDK::Operations::IncludeIPv6::ENABLE) if ! res.plex_devices.nil? @@ -208,10 +194,8 @@ Retrieve a Pin ID from Plex.tv to use for authentication flows ```ruby require 'plex_ruby_sdk' - s = ::PlexRubySDK::PlexAPI.new - req = ::PlexRubySDK::Operations::GetPinRequest.new( client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58", client_name: "Plex for Roku", @@ -219,7 +203,7 @@ req = ::PlexRubySDK::Operations::GetPinRequest.new( client_version: "2.4.1", platform: "Roku", ) - + res = s.plex.get_pin(req) if ! res.auth_pin_container.nil? @@ -250,10 +234,8 @@ Retrieve an Access Token from Plex.tv after the Pin has been authenticated ```ruby require 'plex_ruby_sdk' - s = ::PlexRubySDK::PlexAPI.new - req = ::PlexRubySDK::Operations::GetTokenByPinIdRequest.new( pin_id: 408895, client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58", @@ -262,7 +244,7 @@ req = ::PlexRubySDK::Operations::GetTokenByPinIdRequest.new( client_version: "2.4.1", platform: "Roku", ) - + res = s.plex.get_token_by_pin_id(req) if ! res.auth_pin_container.nil? diff --git a/docs/sdks/search/README.md b/docs/sdks/search/README.md index 53ce402..d559ff0 100644 --- a/docs/sdks/search/README.md +++ b/docs/sdks/search/README.md @@ -33,15 +33,12 @@ This request is intended to be very fast, and called as the user types. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.search.perform_search(query="dylan", section_id=9372.7, limit=5.0) if res.status_code == 200 @@ -77,15 +74,12 @@ Results, as well as their containing per-type hubs, contain a `distance` attribu ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.search.perform_voice_search(query="dead+poop", section_id=4094.8, limit=5.0) if res.status_code == 200 @@ -117,15 +111,12 @@ This will search the database for the string provided. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.search.get_search_results(query="110") if ! res.object.nil? diff --git a/docs/sdks/server/README.md b/docs/sdks/server/README.md index 2ac44cb..e8c2131 100644 --- a/docs/sdks/server/README.md +++ b/docs/sdks/server/README.md @@ -27,15 +27,12 @@ Get Server Capabilities ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.server.get_server_capabilities() if ! res.object.nil? @@ -59,15 +56,12 @@ Get Server Preferences ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.server.get_server_preferences() if ! res.object.nil? @@ -91,15 +85,12 @@ Get Available Clients ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.server.get_available_clients() if ! res.object.nil? @@ -123,15 +114,12 @@ Get Devices ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.server.get_devices() if ! res.object.nil? @@ -155,10 +143,8 @@ This request is useful to determine if the server is online or offline ```ruby require 'plex_ruby_sdk' - s = ::PlexRubySDK::PlexAPI.new - res = s.server.get_server_identity() if ! res.object.nil? @@ -182,15 +168,12 @@ Returns MyPlex Account Information ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.server.get_my_plex_account() if ! res.object.nil? @@ -215,14 +198,11 @@ Plex's Photo transcoder is used throughout the service to serve images at specif ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetResizedPhotoRequest.new( width: 110.0, @@ -233,7 +213,7 @@ req = ::PlexRubySDK::Operations::GetResizedPhotoRequest.new( upscale: ::PlexRubySDK::Operations::Upscale::ONE, url: "/library/metadata/49564/thumb/1654258204", ) - + res = s.server.get_resized_photo(req) if res.status_code == 200 @@ -263,15 +243,12 @@ Retrieves media providers and their features from the Plex server. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.server.get_media_providers(x_plex_token="CV5xoxjTpFKUzBTShsaf") if ! res.object.nil? @@ -301,15 +278,12 @@ Get Server List ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.server.get_server_list() if ! res.object.nil? diff --git a/docs/sdks/sessions/README.md b/docs/sdks/sessions/README.md index 7c8e8b0..1070f36 100644 --- a/docs/sdks/sessions/README.md +++ b/docs/sdks/sessions/README.md @@ -22,15 +22,12 @@ This will retrieve the "Now Playing" Information of the PMS. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.sessions.get_sessions() if ! res.object.nil? @@ -54,15 +51,12 @@ This will Retrieve a listing of all history views. ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.sessions.get_session_history(sort="", account_id=1, filter=::PlexRubySDK::Operations::QueryParamFilter.new(), library_section_id=12) if ! res.object.nil? @@ -95,15 +89,12 @@ Get Transcode Sessions ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.sessions.get_transcode_sessions() if ! res.object.nil? @@ -127,15 +118,12 @@ Stop a Transcode Session ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.sessions.stop_transcode_session(session_key="zz7llzqlx8w9vnrsbnwhbmep") if res.status_code == 200 diff --git a/docs/sdks/statistics/README.md b/docs/sdks/statistics/README.md index 04e8ecb..7d8ce56 100644 --- a/docs/sdks/statistics/README.md +++ b/docs/sdks/statistics/README.md @@ -21,15 +21,12 @@ This will return the media statistics for the server ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.statistics.get_statistics(timespan=4) if ! res.object.nil? @@ -59,15 +56,12 @@ This will return the resources for the server ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.statistics.get_resources_statistics(timespan=4) if ! res.object.nil? @@ -97,15 +91,12 @@ This will return the bandwidth statistics for the server ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.statistics.get_bandwidth_statistics(timespan=4) if ! res.object.nil? diff --git a/docs/sdks/updater/README.md b/docs/sdks/updater/README.md index 3db0805..fda80d9 100644 --- a/docs/sdks/updater/README.md +++ b/docs/sdks/updater/README.md @@ -22,15 +22,12 @@ Querying status of updates ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.updater.get_update_status() if ! res.object.nil? @@ -54,15 +51,12 @@ Checking for updates ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.updater.check_for_updates(download=::PlexRubySDK::Operations::Download::ONE) if res.status_code == 200 @@ -93,15 +87,12 @@ Note that these two parameters are effectively mutually exclusive. The `tonight` ```ruby require 'plex_ruby_sdk' +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - - res = s.updater.apply_updates(tonight=::PlexRubySDK::Operations::Tonight::ONE, skip=::PlexRubySDK::Operations::Skip::ONE) if res.status_code == 200 diff --git a/docs/sdks/users/README.md b/docs/sdks/users/README.md index 4d0e807..5c23682 100644 --- a/docs/sdks/users/README.md +++ b/docs/sdks/users/README.md @@ -16,10 +16,8 @@ Get list of all users that are friends and have library access with the provided ```ruby require 'plex_ruby_sdk' - s = ::PlexRubySDK::PlexAPI.new - req = ::PlexRubySDK::Operations::GetUsersRequest.new( client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58", client_name: "Plex for Roku", @@ -35,7 +33,7 @@ req = ::PlexRubySDK::Operations::GetUsersRequest.new( platform_version: "4.3 build 1057", x_plex_token: "CV5xoxjTpFKUzBTShsaf", ) - + res = s.users.get_users(req) if ! res.body.nil? diff --git a/docs/sdks/video/README.md b/docs/sdks/video/README.md index 4ce188a..787f63b 100644 --- a/docs/sdks/video/README.md +++ b/docs/sdks/video/README.md @@ -20,14 +20,11 @@ Get the timeline for a media item ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetTimelineRequest.new( rating_key: 23409.0, @@ -41,7 +38,7 @@ req = ::PlexRubySDK::Operations::GetTimelineRequest.new( play_back_time: 2000.0, row: 1.0, ) - + res = s.video.get_timeline(req) if res.status_code == 200 @@ -71,14 +68,11 @@ Begin a Universal Transcode Session ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::StartUniversalTranscodeRequest.new( has_mde: 1.0, @@ -98,7 +92,7 @@ req = ::PlexRubySDK::Operations::StartUniversalTranscodeRequest.new( add_debug_overlay: 0.0, auto_adjust_quality: 0.0, ) - + res = s.video.start_universal_transcode(req) if res.status_code == 200 diff --git a/docs/sdks/watchlist/README.md b/docs/sdks/watchlist/README.md index 33056bc..d2aa4c8 100644 --- a/docs/sdks/watchlist/README.md +++ b/docs/sdks/watchlist/README.md @@ -19,14 +19,11 @@ Get User Watchlist ```ruby require 'plex_ruby_sdk' - -s = ::PlexRubySDK::PlexAPI.new -s.config_security( - ::PlexRubySDK::Shared::Security.new( - access_token: "", - ) -) - +s = ::PlexRubySDK::PlexAPI.new( + security: ::PlexRubySDK::Shared::Security.new( + access_token: "", + ), + ) req = ::PlexRubySDK::Operations::GetWatchListRequest.new( filter: ::PlexRubySDK::Operations::Filter::AVAILABLE, @@ -34,7 +31,7 @@ req = ::PlexRubySDK::Operations::GetWatchListRequest.new( x_plex_container_size: 50, x_plex_token: "CV5xoxjTpFKUzBTShsaf", ) - + res = s.watchlist.get_watch_list(req) if ! res.object.nil? diff --git a/lib/crystalline.rb b/lib/crystalline.rb new file mode 100644 index 0000000..d3e9290 --- /dev/null +++ b/lib/crystalline.rb @@ -0,0 +1,12 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + +module Crystalline + autoload :MetadataFields, 'crystalline/metadata_fields' +end + + +require_relative 'crystalline/utils' +require_relative 'crystalline/t' diff --git a/lib/plex_ruby_sdk/utils/metadata_fields.rb b/lib/crystalline/metadata_fields.rb similarity index 80% rename from lib/plex_ruby_sdk/utils/metadata_fields.rb rename to lib/crystalline/metadata_fields.rb index 806bc39..3880bff 100644 --- a/lib/plex_ruby_sdk/utils/metadata_fields.rb +++ b/lib/crystalline/metadata_fields.rb @@ -3,7 +3,8 @@ # typed: true # frozen_string_literal: true -module PlexRubySDK +module Crystalline + extend T::Sig module MetadataFields extend T::Sig @@ -32,9 +33,13 @@ module PlexRubySDK fields << Field.new(field_name, type, metadata) end + def field_augmented? + true + end + def unmarshal_single(field_type, value, decoder = nil) - if field_type.respond_to? :unmarshal_json - unmarshalled = field_type.unmarshal_json(value) + if field_type.instance_of?(Class) && field_type < ::Crystalline::FieldAugmented + unmarshalled = field_type.from_dict(value) return unmarshalled elsif field_type.to_s == 'Object' # rubocop:disable Lint/SuppressedException @@ -52,14 +57,20 @@ module PlexRubySDK end end - sig { params(json_obj: T.any(String, T::Hash[Symbol, String])).returns(Utils::FieldAugmented) } - def unmarshal_json(json_obj) - to_build = new + sig { params(json_obj: T.any(String, T::Hash[Symbol, String])).returns(::Crystalline::FieldAugmented) } + def from_json(json_obj) begin d = JSON.parse(json_obj) rescue TypeError, JSON::ParserError d = json_obj end + from_dict(d) + end + + sig { params(d: T::Hash[Symbol, String]).returns(::Crystalline::FieldAugmented) } + def from_dict(d) + to_build = new + fields.each do |field| field_type = field.type if T.nilable? field_type @@ -113,15 +124,15 @@ module PlexRubySDK end def marshal_single(field) - if field.respond_to? :marshal_json - field.marshal_json(encode: false) + if field.is_a? ::Crystalline::FieldAugmented + field.to_dict else - Utils.val_to_string(field, primitives: false) + ::Crystalline.val_to_string(field, primitives: false) end end - def marshal_json(encode: true) - d = {} + def to_dict + result = {} fields.sort_by(&:name).each do |field| f = send(field.name) next if f.nil? @@ -133,18 +144,20 @@ module PlexRubySDK key = field.name end if f.is_a? Array - d[key] = f.map { |o| marshal_single(o) } + result[key] = f.map { |o| marshal_single(o) } elsif f.is_a? Hash - d[key] = f.map { |k, v| [k, marshal_single(v)] } + result[key] = f.map { |k, v| [k, marshal_single(v)] } else - d[key] = marshal_single(f) + result[key] = marshal_single(f) end end - if encode - JSON.dump(d) - else - d - end + result + end + + def to_json(*args) + JSON.generate(to_dict, *args) end end + + end diff --git a/lib/plex_ruby_sdk/utils/t.rb b/lib/crystalline/t.rb similarity index 100% rename from lib/plex_ruby_sdk/utils/t.rb rename to lib/crystalline/t.rb diff --git a/lib/crystalline/utils.rb b/lib/crystalline/utils.rb new file mode 100644 index 0000000..4a65e99 --- /dev/null +++ b/lib/crystalline/utils.rb @@ -0,0 +1,65 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + +require 'sorbet-runtime' + +module Crystalline + extend T::Sig + + class FieldAugmented + include MetadataFields + end + + sig { params(complex: Object).returns(Object) } + def self.marshal_dict_complex(complex) + if complex.is_a? Array + complex.map { |v| Crystalline.marshal_dict_complex(v) } + elsif complex.is_a? Hash + complex.transform_values { |v| Crystalline.marshal_dict_complex(v) } + elsif complex.is_a? Crystalline::FieldAugmented + complex.to_dict + else + complex + end + end + + def self.marshal_json_complex(complex) + JSON.dump(marshal_dict_complex(complex)) + end + + sig { params(data: Object, type: Object).returns(Object) } + def self.unmarshal_complex(data, type) + unmarshal_json(data, type) + end + + sig { params(data: Object, type: Object).returns(Object) } + def self.unmarshal_json(data, type) + if T.simplifiable? type + type = T.simplify_type type + end + if type.instance_of?(Class) && type < ::Crystalline::FieldAugmented + type.from_dict(data) + elsif T.arr? type + data.map { |v| Crystalline.unmarshal_complex(v, T.arr_of(type)) } + elsif T.hash? type + data.transform_values { |v| Crystalline.unmarshal_complex(v, T.hash_of(type)) } + else + data + end + end + + sig { params(val: Object, primitives: T::Boolean).returns(Object) } + def self.val_to_string(val, primitives: true) + if val.is_a? T::Enum + val.serialize + elsif val.is_a? DateTime + val.strftime('%Y-%m-%dT%H:%M:%S.%NZ') + elsif primitives + val.to_s + else + val + end + end +end diff --git a/lib/plex_ruby_sdk.rb b/lib/plex_ruby_sdk.rb index 5f8845a..768934c 100644 --- a/lib/plex_ruby_sdk.rb +++ b/lib/plex_ruby_sdk.rb @@ -27,7 +27,6 @@ module PlexRubySDK autoload :Users, 'plex_ruby_sdk/users' end -require_relative 'plex_ruby_sdk/utils/t' require_relative 'plex_ruby_sdk/utils/utils' -require_relative 'plex_ruby_sdk/utils/metadata_fields' +require_relative 'crystalline' require_relative 'plex_ruby_sdk/sdkconfiguration' diff --git a/lib/plex_ruby_sdk/activities.rb b/lib/plex_ruby_sdk/activities.rb index 339ec47..fbaaeec 100644 --- a/lib/plex_ruby_sdk/activities.rb +++ b/lib/plex_ruby_sdk/activities.rb @@ -39,7 +39,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -49,17 +50,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerActivitiesResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerActivitiesResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerActivitiesBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerActivitiesBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerActivitiesUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerActivitiesUnauthorized) res.unauthorized = out end end @@ -90,7 +91,8 @@ module PlexRubySDK r = @sdk_configuration.client.delete(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -101,12 +103,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::CancelServerActivitiesBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::CancelServerActivitiesBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::CancelServerActivitiesUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::CancelServerActivitiesUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/authentication.rb b/lib/plex_ruby_sdk/authentication.rb index 0559f89..5b6a1a8 100644 --- a/lib/plex_ruby_sdk/authentication.rb +++ b/lib/plex_ruby_sdk/authentication.rb @@ -51,7 +51,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -62,12 +63,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTransientTokenBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTransientTokenBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTransientTokenUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTransientTokenUnauthorized) res.unauthorized = out end end @@ -97,7 +98,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -108,12 +110,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSourceConnectionInformationBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSourceConnectionInformationBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSourceConnectionInformationUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSourceConnectionInformationUnauthorized) res.unauthorized = out end end @@ -136,7 +138,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -146,17 +149,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTokenDetailsUserPlexAccount) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTokenDetailsUserPlexAccount) res.user_plex_account = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTokenDetailsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTokenDetailsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTokenDetailsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTokenDetailsUnauthorized) res.unauthorized = out end end @@ -197,17 +200,17 @@ module PlexRubySDK ) if r.status == 201 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::PostUsersSignInDataUserPlexAccount) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::PostUsersSignInDataUserPlexAccount) res.user_plex_account = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::PostUsersSignInDataBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::PostUsersSignInDataBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::PostUsersSignInDataUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::PostUsersSignInDataUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/butler.rb b/lib/plex_ruby_sdk/butler.rb index 9eed705..c55ede1 100644 --- a/lib/plex_ruby_sdk/butler.rb +++ b/lib/plex_ruby_sdk/butler.rb @@ -33,7 +33,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -43,17 +44,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetButlerTasksResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetButlerTasksResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetButlerTasksBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetButlerTasksBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetButlerTasksUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetButlerTasksUnauthorized) res.unauthorized = out end end @@ -80,7 +81,8 @@ module PlexRubySDK r = @sdk_configuration.client.post(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -91,12 +93,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StartAllTasksBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StartAllTasksBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StartAllTasksUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StartAllTasksUnauthorized) res.unauthorized = out end end @@ -119,7 +121,8 @@ module PlexRubySDK r = @sdk_configuration.client.delete(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -130,12 +133,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopAllTasksBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StopAllTasksBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopAllTasksUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StopAllTasksUnauthorized) res.unauthorized = out end end @@ -171,7 +174,8 @@ module PlexRubySDK r = @sdk_configuration.client.post(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -182,12 +186,12 @@ module PlexRubySDK if [200, 202].include?(r.status) elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StartTaskBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StartTaskBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StartTaskUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StartTaskUnauthorized) res.unauthorized = out end end @@ -219,7 +223,8 @@ module PlexRubySDK r = @sdk_configuration.client.delete(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -230,12 +235,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopTaskBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StopTaskBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopTaskUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StopTaskUnauthorized) res.unauthorized = out end elsif r.status == 404 diff --git a/lib/plex_ruby_sdk/hubs.rb b/lib/plex_ruby_sdk/hubs.rb index 21bbe24..3ca53d9 100644 --- a/lib/plex_ruby_sdk/hubs.rb +++ b/lib/plex_ruby_sdk/hubs.rb @@ -40,7 +40,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -50,17 +51,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGlobalHubsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGlobalHubsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGlobalHubsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGlobalHubsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGlobalHubsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGlobalHubsUnauthorized) res.unauthorized = out end end @@ -85,7 +86,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -95,7 +97,7 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRecentlyAddedResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRecentlyAddedResponseBody) res.object = out end elsif [400, 401].include?(r.status) @@ -132,7 +134,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -142,17 +145,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryHubsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryHubsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryHubsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryHubsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryHubsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryHubsUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/library.rb b/lib/plex_ruby_sdk/library.rb index 4cf65b3..850aad0 100644 --- a/lib/plex_ruby_sdk/library.rb +++ b/lib/plex_ruby_sdk/library.rb @@ -40,7 +40,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -51,12 +52,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetFileHashBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetFileHashBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetFileHashUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetFileHashUnauthorized) res.unauthorized = out end end @@ -81,7 +82,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -91,17 +93,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRecentlyAddedLibraryResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRecentlyAddedLibraryResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRecentlyAddedLibraryBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRecentlyAddedLibraryBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRecentlyAddedLibraryUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRecentlyAddedLibraryUnauthorized) res.unauthorized = out end end @@ -129,7 +131,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -139,17 +142,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllLibrariesResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllLibrariesResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllLibrariesBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllLibrariesBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllLibrariesUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllLibrariesUnauthorized) res.unauthorized = out end end @@ -222,7 +225,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -232,17 +236,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryDetailsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryDetailsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryDetailsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryDetailsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryDetailsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryDetailsUnauthorized) res.unauthorized = out end end @@ -273,7 +277,8 @@ module PlexRubySDK r = @sdk_configuration.client.delete(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -284,12 +289,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::DeleteLibraryBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::DeleteLibraryBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::DeleteLibraryUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::DeleteLibraryUnauthorized) res.unauthorized = out end end @@ -339,7 +344,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -349,17 +355,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryItemsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryItemsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryItemsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryItemsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetLibraryItemsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetLibraryItemsUnauthorized) res.unauthorized = out end end @@ -389,7 +395,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -399,17 +406,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllMediaLibraryResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllMediaLibraryResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllMediaLibraryBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllMediaLibraryBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAllMediaLibraryUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAllMediaLibraryUnauthorized) res.unauthorized = out end elsif r.status == 404 @@ -445,7 +452,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -456,12 +464,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRefreshLibraryMetadataBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRefreshLibraryMetadataBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetRefreshLibraryMetadataUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetRefreshLibraryMetadataUnauthorized) res.unauthorized = out end end @@ -513,7 +521,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -523,17 +532,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchLibraryResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchLibraryResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchLibraryBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchLibraryBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchLibraryUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchLibraryUnauthorized) res.unauthorized = out end end @@ -568,7 +577,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -578,17 +588,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGenresLibraryResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGenresLibraryResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGenresLibraryBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGenresLibraryBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGenresLibraryUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGenresLibraryUnauthorized) res.unauthorized = out end elsif r.status == 404 @@ -624,7 +634,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -634,17 +645,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetCountriesLibraryResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetCountriesLibraryResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetCountriesLibraryBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetCountriesLibraryBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetCountriesLibraryUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetCountriesLibraryUnauthorized) res.unauthorized = out end elsif r.status == 404 @@ -680,7 +691,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -690,17 +702,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetActorsLibraryResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetActorsLibraryResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetActorsLibraryBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetActorsLibraryBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetActorsLibraryUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetActorsLibraryUnauthorized) res.unauthorized = out end elsif r.status == 404 @@ -726,7 +738,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -736,17 +749,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchAllLibrariesResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchAllLibrariesResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchAllLibrariesBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchAllLibrariesBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchAllLibrariesUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchAllLibrariesUnauthorized) res.unauthorized = out end end @@ -776,7 +789,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -786,17 +800,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMediaMetaDataResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMediaMetaDataResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMediaMetaDataBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMediaMetaDataBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMediaMetaDataUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMediaMetaDataUnauthorized) res.unauthorized = out end elsif r.status == 404 @@ -832,7 +846,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -842,17 +857,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMetadataChildrenResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMetadataChildrenResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMetadataChildrenBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMetadataChildrenBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMetadataChildrenUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMetadataChildrenUnauthorized) res.unauthorized = out end end @@ -882,7 +897,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -892,17 +908,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTopWatchedContentResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTopWatchedContentResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTopWatchedContentBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTopWatchedContentBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTopWatchedContentUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTopWatchedContentUnauthorized) res.unauthorized = out end end @@ -925,7 +941,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -935,17 +952,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetOnDeckResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetOnDeckResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetOnDeckBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetOnDeckBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetOnDeckUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetOnDeckUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/log.rb b/lib/plex_ruby_sdk/log.rb index 309f6ed..c3fa5ec 100644 --- a/lib/plex_ruby_sdk/log.rb +++ b/lib/plex_ruby_sdk/log.rb @@ -42,7 +42,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -53,12 +54,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogLineBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::LogLineBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogLineUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::LogLineUnauthorized) res.unauthorized = out end end @@ -104,7 +105,8 @@ module PlexRubySDK r = @sdk_configuration.client.post(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? if form req.body = Utils.encode_form(form) elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded') @@ -122,12 +124,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogMultiLineBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::LogMultiLineBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::LogMultiLineUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::LogMultiLineUnauthorized) res.unauthorized = out end end @@ -150,7 +152,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -161,12 +164,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::EnablePaperTrailBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::EnablePaperTrailBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::EnablePaperTrailUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::EnablePaperTrailUnauthorized) res.unauthorized = out end elsif r.status == 403 diff --git a/lib/plex_ruby_sdk/media.rb b/lib/plex_ruby_sdk/media.rb index d3c8a50..9547a87 100644 --- a/lib/plex_ruby_sdk/media.rb +++ b/lib/plex_ruby_sdk/media.rb @@ -39,7 +39,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -50,12 +51,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkPlayedBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::MarkPlayedBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkPlayedUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::MarkPlayedUnauthorized) res.unauthorized = out end end @@ -83,7 +84,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -94,12 +96,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkUnplayedBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::MarkUnplayedBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::MarkUnplayedUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::MarkUnplayedUnauthorized) res.unauthorized = out end end @@ -130,7 +132,8 @@ module PlexRubySDK r = @sdk_configuration.client.post(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -141,12 +144,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::UpdatePlayProgressBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::UpdatePlayProgressBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::UpdatePlayProgressUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::UpdatePlayProgressUnauthorized) res.unauthorized = out end end @@ -175,7 +178,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -188,12 +192,12 @@ module PlexRubySDK res.bytes = r.env.response_body if Utils.match_content_type(content_type, 'image/jpeg') elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetBannerImageBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetBannerImageBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetBannerImageUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetBannerImageUnauthorized) res.unauthorized = out end end @@ -222,7 +226,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -235,12 +240,12 @@ module PlexRubySDK res.bytes = r.env.response_body if Utils.match_content_type(content_type, 'image/jpeg') elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetThumbImageBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetThumbImageBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetThumbImageUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetThumbImageUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/models/operations/account.rb b/lib/plex_ruby_sdk/models/operations/account.rb index a7f54b4..8cbc86c 100644 --- a/lib/plex_ruby_sdk/models/operations/account.rb +++ b/lib/plex_ruby_sdk/models/operations/account.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Account < ::PlexRubySDK::Utils::FieldAugmented + class Account < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/action.rb b/lib/plex_ruby_sdk/models/operations/action.rb index 5c83065..eaadf30 100644 --- a/lib/plex_ruby_sdk/models/operations/action.rb +++ b/lib/plex_ruby_sdk/models/operations/action.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Action < ::PlexRubySDK::Utils::FieldAugmented + class Action < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/activity.rb b/lib/plex_ruby_sdk/models/operations/activity.rb index 98ac68a..56333f0 100644 --- a/lib/plex_ruby_sdk/models/operations/activity.rb +++ b/lib/plex_ruby_sdk/models/operations/activity.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Activity < ::PlexRubySDK::Utils::FieldAugmented + class Activity < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_badrequest.rb b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_badrequest.rb index ef54489..ae5ac69 100644 --- a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class AddPlaylistContentsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class AddPlaylistContentsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_errors.rb b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_errors.rb index 555f777..6400c28 100644 --- a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class AddPlaylistContentsErrors < ::PlexRubySDK::Utils::FieldAugmented + class AddPlaylistContentsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_mediacontainer.rb index f8bd8a1..735dabf 100644 --- a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class AddPlaylistContentsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class AddPlaylistContentsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_metadata.rb b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_metadata.rb index b3e9262..c317c9a 100644 --- a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class AddPlaylistContentsMetadata < ::PlexRubySDK::Utils::FieldAugmented + class AddPlaylistContentsMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_playlists_errors.rb b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_playlists_errors.rb index 3514882..a9fcded 100644 --- a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_playlists_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_playlists_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class AddPlaylistContentsPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented + class AddPlaylistContentsPlaylistsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_request.rb b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_request.rb index b37c218..13b4e26 100644 --- a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_request.rb +++ b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class AddPlaylistContentsRequest < ::PlexRubySDK::Utils::FieldAugmented + class AddPlaylistContentsRequest < ::Crystalline::FieldAugmented extend T::Sig # the ID of the playlist diff --git a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_response.rb b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_response.rb index 38cf599..aa7f1c3 100644 --- a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_response.rb +++ b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class AddPlaylistContentsResponse < ::PlexRubySDK::Utils::FieldAugmented + class AddPlaylistContentsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_responsebody.rb b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_responsebody.rb index d2eb8bd..c0de9e9 100644 --- a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Playlist Updated - class AddPlaylistContentsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class AddPlaylistContentsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_unauthorized.rb index 468dee4..d1b2705 100644 --- a/lib/plex_ruby_sdk/models/operations/addplaylistcontents_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/addplaylistcontents_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class AddPlaylistContentsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class AddPlaylistContentsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/applyupdates_badrequest.rb b/lib/plex_ruby_sdk/models/operations/applyupdates_badrequest.rb index df77acb..0006d7a 100644 --- a/lib/plex_ruby_sdk/models/operations/applyupdates_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/applyupdates_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class ApplyUpdatesBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class ApplyUpdatesBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/applyupdates_errors.rb b/lib/plex_ruby_sdk/models/operations/applyupdates_errors.rb index 609ba97..b77547b 100644 --- a/lib/plex_ruby_sdk/models/operations/applyupdates_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/applyupdates_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class ApplyUpdatesErrors < ::PlexRubySDK::Utils::FieldAugmented + class ApplyUpdatesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/applyupdates_request.rb b/lib/plex_ruby_sdk/models/operations/applyupdates_request.rb index 5a9e3bf..8a94d29 100644 --- a/lib/plex_ruby_sdk/models/operations/applyupdates_request.rb +++ b/lib/plex_ruby_sdk/models/operations/applyupdates_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class ApplyUpdatesRequest < ::PlexRubySDK::Utils::FieldAugmented + class ApplyUpdatesRequest < ::Crystalline::FieldAugmented extend T::Sig # Indicate that the latest version should be marked as skipped. The [Release] entry for this version will have the `state` set to `skipped`. diff --git a/lib/plex_ruby_sdk/models/operations/applyupdates_response.rb b/lib/plex_ruby_sdk/models/operations/applyupdates_response.rb index 3448307..824d162 100644 --- a/lib/plex_ruby_sdk/models/operations/applyupdates_response.rb +++ b/lib/plex_ruby_sdk/models/operations/applyupdates_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class ApplyUpdatesResponse < ::PlexRubySDK::Utils::FieldAugmented + class ApplyUpdatesResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/applyupdates_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/applyupdates_unauthorized.rb index f8627db..fcbc6f7 100644 --- a/lib/plex_ruby_sdk/models/operations/applyupdates_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/applyupdates_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class ApplyUpdatesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class ApplyUpdatesUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/applyupdates_updater_errors.rb b/lib/plex_ruby_sdk/models/operations/applyupdates_updater_errors.rb index 115bc7e..35f42ce 100644 --- a/lib/plex_ruby_sdk/models/operations/applyupdates_updater_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/applyupdates_updater_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class ApplyUpdatesUpdaterErrors < ::PlexRubySDK::Utils::FieldAugmented + class ApplyUpdatesUpdaterErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/billing.rb b/lib/plex_ruby_sdk/models/operations/billing.rb index 182ab3f..4fa5afe 100644 --- a/lib/plex_ruby_sdk/models/operations/billing.rb +++ b/lib/plex_ruby_sdk/models/operations/billing.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class Billing < ::PlexRubySDK::Utils::FieldAugmented + class Billing < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/butlertask.rb b/lib/plex_ruby_sdk/models/operations/butlertask.rb index 6130e7d..240cb96 100644 --- a/lib/plex_ruby_sdk/models/operations/butlertask.rb +++ b/lib/plex_ruby_sdk/models/operations/butlertask.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class ButlerTask < ::PlexRubySDK::Utils::FieldAugmented + class ButlerTask < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/butlertasks.rb b/lib/plex_ruby_sdk/models/operations/butlertasks.rb index fd55453..cf59311 100644 --- a/lib/plex_ruby_sdk/models/operations/butlertasks.rb +++ b/lib/plex_ruby_sdk/models/operations/butlertasks.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class ButlerTasks < ::PlexRubySDK::Utils::FieldAugmented + class ButlerTasks < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_activities_errors.rb b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_activities_errors.rb index 4a593b3..74c4056 100644 --- a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_activities_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_activities_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CancelServerActivitiesActivitiesErrors < ::PlexRubySDK::Utils::FieldAugmented + class CancelServerActivitiesActivitiesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_badrequest.rb b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_badrequest.rb index 816ff9d..2b0b920 100644 --- a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class CancelServerActivitiesBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class CancelServerActivitiesBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_errors.rb b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_errors.rb index 99e966b..6046378 100644 --- a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CancelServerActivitiesErrors < ::PlexRubySDK::Utils::FieldAugmented + class CancelServerActivitiesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_request.rb b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_request.rb index 2f81c86..1996eb2 100644 --- a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_request.rb +++ b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CancelServerActivitiesRequest < ::PlexRubySDK::Utils::FieldAugmented + class CancelServerActivitiesRequest < ::Crystalline::FieldAugmented extend T::Sig # The UUID of the activity to cancel. diff --git a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_response.rb b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_response.rb index 1b9a45f..7e8f92c 100644 --- a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_response.rb +++ b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CancelServerActivitiesResponse < ::PlexRubySDK::Utils::FieldAugmented + class CancelServerActivitiesResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_unauthorized.rb index b883b29..d657f16 100644 --- a/lib/plex_ruby_sdk/models/operations/cancelserveractivities_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/cancelserveractivities_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class CancelServerActivitiesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class CancelServerActivitiesUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/checkforupdates_badrequest.rb b/lib/plex_ruby_sdk/models/operations/checkforupdates_badrequest.rb index c928689..1bbb81b 100644 --- a/lib/plex_ruby_sdk/models/operations/checkforupdates_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/checkforupdates_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class CheckForUpdatesBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class CheckForUpdatesBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/checkforupdates_errors.rb b/lib/plex_ruby_sdk/models/operations/checkforupdates_errors.rb index 387ef07..0c704ec 100644 --- a/lib/plex_ruby_sdk/models/operations/checkforupdates_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/checkforupdates_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CheckForUpdatesErrors < ::PlexRubySDK::Utils::FieldAugmented + class CheckForUpdatesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/checkforupdates_request.rb b/lib/plex_ruby_sdk/models/operations/checkforupdates_request.rb index 6237d0f..0fc7684 100644 --- a/lib/plex_ruby_sdk/models/operations/checkforupdates_request.rb +++ b/lib/plex_ruby_sdk/models/operations/checkforupdates_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CheckForUpdatesRequest < ::PlexRubySDK::Utils::FieldAugmented + class CheckForUpdatesRequest < ::Crystalline::FieldAugmented extend T::Sig # Indicate that you want to start download any updates found. diff --git a/lib/plex_ruby_sdk/models/operations/checkforupdates_response.rb b/lib/plex_ruby_sdk/models/operations/checkforupdates_response.rb index c20f7de..48292b0 100644 --- a/lib/plex_ruby_sdk/models/operations/checkforupdates_response.rb +++ b/lib/plex_ruby_sdk/models/operations/checkforupdates_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CheckForUpdatesResponse < ::PlexRubySDK::Utils::FieldAugmented + class CheckForUpdatesResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/checkforupdates_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/checkforupdates_unauthorized.rb index b6790b9..051a6e4 100644 --- a/lib/plex_ruby_sdk/models/operations/checkforupdates_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/checkforupdates_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class CheckForUpdatesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class CheckForUpdatesUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/checkforupdates_updater_errors.rb b/lib/plex_ruby_sdk/models/operations/checkforupdates_updater_errors.rb index 889d24f..df94088 100644 --- a/lib/plex_ruby_sdk/models/operations/checkforupdates_updater_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/checkforupdates_updater_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CheckForUpdatesUpdaterErrors < ::PlexRubySDK::Utils::FieldAugmented + class CheckForUpdatesUpdaterErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_badrequest.rb b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_badrequest.rb index 77cb257..9849af6 100644 --- a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class ClearPlaylistContentsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class ClearPlaylistContentsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_errors.rb b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_errors.rb index c6d3031..141c793 100644 --- a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class ClearPlaylistContentsErrors < ::PlexRubySDK::Utils::FieldAugmented + class ClearPlaylistContentsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_playlists_errors.rb b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_playlists_errors.rb index b8c83ac..1652b0c 100644 --- a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_playlists_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_playlists_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class ClearPlaylistContentsPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented + class ClearPlaylistContentsPlaylistsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_request.rb b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_request.rb index 805b1d8..67d1e76 100644 --- a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_request.rb +++ b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class ClearPlaylistContentsRequest < ::PlexRubySDK::Utils::FieldAugmented + class ClearPlaylistContentsRequest < ::Crystalline::FieldAugmented extend T::Sig # the ID of the playlist diff --git a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_response.rb b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_response.rb index 0036a78..7fe1e49 100644 --- a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_response.rb +++ b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class ClearPlaylistContentsResponse < ::PlexRubySDK::Utils::FieldAugmented + class ClearPlaylistContentsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_unauthorized.rb index 8e48a10..3ea7195 100644 --- a/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/clearplaylistcontents_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class ClearPlaylistContentsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class ClearPlaylistContentsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/collection.rb b/lib/plex_ruby_sdk/models/operations/collection.rb index dbdac5e..31c679f 100644 --- a/lib/plex_ruby_sdk/models/operations/collection.rb +++ b/lib/plex_ruby_sdk/models/operations/collection.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Collection < ::PlexRubySDK::Utils::FieldAugmented + class Collection < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/connections.rb b/lib/plex_ruby_sdk/models/operations/connections.rb index b644d6b..561f4b8 100644 --- a/lib/plex_ruby_sdk/models/operations/connections.rb +++ b/lib/plex_ruby_sdk/models/operations/connections.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class Connections < ::PlexRubySDK::Utils::FieldAugmented + class Connections < ::Crystalline::FieldAugmented extend T::Sig # The (ip) address or domain name used for the connection diff --git a/lib/plex_ruby_sdk/models/operations/context.rb b/lib/plex_ruby_sdk/models/operations/context.rb index c22de59..0915ce6 100644 --- a/lib/plex_ruby_sdk/models/operations/context.rb +++ b/lib/plex_ruby_sdk/models/operations/context.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Context < ::PlexRubySDK::Utils::FieldAugmented + class Context < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/country.rb b/lib/plex_ruby_sdk/models/operations/country.rb index 3bda6c9..ce27b6f 100644 --- a/lib/plex_ruby_sdk/models/operations/country.rb +++ b/lib/plex_ruby_sdk/models/operations/country.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Country < ::PlexRubySDK::Utils::FieldAugmented + class Country < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/createplaylist_badrequest.rb b/lib/plex_ruby_sdk/models/operations/createplaylist_badrequest.rb index a661f3a..7485ba3 100644 --- a/lib/plex_ruby_sdk/models/operations/createplaylist_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/createplaylist_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class CreatePlaylistBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class CreatePlaylistBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/createplaylist_errors.rb b/lib/plex_ruby_sdk/models/operations/createplaylist_errors.rb index 828d893..ea92d00 100644 --- a/lib/plex_ruby_sdk/models/operations/createplaylist_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/createplaylist_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CreatePlaylistErrors < ::PlexRubySDK::Utils::FieldAugmented + class CreatePlaylistErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/createplaylist_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/createplaylist_mediacontainer.rb index 6381698..f203fd2 100644 --- a/lib/plex_ruby_sdk/models/operations/createplaylist_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/createplaylist_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CreatePlaylistMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class CreatePlaylistMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/createplaylist_metadata.rb b/lib/plex_ruby_sdk/models/operations/createplaylist_metadata.rb index b65819d..5e3786a 100644 --- a/lib/plex_ruby_sdk/models/operations/createplaylist_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/createplaylist_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CreatePlaylistMetadata < ::PlexRubySDK::Utils::FieldAugmented + class CreatePlaylistMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/createplaylist_playlists_errors.rb b/lib/plex_ruby_sdk/models/operations/createplaylist_playlists_errors.rb index fe8a902..f9c5093 100644 --- a/lib/plex_ruby_sdk/models/operations/createplaylist_playlists_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/createplaylist_playlists_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CreatePlaylistPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented + class CreatePlaylistPlaylistsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/createplaylist_request.rb b/lib/plex_ruby_sdk/models/operations/createplaylist_request.rb index 5d1d8e1..a3bc673 100644 --- a/lib/plex_ruby_sdk/models/operations/createplaylist_request.rb +++ b/lib/plex_ruby_sdk/models/operations/createplaylist_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CreatePlaylistRequest < ::PlexRubySDK::Utils::FieldAugmented + class CreatePlaylistRequest < ::Crystalline::FieldAugmented extend T::Sig # whether the playlist is smart or not diff --git a/lib/plex_ruby_sdk/models/operations/createplaylist_response.rb b/lib/plex_ruby_sdk/models/operations/createplaylist_response.rb index fe42e1a..061473b 100644 --- a/lib/plex_ruby_sdk/models/operations/createplaylist_response.rb +++ b/lib/plex_ruby_sdk/models/operations/createplaylist_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class CreatePlaylistResponse < ::PlexRubySDK::Utils::FieldAugmented + class CreatePlaylistResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/createplaylist_responsebody.rb b/lib/plex_ruby_sdk/models/operations/createplaylist_responsebody.rb index 60d0850..9cf2629 100644 --- a/lib/plex_ruby_sdk/models/operations/createplaylist_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/createplaylist_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # returns all playlists - class CreatePlaylistResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class CreatePlaylistResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/createplaylist_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/createplaylist_unauthorized.rb index 0b771b6..5309a5a 100644 --- a/lib/plex_ruby_sdk/models/operations/createplaylist_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/createplaylist_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class CreatePlaylistUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class CreatePlaylistUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/deletelibrary_badrequest.rb b/lib/plex_ruby_sdk/models/operations/deletelibrary_badrequest.rb index ea27072..67e4a16 100644 --- a/lib/plex_ruby_sdk/models/operations/deletelibrary_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/deletelibrary_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class DeleteLibraryBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class DeleteLibraryBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/deletelibrary_errors.rb b/lib/plex_ruby_sdk/models/operations/deletelibrary_errors.rb index e1bbd07..b2a692a 100644 --- a/lib/plex_ruby_sdk/models/operations/deletelibrary_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/deletelibrary_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class DeleteLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class DeleteLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/deletelibrary_library_errors.rb b/lib/plex_ruby_sdk/models/operations/deletelibrary_library_errors.rb index 90aa665..30dfc14 100644 --- a/lib/plex_ruby_sdk/models/operations/deletelibrary_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/deletelibrary_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class DeleteLibraryLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class DeleteLibraryLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/deletelibrary_request.rb b/lib/plex_ruby_sdk/models/operations/deletelibrary_request.rb index 2a37ccd..0763dbe 100644 --- a/lib/plex_ruby_sdk/models/operations/deletelibrary_request.rb +++ b/lib/plex_ruby_sdk/models/operations/deletelibrary_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class DeleteLibraryRequest < ::PlexRubySDK::Utils::FieldAugmented + class DeleteLibraryRequest < ::Crystalline::FieldAugmented extend T::Sig # The unique key of the Plex library. diff --git a/lib/plex_ruby_sdk/models/operations/deletelibrary_response.rb b/lib/plex_ruby_sdk/models/operations/deletelibrary_response.rb index 2be2908..dce18f0 100644 --- a/lib/plex_ruby_sdk/models/operations/deletelibrary_response.rb +++ b/lib/plex_ruby_sdk/models/operations/deletelibrary_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class DeleteLibraryResponse < ::PlexRubySDK::Utils::FieldAugmented + class DeleteLibraryResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/deletelibrary_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/deletelibrary_unauthorized.rb index 205809a..c763abd 100644 --- a/lib/plex_ruby_sdk/models/operations/deletelibrary_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/deletelibrary_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class DeleteLibraryUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class DeleteLibraryUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/deleteplaylist_badrequest.rb b/lib/plex_ruby_sdk/models/operations/deleteplaylist_badrequest.rb index 84877b0..495e8bc 100644 --- a/lib/plex_ruby_sdk/models/operations/deleteplaylist_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/deleteplaylist_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class DeletePlaylistBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class DeletePlaylistBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/deleteplaylist_errors.rb b/lib/plex_ruby_sdk/models/operations/deleteplaylist_errors.rb index 8d82c84..51ebf46 100644 --- a/lib/plex_ruby_sdk/models/operations/deleteplaylist_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/deleteplaylist_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class DeletePlaylistErrors < ::PlexRubySDK::Utils::FieldAugmented + class DeletePlaylistErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/deleteplaylist_playlists_errors.rb b/lib/plex_ruby_sdk/models/operations/deleteplaylist_playlists_errors.rb index 365c518..35c994e 100644 --- a/lib/plex_ruby_sdk/models/operations/deleteplaylist_playlists_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/deleteplaylist_playlists_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class DeletePlaylistPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented + class DeletePlaylistPlaylistsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/deleteplaylist_request.rb b/lib/plex_ruby_sdk/models/operations/deleteplaylist_request.rb index 5c3c0e5..954fa42 100644 --- a/lib/plex_ruby_sdk/models/operations/deleteplaylist_request.rb +++ b/lib/plex_ruby_sdk/models/operations/deleteplaylist_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class DeletePlaylistRequest < ::PlexRubySDK::Utils::FieldAugmented + class DeletePlaylistRequest < ::Crystalline::FieldAugmented extend T::Sig # the ID of the playlist diff --git a/lib/plex_ruby_sdk/models/operations/deleteplaylist_response.rb b/lib/plex_ruby_sdk/models/operations/deleteplaylist_response.rb index 560121b..b4ba3b0 100644 --- a/lib/plex_ruby_sdk/models/operations/deleteplaylist_response.rb +++ b/lib/plex_ruby_sdk/models/operations/deleteplaylist_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class DeletePlaylistResponse < ::PlexRubySDK::Utils::FieldAugmented + class DeletePlaylistResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/deleteplaylist_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/deleteplaylist_unauthorized.rb index 89c5d41..8bf6eca 100644 --- a/lib/plex_ruby_sdk/models/operations/deleteplaylist_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/deleteplaylist_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class DeletePlaylistUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class DeletePlaylistUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/device.rb b/lib/plex_ruby_sdk/models/operations/device.rb index 1c478f2..cc8818b 100644 --- a/lib/plex_ruby_sdk/models/operations/device.rb +++ b/lib/plex_ruby_sdk/models/operations/device.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Device < ::PlexRubySDK::Utils::FieldAugmented + class Device < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/director.rb b/lib/plex_ruby_sdk/models/operations/director.rb index 589f662..018516b 100644 --- a/lib/plex_ruby_sdk/models/operations/director.rb +++ b/lib/plex_ruby_sdk/models/operations/director.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Director < ::PlexRubySDK::Utils::FieldAugmented + class Director < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/directory.rb b/lib/plex_ruby_sdk/models/operations/directory.rb index 5b0d08f..9c46477 100644 --- a/lib/plex_ruby_sdk/models/operations/directory.rb +++ b/lib/plex_ruby_sdk/models/operations/directory.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Directory < ::PlexRubySDK::Utils::FieldAugmented + class Directory < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/enablepapertrail_badrequest.rb b/lib/plex_ruby_sdk/models/operations/enablepapertrail_badrequest.rb index 1b0a17d..1c114a5 100644 --- a/lib/plex_ruby_sdk/models/operations/enablepapertrail_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/enablepapertrail_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class EnablePaperTrailBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class EnablePaperTrailBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/enablepapertrail_errors.rb b/lib/plex_ruby_sdk/models/operations/enablepapertrail_errors.rb index 0dc52bd..0327bfb 100644 --- a/lib/plex_ruby_sdk/models/operations/enablepapertrail_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/enablepapertrail_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class EnablePaperTrailErrors < ::PlexRubySDK::Utils::FieldAugmented + class EnablePaperTrailErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/enablepapertrail_log_errors.rb b/lib/plex_ruby_sdk/models/operations/enablepapertrail_log_errors.rb index 3800afc..003d32b 100644 --- a/lib/plex_ruby_sdk/models/operations/enablepapertrail_log_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/enablepapertrail_log_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class EnablePaperTrailLogErrors < ::PlexRubySDK::Utils::FieldAugmented + class EnablePaperTrailLogErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/enablepapertrail_response.rb b/lib/plex_ruby_sdk/models/operations/enablepapertrail_response.rb index a40d3b4..74fe587 100644 --- a/lib/plex_ruby_sdk/models/operations/enablepapertrail_response.rb +++ b/lib/plex_ruby_sdk/models/operations/enablepapertrail_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class EnablePaperTrailResponse < ::PlexRubySDK::Utils::FieldAugmented + class EnablePaperTrailResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/enablepapertrail_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/enablepapertrail_unauthorized.rb index 32dbcc8..0e5621a 100644 --- a/lib/plex_ruby_sdk/models/operations/enablepapertrail_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/enablepapertrail_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class EnablePaperTrailUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class EnablePaperTrailUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/errors.rb b/lib/plex_ruby_sdk/models/operations/errors.rb index 47e5a41..e07b792 100644 --- a/lib/plex_ruby_sdk/models/operations/errors.rb +++ b/lib/plex_ruby_sdk/models/operations/errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Errors < ::PlexRubySDK::Utils::FieldAugmented + class Errors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/feature.rb b/lib/plex_ruby_sdk/models/operations/feature.rb index 1aec0f9..c2a1acd 100644 --- a/lib/plex_ruby_sdk/models/operations/feature.rb +++ b/lib/plex_ruby_sdk/models/operations/feature.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Feature < ::PlexRubySDK::Utils::FieldAugmented + class Feature < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/field.rb b/lib/plex_ruby_sdk/models/operations/field.rb index b63d298..7151f1c 100644 --- a/lib/plex_ruby_sdk/models/operations/field.rb +++ b/lib/plex_ruby_sdk/models/operations/field.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Field < ::PlexRubySDK::Utils::FieldAugmented + class Field < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/fieldtype.rb b/lib/plex_ruby_sdk/models/operations/fieldtype.rb index 47c5901..de46030 100644 --- a/lib/plex_ruby_sdk/models/operations/fieldtype.rb +++ b/lib/plex_ruby_sdk/models/operations/fieldtype.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class FieldType < ::PlexRubySDK::Utils::FieldAugmented + class FieldType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/friend.rb b/lib/plex_ruby_sdk/models/operations/friend.rb index a4af3eb..a8d36b4 100644 --- a/lib/plex_ruby_sdk/models/operations/friend.rb +++ b/lib/plex_ruby_sdk/models/operations/friend.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class Friend < ::PlexRubySDK::Utils::FieldAugmented + class Friend < ::Crystalline::FieldAugmented extend T::Sig # The account email address diff --git a/lib/plex_ruby_sdk/models/operations/genre.rb b/lib/plex_ruby_sdk/models/operations/genre.rb index 6b1df40..1b064b8 100644 --- a/lib/plex_ruby_sdk/models/operations/genre.rb +++ b/lib/plex_ruby_sdk/models/operations/genre.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Genre < ::PlexRubySDK::Utils::FieldAugmented + class Genre < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/geodata.rb b/lib/plex_ruby_sdk/models/operations/geodata.rb index dc3d11f..5c903f0 100644 --- a/lib/plex_ruby_sdk/models/operations/geodata.rb +++ b/lib/plex_ruby_sdk/models/operations/geodata.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Geo location data - class GeoData < ::PlexRubySDK::Utils::FieldAugmented + class GeoData < ::Crystalline::FieldAugmented extend T::Sig # The name of the city. diff --git a/lib/plex_ruby_sdk/models/operations/get_actors_library_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_actors_library_badrequest.rb index fdf8050..ce86725 100644 --- a/lib/plex_ruby_sdk/models/operations/get_actors_library_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_actors_library_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetActorsLibraryBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetActorsLibraryBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_actors_library_directory.rb b/lib/plex_ruby_sdk/models/operations/get_actors_library_directory.rb index 001c614..0c15642 100644 --- a/lib/plex_ruby_sdk/models/operations/get_actors_library_directory.rb +++ b/lib/plex_ruby_sdk/models/operations/get_actors_library_directory.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetActorsLibraryDirectory < ::PlexRubySDK::Utils::FieldAugmented + class GetActorsLibraryDirectory < ::Crystalline::FieldAugmented extend T::Sig # A fast lookup key for the actor relative url. diff --git a/lib/plex_ruby_sdk/models/operations/get_actors_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_actors_library_errors.rb index 035eef5..c9ba2c8 100644 --- a/lib/plex_ruby_sdk/models/operations/get_actors_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_actors_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetActorsLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetActorsLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_actors_library_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_actors_library_library_errors.rb index 62bab2d..7dde7cc 100644 --- a/lib/plex_ruby_sdk/models/operations/get_actors_library_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_actors_library_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetActorsLibraryLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetActorsLibraryLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_actors_library_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_actors_library_mediacontainer.rb index af8bf76..31b2447 100644 --- a/lib/plex_ruby_sdk/models/operations/get_actors_library_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_actors_library_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetActorsLibraryMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetActorsLibraryMediaContainer < ::Crystalline::FieldAugmented extend T::Sig # Indicates whether syncing is allowed. diff --git a/lib/plex_ruby_sdk/models/operations/get_actors_library_request.rb b/lib/plex_ruby_sdk/models/operations/get_actors_library_request.rb index a5df202..79b37f7 100644 --- a/lib/plex_ruby_sdk/models/operations/get_actors_library_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_actors_library_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetActorsLibraryRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetActorsLibraryRequest < ::Crystalline::FieldAugmented extend T::Sig # The unique key of the Plex library. diff --git a/lib/plex_ruby_sdk/models/operations/get_actors_library_response.rb b/lib/plex_ruby_sdk/models/operations/get_actors_library_response.rb index e7d1d93..00a5eb7 100644 --- a/lib/plex_ruby_sdk/models/operations/get_actors_library_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_actors_library_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetActorsLibraryResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetActorsLibraryResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_actors_library_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_actors_library_responsebody.rb index 9418080..366451e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_actors_library_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_actors_library_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Successful response containing media container data. - class GetActorsLibraryResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetActorsLibraryResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_actors_library_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_actors_library_unauthorized.rb index ae23f89..31571bd 100644 --- a/lib/plex_ruby_sdk/models/operations/get_actors_library_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_actors_library_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetActorsLibraryUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetActorsLibraryUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_libraries_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_all_libraries_badrequest.rb index 9010657..7e03587 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_libraries_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_libraries_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetAllLibrariesBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetAllLibrariesBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb b/lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb index e881c28..fe93697 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllLibrariesDirectory < ::PlexRubySDK::Utils::FieldAugmented + class GetAllLibrariesDirectory < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_libraries_errors.rb b/lib/plex_ruby_sdk/models/operations/get_all_libraries_errors.rb index 7b8140b..afdb749 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_libraries_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_libraries_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllLibrariesErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetAllLibrariesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_libraries_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_all_libraries_library_errors.rb index 863038e..0662e9e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_libraries_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_libraries_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllLibrariesLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetAllLibrariesLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_libraries_location.rb b/lib/plex_ruby_sdk/models/operations/get_all_libraries_location.rb index 8571182..6d9ceae 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_libraries_location.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_libraries_location.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllLibrariesLocation < ::PlexRubySDK::Utils::FieldAugmented + class GetAllLibrariesLocation < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_libraries_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_all_libraries_mediacontainer.rb index 49ec091..ff93b73 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_libraries_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_libraries_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllLibrariesMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetAllLibrariesMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_libraries_response.rb b/lib/plex_ruby_sdk/models/operations/get_all_libraries_response.rb index 149fd03..1461a68 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_libraries_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_libraries_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllLibrariesResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetAllLibrariesResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_all_libraries_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_all_libraries_responsebody.rb index 7897181..3038c59 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_libraries_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_libraries_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The libraries available on the Server - class GetAllLibrariesResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetAllLibrariesResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_libraries_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_all_libraries_unauthorized.rb index 3000dcf..1cf677b 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_libraries_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_libraries_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetAllLibrariesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetAllLibrariesUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_badrequest.rb index 45351de..649b57c 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetAllMediaLibraryBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_collection.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_collection.rb index 576f796..47c5209 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_collection.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_collection.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryCollection < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryCollection < ::Crystalline::FieldAugmented extend T::Sig # The user-made collection this media item belongs to diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_country.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_country.rb index 6ba5ea3..cb217d1 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_country.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_country.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryCountry < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryCountry < ::Crystalline::FieldAugmented extend T::Sig # The country of origin of this media item diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_director.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_director.rb index 579f5bc..e12a2fd 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_director.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_director.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryDirector < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryDirector < ::Crystalline::FieldAugmented extend T::Sig # The role of Director diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_errors.rb index 90ed733..8ef8c4d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_field.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_field.rb index 514a9d8..ab685a2 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_field.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_field.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryField < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryField < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_fieldtype.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_fieldtype.rb index fd3d589..010886e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_fieldtype.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_fieldtype.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryFieldType < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryFieldType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_filter.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_filter.rb index 3dc159c..b8454b7 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_filter.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_filter.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryFilter < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryFilter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_genre.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_genre.rb index 74c9265..2223205 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_genre.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_genre.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryGenre < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryGenre < ::Crystalline::FieldAugmented extend T::Sig # The country of origin of this media item diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_image.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_image.rb index 8916ff1..dbc0595 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_image.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_image.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryImage < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryImage < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_library_errors.rb index d87b50f..6a84ec2 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_media.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_media.rb index cdefc21..8154a58 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_media.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryMedia < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryMedia < ::Crystalline::FieldAugmented extend T::Sig # Indicates whether voice activity is detected. diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_mediacontainer.rb index f3c96bd..77ca5f2 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryMediaContainer < ::Crystalline::FieldAugmented extend T::Sig # Indicates whether syncing is allowed. diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_meta.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_meta.rb index dab10c8..22f2da1 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_meta.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_meta.rb @@ -9,7 +9,7 @@ module PlexRubySDK # The Meta object is only included in the response if the `includeMeta` parameter is set to `1`. # - class GetAllMediaLibraryMeta < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryMeta < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_metadata.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_metadata.rb index 85c8bfd..3701055 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_metadata.rb @@ -9,7 +9,7 @@ module PlexRubySDK # Unknown # - class GetAllMediaLibraryMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_operator.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_operator.rb index f868672..d59e5c7 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_operator.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_operator.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryOperator < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryOperator < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_part.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_part.rb index d8790a0..7f445ba 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_part.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryPart < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryPart < ::Crystalline::FieldAugmented extend T::Sig # File path for the part. diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_request.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_request.rb index 4f7fa4b..fb0ed1a 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryRequest < ::Crystalline::FieldAugmented extend T::Sig # The unique key of the Plex library. diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_response.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_response.rb index b38a6fe..0f8dc68 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_responsebody.rb index d1fa312..8eab6a4 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Successful response containing media container data. - class GetAllMediaLibraryResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_role.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_role.rb index 01984b5..386d474 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_role.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_role.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryRole < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryRole < ::Crystalline::FieldAugmented extend T::Sig # The name of the actor for this role diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_sort.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_sort.rb index 2837137..428f7d3 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_sort.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_sort.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibrarySort < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibrarySort < ::Crystalline::FieldAugmented extend T::Sig # The direction of the sort. Can be either `asc` or `desc`. diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_stream.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_stream.rb index 59ea3ee..40e23d1 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_stream.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_stream.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryStream < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryStream < ::Crystalline::FieldAugmented extend T::Sig # Codec used by the stream. diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_type.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_type.rb index f2eabed..cc8fd3b 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_type.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_type.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryType < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_ultrablurcolors.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_ultrablurcolors.rb index 4f4f9c4..112ea5a 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_ultrablurcolors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_ultrablurcolors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryUltraBlurColors < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryUltraBlurColors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_unauthorized.rb index 59039a1..bc2a608 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetAllMediaLibraryUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_all_media_library_writer.rb b/lib/plex_ruby_sdk/models/operations/get_all_media_library_writer.rb index 48bf8f3..42674d9 100644 --- a/lib/plex_ruby_sdk/models/operations/get_all_media_library_writer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_all_media_library_writer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAllMediaLibraryWriter < ::PlexRubySDK::Utils::FieldAugmented + class GetAllMediaLibraryWriter < ::Crystalline::FieldAugmented extend T::Sig # The role of Writer diff --git a/lib/plex_ruby_sdk/models/operations/get_banner_image_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_banner_image_badrequest.rb index 556fcf0..8511ac5 100644 --- a/lib/plex_ruby_sdk/models/operations/get_banner_image_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_banner_image_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetBannerImageBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetBannerImageBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_banner_image_errors.rb b/lib/plex_ruby_sdk/models/operations/get_banner_image_errors.rb index a74c700..6e65ada 100644 --- a/lib/plex_ruby_sdk/models/operations/get_banner_image_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_banner_image_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBannerImageErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetBannerImageErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_banner_image_media_errors.rb b/lib/plex_ruby_sdk/models/operations/get_banner_image_media_errors.rb index 792b53d..ae21866 100644 --- a/lib/plex_ruby_sdk/models/operations/get_banner_image_media_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_banner_image_media_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBannerImageMediaErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetBannerImageMediaErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_banner_image_request.rb b/lib/plex_ruby_sdk/models/operations/get_banner_image_request.rb index e346565..8951653 100644 --- a/lib/plex_ruby_sdk/models/operations/get_banner_image_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_banner_image_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBannerImageRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetBannerImageRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_banner_image_response.rb b/lib/plex_ruby_sdk/models/operations/get_banner_image_response.rb index 917d08f..d3a3a34 100644 --- a/lib/plex_ruby_sdk/models/operations/get_banner_image_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_banner_image_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBannerImageResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetBannerImageResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_banner_image_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_banner_image_unauthorized.rb index fc624f4..9946abf 100644 --- a/lib/plex_ruby_sdk/models/operations/get_banner_image_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_banner_image_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetBannerImageUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetBannerImageUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_countries_library_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_countries_library_badrequest.rb index 627dddd..f14f2f3 100644 --- a/lib/plex_ruby_sdk/models/operations/get_countries_library_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_countries_library_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetCountriesLibraryBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetCountriesLibraryBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_countries_library_directory.rb b/lib/plex_ruby_sdk/models/operations/get_countries_library_directory.rb index c977c8a..7fdd91c 100644 --- a/lib/plex_ruby_sdk/models/operations/get_countries_library_directory.rb +++ b/lib/plex_ruby_sdk/models/operations/get_countries_library_directory.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetCountriesLibraryDirectory < ::PlexRubySDK::Utils::FieldAugmented + class GetCountriesLibraryDirectory < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_countries_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_countries_library_errors.rb index 0200ece..5163cdc 100644 --- a/lib/plex_ruby_sdk/models/operations/get_countries_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_countries_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetCountriesLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetCountriesLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_countries_library_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_countries_library_library_errors.rb index 7d8f1fd..f07fa33 100644 --- a/lib/plex_ruby_sdk/models/operations/get_countries_library_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_countries_library_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetCountriesLibraryLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetCountriesLibraryLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_countries_library_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_countries_library_mediacontainer.rb index 33806e3..d1b9e49 100644 --- a/lib/plex_ruby_sdk/models/operations/get_countries_library_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_countries_library_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetCountriesLibraryMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetCountriesLibraryMediaContainer < ::Crystalline::FieldAugmented extend T::Sig # Indicates whether syncing is allowed. diff --git a/lib/plex_ruby_sdk/models/operations/get_countries_library_request.rb b/lib/plex_ruby_sdk/models/operations/get_countries_library_request.rb index 1a3cfc1..e930838 100644 --- a/lib/plex_ruby_sdk/models/operations/get_countries_library_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_countries_library_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetCountriesLibraryRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetCountriesLibraryRequest < ::Crystalline::FieldAugmented extend T::Sig # The unique key of the Plex library. diff --git a/lib/plex_ruby_sdk/models/operations/get_countries_library_response.rb b/lib/plex_ruby_sdk/models/operations/get_countries_library_response.rb index 1f00295..f6cb194 100644 --- a/lib/plex_ruby_sdk/models/operations/get_countries_library_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_countries_library_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetCountriesLibraryResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetCountriesLibraryResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_countries_library_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_countries_library_responsebody.rb index e192955..802ee70 100644 --- a/lib/plex_ruby_sdk/models/operations/get_countries_library_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_countries_library_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Successful response containing media container data. - class GetCountriesLibraryResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetCountriesLibraryResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_countries_library_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_countries_library_unauthorized.rb index 33c18d1..bb6f43e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_countries_library_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_countries_library_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetCountriesLibraryUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetCountriesLibraryUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_genres_library_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_genres_library_badrequest.rb index ce56409..f068f28 100644 --- a/lib/plex_ruby_sdk/models/operations/get_genres_library_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_genres_library_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetGenresLibraryBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetGenresLibraryBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_genres_library_directory.rb b/lib/plex_ruby_sdk/models/operations/get_genres_library_directory.rb index e4537e6..217a47c 100644 --- a/lib/plex_ruby_sdk/models/operations/get_genres_library_directory.rb +++ b/lib/plex_ruby_sdk/models/operations/get_genres_library_directory.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGenresLibraryDirectory < ::PlexRubySDK::Utils::FieldAugmented + class GetGenresLibraryDirectory < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_genres_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_genres_library_errors.rb index 23b118c..f920810 100644 --- a/lib/plex_ruby_sdk/models/operations/get_genres_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_genres_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGenresLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetGenresLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_genres_library_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_genres_library_library_errors.rb index 4172af8..c55312a 100644 --- a/lib/plex_ruby_sdk/models/operations/get_genres_library_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_genres_library_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGenresLibraryLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetGenresLibraryLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_genres_library_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_genres_library_mediacontainer.rb index 52b0b14..a1ab3f2 100644 --- a/lib/plex_ruby_sdk/models/operations/get_genres_library_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_genres_library_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGenresLibraryMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetGenresLibraryMediaContainer < ::Crystalline::FieldAugmented extend T::Sig # Indicates whether syncing is allowed. diff --git a/lib/plex_ruby_sdk/models/operations/get_genres_library_request.rb b/lib/plex_ruby_sdk/models/operations/get_genres_library_request.rb index 79ed738..2d3451b 100644 --- a/lib/plex_ruby_sdk/models/operations/get_genres_library_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_genres_library_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGenresLibraryRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetGenresLibraryRequest < ::Crystalline::FieldAugmented extend T::Sig # The unique key of the Plex library. diff --git a/lib/plex_ruby_sdk/models/operations/get_genres_library_response.rb b/lib/plex_ruby_sdk/models/operations/get_genres_library_response.rb index 46168d0..1d74658 100644 --- a/lib/plex_ruby_sdk/models/operations/get_genres_library_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_genres_library_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGenresLibraryResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetGenresLibraryResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_genres_library_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_genres_library_responsebody.rb index 136bc6a..543ddcb 100644 --- a/lib/plex_ruby_sdk/models/operations/get_genres_library_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_genres_library_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Successful response containing media container data. - class GetGenresLibraryResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetGenresLibraryResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_genres_library_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_genres_library_unauthorized.rb index 6798c44..1b1e9e1 100644 --- a/lib/plex_ruby_sdk/models/operations/get_genres_library_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_genres_library_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetGenresLibraryUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetGenresLibraryUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_badrequest.rb index 6640517..0d187dc 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetLibraryDetailsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_directory.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_directory.rb index 578b3f5..9e8677f 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_directory.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_directory.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsDirectory < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsDirectory < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_errors.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_errors.rb index d5c4248..f57098f 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_field.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_field.rb index 39bcfac..5acfaea 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_field.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_field.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsField < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsField < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_fieldtype.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_fieldtype.rb index f8ff48a..8ed640c 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_fieldtype.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_fieldtype.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsFieldType < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsFieldType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_filter.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_filter.rb index 77b1100..c9510ff 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_filter.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_filter.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsFilter < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsFilter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_library_errors.rb index 371467f..78b6923 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_mediacontainer.rb index 2200a97..77c165a 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_operator.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_operator.rb index 0fcc0c5..d93761c 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_operator.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_operator.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsOperator < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsOperator < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_request.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_request.rb index 768f6e6..2e8cbdc 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsRequest < ::Crystalline::FieldAugmented extend T::Sig # The unique key of the Plex library. diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_response.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_response.rb index 6dd8468..348240a 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_responsebody.rb index b2abee6..f6eced3 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The details of the library - class GetLibraryDetailsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_sort.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_sort.rb index a3a56a6..5e9efe1 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_sort.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_sort.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsSort < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsSort < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_type.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_type.rb index 857b8b3..ade40dc 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_type.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_type.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryDetailsType < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_details_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_library_details_unauthorized.rb index 3fef7c1..a0a63d5 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_details_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_details_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetLibraryDetailsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryDetailsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_badrequest.rb index ef8cf4a..860469e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetLibraryItemsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_collection.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_collection.rb index b9ca010..eb8ce4d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_collection.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_collection.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsCollection < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsCollection < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_country.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_country.rb index e445b6b..ea6d3cd 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_country.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_country.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsCountry < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsCountry < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_director.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_director.rb index f21d247..3ad8d88 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_director.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_director.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsDirector < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsDirector < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_errors.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_errors.rb index 07667c0..a5a8245 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_field.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_field.rb index e250e9c..6ebb762 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_field.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_field.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsField < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsField < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_fieldtype.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_fieldtype.rb index 49b38ca..e3115dd 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_fieldtype.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_fieldtype.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsFieldType < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsFieldType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_filter.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_filter.rb index de8b99c..47dd5c0 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_filter.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_filter.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsFilter < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsFilter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_genre.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_genre.rb index f890ab1..adbed97 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_genre.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_genre.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsGenre < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsGenre < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_image.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_image.rb index f162cf5..7673b4e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_image.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_image.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsImage < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsImage < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_library_errors.rb index 3560c8a..d81f148 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_library_field.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_library_field.rb index 31b2d94..497b450 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_library_field.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_library_field.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsLibraryField < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsLibraryField < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_library_fieldtype.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_library_fieldtype.rb index 6dbb744..0c1326e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_library_fieldtype.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_library_fieldtype.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsLibraryFieldType < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsLibraryFieldType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_library_filter.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_library_filter.rb index 86e75cf..119df96 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_library_filter.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_library_filter.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsLibraryFilter < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsLibraryFilter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_library_operator.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_library_operator.rb index e9bffe5..d678f7a 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_library_operator.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_library_operator.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsLibraryOperator < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsLibraryOperator < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb index 5217746..9ce841d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_library_response_type.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsLibraryResponseType < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsLibraryResponseType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_library_sort.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_library_sort.rb index 486eea1..c095fe0 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_library_sort.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_library_sort.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsLibrarySort < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsLibrarySort < ::Crystalline::FieldAugmented extend T::Sig # The direction of the sort. Can be either `asc` or `desc`. diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_location.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_location.rb index d0fb430..a4380d9 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_location.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_location.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsLocation < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsLocation < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb index 0d50270..bf8d66c 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsMedia < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsMedia < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb index 0fb97f4..2e64f35 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_mediacontainer.rb @@ -9,7 +9,7 @@ module PlexRubySDK # The Meta object is only included in the response if the `includeMeta` parameter is set to `1`. # - class GetLibraryItemsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_mediaguid.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_mediaguid.rb index 5427fc3..896008c 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_mediaguid.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_mediaguid.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsMediaGuid < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsMediaGuid < ::Crystalline::FieldAugmented extend T::Sig # Can be one of the following formats: diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_meta.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_meta.rb index a655067..d4fe7d1 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_meta.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_meta.rb @@ -9,7 +9,7 @@ module PlexRubySDK # The Meta object is only included in the response if the `includeMeta` parameter is set to `1`. # - class GetLibraryItemsMeta < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsMeta < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb index be73459..0115d00 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsMetadata < ::Crystalline::FieldAugmented extend T::Sig # Unix epoch datetime in seconds diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_metadatarating.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_metadatarating.rb index 03fde60..f364954 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_metadatarating.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_metadatarating.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsMetaDataRating < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsMetaDataRating < ::Crystalline::FieldAugmented extend T::Sig # A URI or path to the rating image. diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_operator.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_operator.rb index 79e8ac2..9f53c70 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_operator.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_operator.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsOperator < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsOperator < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb index be5d7e8..f12cb11 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsPart < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsPart < ::Crystalline::FieldAugmented extend T::Sig # The container format of the media file. diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_request.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_request.rb index c050d8e..3491a89 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsRequest < ::Crystalline::FieldAugmented extend T::Sig # The unique key of the Plex library. diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_response.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_response.rb index 33679ef..eda5931 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_responsebody.rb index d5377d5..8e6e8ff 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The contents of the library by section and tag - class GetLibraryItemsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_role.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_role.rb index 69c4e99..6b3348b 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_role.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_role.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsRole < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsRole < ::Crystalline::FieldAugmented extend T::Sig # The filter used to find the actor or tag. diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_sort.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_sort.rb index 913e702..87e6cb3 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_sort.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_sort.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsSort < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsSort < ::Crystalline::FieldAugmented extend T::Sig # The direction of the sort. Can be either `asc` or `desc`. diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_stream.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_stream.rb index 4f285d9..0a34d09 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_stream.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_stream.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsStream < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsStream < ::Crystalline::FieldAugmented extend T::Sig # Codec used by the stream diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_type.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_type.rb index a83cbec..bab93a3 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_type.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_type.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsType < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_ultrablurcolors.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_ultrablurcolors.rb index eb7d98e..0717424 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_ultrablurcolors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_ultrablurcolors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsUltraBlurColors < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsUltraBlurColors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_unauthorized.rb index 394d1b4..81b8fa7 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetLibraryItemsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_library_items_writer.rb b/lib/plex_ruby_sdk/models/operations/get_library_items_writer.rb index e6850d5..f585870 100644 --- a/lib/plex_ruby_sdk/models/operations/get_library_items_writer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_library_items_writer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryItemsWriter < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryItemsWriter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_badrequest.rb index c98684b..d83eb08 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetMediaMetaDataBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_country.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_country.rb index 20d22f0..177a9e9 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_country.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_country.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataCountry < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataCountry < ::Crystalline::FieldAugmented extend T::Sig # The filter string for the country. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_director.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_director.rb index 6a7b220..616fc76 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_director.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_director.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataDirector < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataDirector < ::Crystalline::FieldAugmented extend T::Sig # The filter string for the role. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_errors.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_errors.rb index 2c8b138..5238929 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_genre.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_genre.rb index dd9e0f7..0d75d2d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_genre.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_genre.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataGenre < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataGenre < ::Crystalline::FieldAugmented extend T::Sig # The filter string for the genre. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_guids.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_guids.rb index 3f7d9e6..bbb6e21 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_guids.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_guids.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataGuids < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataGuids < ::Crystalline::FieldAugmented extend T::Sig # The GUID value. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_image.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_image.rb index 4c47248..37b9d1c 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_image.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_image.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataImage < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataImage < ::Crystalline::FieldAugmented extend T::Sig # Alternate text for the image. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_library_errors.rb index 45e3013..2f3352f 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_location.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_location.rb index 9ce52f3..282cd39 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_location.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_location.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataLocation < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataLocation < ::Crystalline::FieldAugmented extend T::Sig # The file path for the location. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_media.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_media.rb index 68d5161..44fe678 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_media.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataMedia < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataMedia < ::Crystalline::FieldAugmented extend T::Sig # Indicates whether voice activity is detected. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb index e7565a3..042d867 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataMediaContainer < ::Crystalline::FieldAugmented extend T::Sig # Indicates whether syncing is allowed. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_metadata.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_metadata.rb index 89a04ad..30af12b 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_part.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_part.rb index be3f09f..931f0f3 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_part.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataPart < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataPart < ::Crystalline::FieldAugmented extend T::Sig # File path for the part. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_request.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_request.rb index 742a0c9..bcfcbfe 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataRequest < ::Crystalline::FieldAugmented extend T::Sig # the id of the library item to return the children of. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_response.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_response.rb index 68eed00..49ab4b8 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_responsebody.rb index adef7a7..f48e52b 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The metadata of the library item. - class GetMediaMetaDataResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_role.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_role.rb index 9cc5b2e..ccd1f41 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_role.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_role.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataRole < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataRole < ::Crystalline::FieldAugmented extend T::Sig # The filter string for the role. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_stream.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_stream.rb index 6964b15..4845d66 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_stream.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_stream.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataStream < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataStream < ::Crystalline::FieldAugmented extend T::Sig # Codec used by the stream. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_ultrablurcolors.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_ultrablurcolors.rb index 9079b13..d803361 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_ultrablurcolors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_ultrablurcolors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataUltraBlurColors < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataUltraBlurColors < ::Crystalline::FieldAugmented extend T::Sig # The bottom-left color value. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_unauthorized.rb index 916dec6..bbe1fe6 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetMediaMetaDataUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_writer.rb b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_writer.rb index 18712ba..d84673f 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_meta_data_writer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_meta_data_writer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaMetaDataWriter < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaMetaDataWriter < ::Crystalline::FieldAugmented extend T::Sig # The filter string for the role. diff --git a/lib/plex_ruby_sdk/models/operations/get_media_providers_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_media_providers_badrequest.rb index 7eb94ba..c456a83 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_providers_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_providers_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetMediaProvidersBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaProvidersBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_providers_directory.rb b/lib/plex_ruby_sdk/models/operations/get_media_providers_directory.rb index 18f3a9f..dce7853 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_providers_directory.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_providers_directory.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaProvidersDirectory < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaProvidersDirectory < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_providers_errors.rb b/lib/plex_ruby_sdk/models/operations/get_media_providers_errors.rb index c7340e3..dbb7167 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_providers_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_providers_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaProvidersErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaProvidersErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_providers_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_media_providers_mediacontainer.rb index 546e47a..ce13022 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_providers_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_providers_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaProvidersMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaProvidersMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_providers_request.rb b/lib/plex_ruby_sdk/models/operations/get_media_providers_request.rb index 6c5c478..cc7d579 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_providers_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_providers_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaProvidersRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaProvidersRequest < ::Crystalline::FieldAugmented extend T::Sig # An authentication token, obtained from plex.tv diff --git a/lib/plex_ruby_sdk/models/operations/get_media_providers_response.rb b/lib/plex_ruby_sdk/models/operations/get_media_providers_response.rb index 8c1dd10..023668a 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_providers_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_providers_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaProvidersResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaProvidersResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_media_providers_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_media_providers_responsebody.rb index e9c938d..7a862d3 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_providers_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_providers_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Media providers and their features - class GetMediaProvidersResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaProvidersResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_providers_server_errors.rb b/lib/plex_ruby_sdk/models/operations/get_media_providers_server_errors.rb index c040d26..c5da9bc 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_providers_server_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_providers_server_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMediaProvidersServerErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaProvidersServerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_media_providers_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_media_providers_unauthorized.rb index 227987f..8c705ae 100644 --- a/lib/plex_ruby_sdk/models/operations/get_media_providers_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_media_providers_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetMediaProvidersUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetMediaProvidersUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_field.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_field.rb index 72f4e70..4e951f2 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_field.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_field.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedField < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedField < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_fieldtype.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_fieldtype.rb index c0f61f3..7285e6a 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_fieldtype.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_fieldtype.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedFieldType < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedFieldType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_filter.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_filter.rb index e440a93..a4229f9 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_filter.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_filter.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedFilter < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedFilter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_image.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_image.rb index ee65a37..05c8c47 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_image.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_image.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedImage < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedImage < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_badrequest.rb index 34cf8b9..0810c6b 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetRecentlyAddedLibraryBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_country.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_country.rb index e744b4e..69a7cdf 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_country.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_country.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryCountry < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryCountry < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_director.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_director.rb index dc0e8d2..2497aae 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_director.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_director.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryDirector < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryDirector < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_errors.rb index b3a8cf2..952dbb2 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_filter.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_filter.rb index b5304ef..3b59233 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_filter.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_filter.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryFilter < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryFilter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_genre.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_genre.rb index 5b822de..72b57df 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_genre.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_genre.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryGenre < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryGenre < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_library_errors.rb index d51ce02..e7243b8 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_media.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_media.rb index 2d23fc1..d315ef3 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_media.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryMedia < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryMedia < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_mediacontainer.rb index 3ce31fd..2a28003 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_mediacontainer.rb @@ -9,7 +9,7 @@ module PlexRubySDK # The Meta object is only included in the response if the `includeMeta` parameter is set to `1`. # - class GetRecentlyAddedLibraryMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_metadata.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_metadata.rb index fbf00cd..0ebea6d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_part.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_part.rb index 7dc2470..8c93a9e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_part.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryPart < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryPart < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_request.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_request.rb index d390c41..6615ee2 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryRequest < ::Crystalline::FieldAugmented extend T::Sig # The type of media to retrieve or filter by. diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_response.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_response.rb index 03d5fc2..551c2b4 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_responsebody.rb index c549203..e9a94fa 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The recently added content - class GetRecentlyAddedLibraryResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_role.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_role.rb index 1bbd52a..0a2ac90 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_role.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_role.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryRole < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryRole < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_type.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_type.rb index 99436ba..66748f5 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_type.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_type.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryType < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_unauthorized.rb index 11f873c..c795019 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetRecentlyAddedLibraryUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_writer.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_writer.rb index 385a0bf..940ca77 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_library_writer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_library_writer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedLibraryWriter < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedLibraryWriter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_mediacontainer.rb index aab3819..7bdcf0e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_metadata.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_metadata.rb index 772e9ce..1feba1e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedMetadata < ::Crystalline::FieldAugmented extend T::Sig # Unix epoch datetime in seconds diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_operator.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_operator.rb index 0108e08..78920e2 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_operator.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_operator.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedOperator < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedOperator < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_request.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_request.rb index 5e3805f..8d76de5 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedRequest < ::Crystalline::FieldAugmented extend T::Sig # The content directory ID. diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_response.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_response.rb index b87c3f1..4761af5 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_responsebody.rb index be04ee2..17287bd 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # A successful response with recently added content. - class GetRecentlyAddedResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_sort.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_sort.rb index 8297510..63110ab 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_sort.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_sort.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedSort < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedSort < ::Crystalline::FieldAugmented extend T::Sig # The direction of the sort. Can be either `asc` or `desc`. diff --git a/lib/plex_ruby_sdk/models/operations/get_recently_added_type.rb b/lib/plex_ruby_sdk/models/operations/get_recently_added_type.rb index 5e55504..af51346 100644 --- a/lib/plex_ruby_sdk/models/operations/get_recently_added_type.rb +++ b/lib/plex_ruby_sdk/models/operations/get_recently_added_type.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRecentlyAddedType < ::PlexRubySDK::Utils::FieldAugmented + class GetRecentlyAddedType < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_badrequest.rb index 740f044..c6ba712 100644 --- a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetRefreshLibraryMetadataBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetRefreshLibraryMetadataBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_errors.rb b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_errors.rb index b39ff87..99a052d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRefreshLibraryMetadataErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetRefreshLibraryMetadataErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_library_errors.rb index 1049f49..00447aa 100644 --- a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRefreshLibraryMetadataLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetRefreshLibraryMetadataLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_request.rb b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_request.rb index 776ba9a..d9454e5 100644 --- a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRefreshLibraryMetadataRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetRefreshLibraryMetadataRequest < ::Crystalline::FieldAugmented extend T::Sig # The unique key of the Plex library. diff --git a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_response.rb b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_response.rb index b8c1f8d..9af2bde 100644 --- a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetRefreshLibraryMetadataResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetRefreshLibraryMetadataResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_unauthorized.rb index 9584464..72e303f 100644 --- a/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_refresh_library_metadata_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetRefreshLibraryMetadataUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetRefreshLibraryMetadataUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_badrequest.rb index d27afde..0071452 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetSearchAllLibrariesBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_collection.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_collection.rb index 61dce45..8f411a6 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_collection.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_collection.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesCollection < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesCollection < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_country.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_country.rb index 33a2cf5..c5163ee 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_country.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_country.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesCountry < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesCountry < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_director.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_director.rb index 1d4de7a..31dc93b 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_director.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_director.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesDirector < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesDirector < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_errors.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_errors.rb index a8555ce..89bd2cc 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_genre.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_genre.rb index 34fbf83..1672ab4 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_genre.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_genre.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesGenre < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesGenre < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_image.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_image.rb index 8de5076..c1128f9 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_image.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_image.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesImage < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesImage < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_errors.rb index cdc016b..400fdb9 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_location.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_location.rb index a53e034..c662bae 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_location.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_location.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesLocation < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesLocation < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_media.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_media.rb index ce96566..51b21f4 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_media.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesMedia < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesMedia < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb index 64b22f8..9d6cb54 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediaguid.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediaguid.rb index d3a0d69..a2a4006 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediaguid.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediaguid.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesMediaGuid < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesMediaGuid < ::Crystalline::FieldAugmented extend T::Sig # Can be one of the following formats: diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadata.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadata.rb index b4590f9..1fec745 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesMetadata < ::Crystalline::FieldAugmented extend T::Sig # Unix epoch datetime in seconds diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadatarating.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadatarating.rb index 82d8ba4..856329d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadatarating.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_metadatarating.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesMetaDataRating < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesMetaDataRating < ::Crystalline::FieldAugmented extend T::Sig # A URI or path to the rating image. diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb index 7c3a2dd..05cda68 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesPart < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesPart < ::Crystalline::FieldAugmented extend T::Sig # The container format of the media file. diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_request.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_request.rb index 6befb15..36600f5 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesRequest < ::Crystalline::FieldAugmented extend T::Sig # An opaque identifier unique to the client (UUID, serial number, or other unique device ID) diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_response.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_response.rb index 222f34d..f5fe590 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_responsebody.rb index 0e6e90b..d9beedd 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The libraries available on the Server - class GetSearchAllLibrariesResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_role.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_role.rb index eab5bb4..33d0ec1 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_role.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_role.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesRole < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesRole < ::Crystalline::FieldAugmented extend T::Sig # The filter used to find the actor or tag. diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_stream.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_stream.rb index b0339ae..83711fd 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_stream.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_stream.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesStream < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesStream < ::Crystalline::FieldAugmented extend T::Sig # Codec used by the stream diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_ultrablurcolors.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_ultrablurcolors.rb index 309d835..c080271 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_ultrablurcolors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_ultrablurcolors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesUltraBlurColors < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesUltraBlurColors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_unauthorized.rb index e3dffb7..36aa2da 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetSearchAllLibrariesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_writer.rb b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_writer.rb index 817cfbf..6bf03ad 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_writer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_all_libraries_writer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchAllLibrariesWriter < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchAllLibrariesWriter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_library_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_search_library_badrequest.rb index de0ad25..567035f 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_library_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_library_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetSearchLibraryBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchLibraryBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_search_library_errors.rb index 79de018..c5308f1 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_library_library_errors.rb b/lib/plex_ruby_sdk/models/operations/get_search_library_library_errors.rb index 36eaaf5..1a7592a 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_library_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_library_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchLibraryLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchLibraryLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_library_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_search_library_mediacontainer.rb index a9fddaf..5981e57 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_library_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_library_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchLibraryMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchLibraryMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_library_metadata.rb b/lib/plex_ruby_sdk/models/operations/get_search_library_metadata.rb index 2b03a77..65b2d13 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_library_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_library_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchLibraryMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchLibraryMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_library_request.rb b/lib/plex_ruby_sdk/models/operations/get_search_library_request.rb index 8107c10..6c04902 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_library_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_library_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchLibraryRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchLibraryRequest < ::Crystalline::FieldAugmented extend T::Sig # The unique key of the Plex library. diff --git a/lib/plex_ruby_sdk/models/operations/get_search_library_response.rb b/lib/plex_ruby_sdk/models/operations/get_search_library_response.rb index f4c5e6b..dc5ea92 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_library_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_library_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchLibraryResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchLibraryResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_search_library_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_search_library_responsebody.rb index 9a13e30..47875ee 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_library_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_library_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The contents of the library by section and type - class GetSearchLibraryResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchLibraryResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_search_library_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_search_library_unauthorized.rb index 90b20b9..2ca1196 100644 --- a/lib/plex_ruby_sdk/models/operations/get_search_library_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_search_library_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetSearchLibraryUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchLibraryUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_server_identity_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_server_identity_mediacontainer.rb index a16a8cb..5fa54a0 100644 --- a/lib/plex_ruby_sdk/models/operations/get_server_identity_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_server_identity_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerIdentityMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetServerIdentityMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_server_identity_requesttimeout.rb b/lib/plex_ruby_sdk/models/operations/get_server_identity_requesttimeout.rb index 59054ac..5ea5f0d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_server_identity_requesttimeout.rb +++ b/lib/plex_ruby_sdk/models/operations/get_server_identity_requesttimeout.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Request Timeout - class GetServerIdentityRequestTimeout < ::PlexRubySDK::Utils::FieldAugmented + class GetServerIdentityRequestTimeout < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_server_identity_response.rb b/lib/plex_ruby_sdk/models/operations/get_server_identity_response.rb index 2982ed2..056046b 100644 --- a/lib/plex_ruby_sdk/models/operations/get_server_identity_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_server_identity_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerIdentityResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetServerIdentityResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_server_identity_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_server_identity_responsebody.rb index 693a47b..0d8876d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_server_identity_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_server_identity_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The Server Identity information - class GetServerIdentityResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetServerIdentityResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_server_resources_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_server_resources_badrequest.rb index 7e60b1a..be7fe51 100644 --- a/lib/plex_ruby_sdk/models/operations/get_server_resources_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_server_resources_badrequest.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetServerResourcesBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetServerResourcesBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_server_resources_errors.rb b/lib/plex_ruby_sdk/models/operations/get_server_resources_errors.rb index b72ec9b..4accc12 100644 --- a/lib/plex_ruby_sdk/models/operations/get_server_resources_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_server_resources_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetServerResourcesErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetServerResourcesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_server_resources_plex_errors.rb b/lib/plex_ruby_sdk/models/operations/get_server_resources_plex_errors.rb index 8543b71..0f0a7c6 100644 --- a/lib/plex_ruby_sdk/models/operations/get_server_resources_plex_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_server_resources_plex_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetServerResourcesPlexErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetServerResourcesPlexErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_server_resources_request.rb b/lib/plex_ruby_sdk/models/operations/get_server_resources_request.rb index bc42928..0cc453b 100644 --- a/lib/plex_ruby_sdk/models/operations/get_server_resources_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_server_resources_request.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetServerResourcesRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetServerResourcesRequest < ::Crystalline::FieldAugmented extend T::Sig # An opaque identifier unique to the client (UUID, serial number, or other unique device ID) diff --git a/lib/plex_ruby_sdk/models/operations/get_server_resources_response.rb b/lib/plex_ruby_sdk/models/operations/get_server_resources_response.rb index 70cccc5..1ed8095 100644 --- a/lib/plex_ruby_sdk/models/operations/get_server_resources_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_server_resources_response.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetServerResourcesResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetServerResourcesResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_server_resources_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_server_resources_unauthorized.rb index 474c3db..61119c8 100644 --- a/lib/plex_ruby_sdk/models/operations/get_server_resources_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_server_resources_unauthorized.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetServerResourcesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetServerResourcesUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_thumb_image_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_thumb_image_badrequest.rb index 09c2bc7..2d651cd 100644 --- a/lib/plex_ruby_sdk/models/operations/get_thumb_image_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_thumb_image_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetThumbImageBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetThumbImageBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_thumb_image_errors.rb b/lib/plex_ruby_sdk/models/operations/get_thumb_image_errors.rb index d71d1a4..9347bcd 100644 --- a/lib/plex_ruby_sdk/models/operations/get_thumb_image_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_thumb_image_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetThumbImageErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetThumbImageErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_thumb_image_media_errors.rb b/lib/plex_ruby_sdk/models/operations/get_thumb_image_media_errors.rb index 9f8ba33..d1a8794 100644 --- a/lib/plex_ruby_sdk/models/operations/get_thumb_image_media_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_thumb_image_media_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetThumbImageMediaErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetThumbImageMediaErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_thumb_image_request.rb b/lib/plex_ruby_sdk/models/operations/get_thumb_image_request.rb index 73fe904..a3903d4 100644 --- a/lib/plex_ruby_sdk/models/operations/get_thumb_image_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_thumb_image_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetThumbImageRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetThumbImageRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_thumb_image_response.rb b/lib/plex_ruby_sdk/models/operations/get_thumb_image_response.rb index 00713ac..b1bcf74 100644 --- a/lib/plex_ruby_sdk/models/operations/get_thumb_image_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_thumb_image_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetThumbImageResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetThumbImageResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_thumb_image_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_thumb_image_unauthorized.rb index e7e98e7..c0c2abd 100644 --- a/lib/plex_ruby_sdk/models/operations/get_thumb_image_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_thumb_image_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetThumbImageUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetThumbImageUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_users_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_users_badrequest.rb index b298345..8c24606 100644 --- a/lib/plex_ruby_sdk/models/operations/get_users_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_users_badrequest.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetUsersBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetUsersBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_users_errors.rb b/lib/plex_ruby_sdk/models/operations/get_users_errors.rb index 431be91..5ee6dac 100644 --- a/lib/plex_ruby_sdk/models/operations/get_users_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_users_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetUsersErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetUsersErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_users_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/get_users_mediacontainer.rb index 67118e7..05f22b9 100644 --- a/lib/plex_ruby_sdk/models/operations/get_users_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/get_users_mediacontainer.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Container holding user and server details. - class GetUsersMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetUsersMediaContainer < ::Crystalline::FieldAugmented extend T::Sig # The friendly name of the Plex instance. diff --git a/lib/plex_ruby_sdk/models/operations/get_users_request.rb b/lib/plex_ruby_sdk/models/operations/get_users_request.rb index 076919a..4d7a2f0 100644 --- a/lib/plex_ruby_sdk/models/operations/get_users_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_users_request.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetUsersRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetUsersRequest < ::Crystalline::FieldAugmented extend T::Sig # An opaque identifier unique to the client (UUID, serial number, or other unique device ID) diff --git a/lib/plex_ruby_sdk/models/operations/get_users_response.rb b/lib/plex_ruby_sdk/models/operations/get_users_response.rb index c0f902b..5079ea3 100644 --- a/lib/plex_ruby_sdk/models/operations/get_users_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_users_response.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetUsersResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetUsersResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_users_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_users_responsebody.rb index e1f897f..563837d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_users_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_users_responsebody.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Successful response with media container data in XML - class GetUsersResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetUsersResponseBody < ::Crystalline::FieldAugmented extend T::Sig # Container holding user and server details. diff --git a/lib/plex_ruby_sdk/models/operations/get_users_server.rb b/lib/plex_ruby_sdk/models/operations/get_users_server.rb index de2b911..0c33432 100644 --- a/lib/plex_ruby_sdk/models/operations/get_users_server.rb +++ b/lib/plex_ruby_sdk/models/operations/get_users_server.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetUsersServer < ::PlexRubySDK::Utils::FieldAugmented + class GetUsersServer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_users_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_users_unauthorized.rb index 53ba482..ad20f97 100644 --- a/lib/plex_ruby_sdk/models/operations/get_users_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_users_unauthorized.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetUsersUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetUsersUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_users_users_errors.rb b/lib/plex_ruby_sdk/models/operations/get_users_users_errors.rb index e98a0d7..1fba558 100644 --- a/lib/plex_ruby_sdk/models/operations/get_users_users_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_users_users_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetUsersUsersErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetUsersUsersErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_watch_list_badrequest.rb b/lib/plex_ruby_sdk/models/operations/get_watch_list_badrequest.rb index 3675ff7..9bfaad4 100644 --- a/lib/plex_ruby_sdk/models/operations/get_watch_list_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/get_watch_list_badrequest.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetWatchListBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetWatchListBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_watch_list_errors.rb b/lib/plex_ruby_sdk/models/operations/get_watch_list_errors.rb index ceefe36..48db912 100644 --- a/lib/plex_ruby_sdk/models/operations/get_watch_list_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_watch_list_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetWatchListErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetWatchListErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_watch_list_request.rb b/lib/plex_ruby_sdk/models/operations/get_watch_list_request.rb index ba08488..1748517 100644 --- a/lib/plex_ruby_sdk/models/operations/get_watch_list_request.rb +++ b/lib/plex_ruby_sdk/models/operations/get_watch_list_request.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetWatchListRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetWatchListRequest < ::Crystalline::FieldAugmented extend T::Sig # Filter diff --git a/lib/plex_ruby_sdk/models/operations/get_watch_list_response.rb b/lib/plex_ruby_sdk/models/operations/get_watch_list_response.rb index 2ff1b04..3ddd997 100644 --- a/lib/plex_ruby_sdk/models/operations/get_watch_list_response.rb +++ b/lib/plex_ruby_sdk/models/operations/get_watch_list_response.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetWatchListResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetWatchListResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/get_watch_list_responsebody.rb b/lib/plex_ruby_sdk/models/operations/get_watch_list_responsebody.rb index 516e689..70d6b9e 100644 --- a/lib/plex_ruby_sdk/models/operations/get_watch_list_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/get_watch_list_responsebody.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Watchlist Data - class GetWatchListResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetWatchListResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_watch_list_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/get_watch_list_unauthorized.rb index cabe297..6216526 100644 --- a/lib/plex_ruby_sdk/models/operations/get_watch_list_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/get_watch_list_unauthorized.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetWatchListUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetWatchListUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/get_watch_list_watchlist_errors.rb b/lib/plex_ruby_sdk/models/operations/get_watch_list_watchlist_errors.rb index 2526219..6f0bc3d 100644 --- a/lib/plex_ruby_sdk/models/operations/get_watch_list_watchlist_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/get_watch_list_watchlist_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetWatchListWatchlistErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetWatchListWatchlistErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getavailableclients_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getavailableclients_badrequest.rb index 51d9d87..05abfbc 100644 --- a/lib/plex_ruby_sdk/models/operations/getavailableclients_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getavailableclients_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetAvailableClientsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetAvailableClientsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getavailableclients_errors.rb b/lib/plex_ruby_sdk/models/operations/getavailableclients_errors.rb index 7f803cf..a46ed7e 100644 --- a/lib/plex_ruby_sdk/models/operations/getavailableclients_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getavailableclients_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAvailableClientsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetAvailableClientsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getavailableclients_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getavailableclients_mediacontainer.rb index d655c30..ccd386e 100644 --- a/lib/plex_ruby_sdk/models/operations/getavailableclients_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getavailableclients_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAvailableClientsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetAvailableClientsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getavailableclients_response.rb b/lib/plex_ruby_sdk/models/operations/getavailableclients_response.rb index faf13c7..e89de42 100644 --- a/lib/plex_ruby_sdk/models/operations/getavailableclients_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getavailableclients_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAvailableClientsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetAvailableClientsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getavailableclients_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getavailableclients_responsebody.rb index 8a80b3d..05b8538 100644 --- a/lib/plex_ruby_sdk/models/operations/getavailableclients_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getavailableclients_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Available Clients - class GetAvailableClientsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetAvailableClientsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getavailableclients_server_errors.rb b/lib/plex_ruby_sdk/models/operations/getavailableclients_server_errors.rb index ea5f97e..c8ff9c0 100644 --- a/lib/plex_ruby_sdk/models/operations/getavailableclients_server_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getavailableclients_server_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetAvailableClientsServerErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetAvailableClientsServerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getavailableclients_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getavailableclients_unauthorized.rb index 9da9a59..371a8ee 100644 --- a/lib/plex_ruby_sdk/models/operations/getavailableclients_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getavailableclients_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetAvailableClientsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetAvailableClientsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_account.rb b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_account.rb index b5f540a..ea7f59e 100644 --- a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_account.rb +++ b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_account.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBandwidthStatisticsAccount < ::PlexRubySDK::Utils::FieldAugmented + class GetBandwidthStatisticsAccount < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_badrequest.rb index 417b91c..79cc67b 100644 --- a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetBandwidthStatisticsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetBandwidthStatisticsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_device.rb b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_device.rb index 9e0100d..68d28af 100644 --- a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_device.rb +++ b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_device.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBandwidthStatisticsDevice < ::PlexRubySDK::Utils::FieldAugmented + class GetBandwidthStatisticsDevice < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_errors.rb b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_errors.rb index d9b2f78..5156280 100644 --- a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBandwidthStatisticsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetBandwidthStatisticsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_mediacontainer.rb index 3865a8f..b32fad3 100644 --- a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBandwidthStatisticsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetBandwidthStatisticsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_request.rb b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_request.rb index 2317f7f..42f1b9d 100644 --- a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBandwidthStatisticsRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetBandwidthStatisticsRequest < ::Crystalline::FieldAugmented extend T::Sig # The timespan to retrieve statistics for diff --git a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_response.rb b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_response.rb index 6f026d7..afb697b 100644 --- a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBandwidthStatisticsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetBandwidthStatisticsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_responsebody.rb index 4722705..4f1e9c0 100644 --- a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bandwidth Statistics - class GetBandwidthStatisticsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetBandwidthStatisticsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_statistics_errors.rb b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_statistics_errors.rb index ca14978..f223e62 100644 --- a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_statistics_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_statistics_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetBandwidthStatisticsStatisticsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetBandwidthStatisticsStatisticsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_unauthorized.rb index bd728c3..4f69b3b 100644 --- a/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetBandwidthStatisticsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetBandwidthStatisticsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbutlertasks_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getbutlertasks_badrequest.rb index 292fcd0..f796f52 100644 --- a/lib/plex_ruby_sdk/models/operations/getbutlertasks_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getbutlertasks_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetButlerTasksBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetButlerTasksBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbutlertasks_butler_errors.rb b/lib/plex_ruby_sdk/models/operations/getbutlertasks_butler_errors.rb index 89708b6..dd95bc7 100644 --- a/lib/plex_ruby_sdk/models/operations/getbutlertasks_butler_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getbutlertasks_butler_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetButlerTasksButlerErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetButlerTasksButlerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbutlertasks_errors.rb b/lib/plex_ruby_sdk/models/operations/getbutlertasks_errors.rb index 7279ce4..6c86f14 100644 --- a/lib/plex_ruby_sdk/models/operations/getbutlertasks_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getbutlertasks_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetButlerTasksErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetButlerTasksErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbutlertasks_response.rb b/lib/plex_ruby_sdk/models/operations/getbutlertasks_response.rb index a635c03..340e7fa 100644 --- a/lib/plex_ruby_sdk/models/operations/getbutlertasks_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getbutlertasks_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetButlerTasksResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetButlerTasksResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getbutlertasks_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getbutlertasks_responsebody.rb index 0f4d402..1043310 100644 --- a/lib/plex_ruby_sdk/models/operations/getbutlertasks_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getbutlertasks_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # All butler tasks - class GetButlerTasksResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetButlerTasksResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getbutlertasks_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getbutlertasks_unauthorized.rb index 77252f2..5f81b29 100644 --- a/lib/plex_ruby_sdk/models/operations/getbutlertasks_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getbutlertasks_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetButlerTasksUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetButlerTasksUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getcompanionsdata_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getcompanionsdata_badrequest.rb index 77b3c9d..19cedc8 100644 --- a/lib/plex_ruby_sdk/models/operations/getcompanionsdata_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getcompanionsdata_badrequest.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetCompanionsDataBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetCompanionsDataBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getcompanionsdata_errors.rb b/lib/plex_ruby_sdk/models/operations/getcompanionsdata_errors.rb index 3dc0b52..919fc67 100644 --- a/lib/plex_ruby_sdk/models/operations/getcompanionsdata_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getcompanionsdata_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetCompanionsDataErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetCompanionsDataErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getcompanionsdata_plex_errors.rb b/lib/plex_ruby_sdk/models/operations/getcompanionsdata_plex_errors.rb index 2bcab5f..8d1fad7 100644 --- a/lib/plex_ruby_sdk/models/operations/getcompanionsdata_plex_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getcompanionsdata_plex_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetCompanionsDataPlexErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetCompanionsDataPlexErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getcompanionsdata_response.rb b/lib/plex_ruby_sdk/models/operations/getcompanionsdata_response.rb index 676e517..720af15 100644 --- a/lib/plex_ruby_sdk/models/operations/getcompanionsdata_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getcompanionsdata_response.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetCompanionsDataResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetCompanionsDataResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getcompanionsdata_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getcompanionsdata_unauthorized.rb index 7f711db..6babd2a 100644 --- a/lib/plex_ruby_sdk/models/operations/getcompanionsdata_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getcompanionsdata_unauthorized.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetCompanionsDataUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetCompanionsDataUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getdevices_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getdevices_badrequest.rb index 28ff95b..dd004da 100644 --- a/lib/plex_ruby_sdk/models/operations/getdevices_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getdevices_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetDevicesBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetDevicesBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getdevices_errors.rb b/lib/plex_ruby_sdk/models/operations/getdevices_errors.rb index b13e105..4170c37 100644 --- a/lib/plex_ruby_sdk/models/operations/getdevices_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getdevices_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetDevicesErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetDevicesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getdevices_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getdevices_mediacontainer.rb index bba4d4b..eb3e169 100644 --- a/lib/plex_ruby_sdk/models/operations/getdevices_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getdevices_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetDevicesMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetDevicesMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getdevices_response.rb b/lib/plex_ruby_sdk/models/operations/getdevices_response.rb index 85c2864..2ca1241 100644 --- a/lib/plex_ruby_sdk/models/operations/getdevices_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getdevices_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetDevicesResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetDevicesResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getdevices_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getdevices_responsebody.rb index d0fcfba..58e9da4 100644 --- a/lib/plex_ruby_sdk/models/operations/getdevices_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getdevices_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Devices - class GetDevicesResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetDevicesResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getdevices_server_errors.rb b/lib/plex_ruby_sdk/models/operations/getdevices_server_errors.rb index fe653c3..15d1764 100644 --- a/lib/plex_ruby_sdk/models/operations/getdevices_server_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getdevices_server_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetDevicesServerErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetDevicesServerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getdevices_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getdevices_unauthorized.rb index 029e299..def0632 100644 --- a/lib/plex_ruby_sdk/models/operations/getdevices_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getdevices_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetDevicesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetDevicesUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getfilehash_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getfilehash_badrequest.rb index 525f88c..f66aabc 100644 --- a/lib/plex_ruby_sdk/models/operations/getfilehash_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getfilehash_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetFileHashBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetFileHashBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getfilehash_errors.rb b/lib/plex_ruby_sdk/models/operations/getfilehash_errors.rb index 7402eec..dfa4c66 100644 --- a/lib/plex_ruby_sdk/models/operations/getfilehash_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getfilehash_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetFileHashErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetFileHashErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getfilehash_library_errors.rb b/lib/plex_ruby_sdk/models/operations/getfilehash_library_errors.rb index b5c8491..d1e9647 100644 --- a/lib/plex_ruby_sdk/models/operations/getfilehash_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getfilehash_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetFileHashLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetFileHashLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getfilehash_request.rb b/lib/plex_ruby_sdk/models/operations/getfilehash_request.rb index 6f3a886..5dcd47e 100644 --- a/lib/plex_ruby_sdk/models/operations/getfilehash_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getfilehash_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetFileHashRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetFileHashRequest < ::Crystalline::FieldAugmented extend T::Sig # This is the path to the local file, must be prefixed by `file://` diff --git a/lib/plex_ruby_sdk/models/operations/getfilehash_response.rb b/lib/plex_ruby_sdk/models/operations/getfilehash_response.rb index bcaa746..f0e5fd2 100644 --- a/lib/plex_ruby_sdk/models/operations/getfilehash_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getfilehash_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetFileHashResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetFileHashResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getfilehash_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getfilehash_unauthorized.rb index e4a761a..20c813a 100644 --- a/lib/plex_ruby_sdk/models/operations/getfilehash_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getfilehash_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetFileHashUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetFileHashUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getgeodata_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getgeodata_badrequest.rb index 6bdd262..071bf51 100644 --- a/lib/plex_ruby_sdk/models/operations/getgeodata_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getgeodata_badrequest.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetGeoDataBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetGeoDataBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getgeodata_errors.rb b/lib/plex_ruby_sdk/models/operations/getgeodata_errors.rb index 3c21dfc..6a4e498 100644 --- a/lib/plex_ruby_sdk/models/operations/getgeodata_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getgeodata_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetGeoDataErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetGeoDataErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getgeodata_geodata.rb b/lib/plex_ruby_sdk/models/operations/getgeodata_geodata.rb index f1c5c76..339e755 100644 --- a/lib/plex_ruby_sdk/models/operations/getgeodata_geodata.rb +++ b/lib/plex_ruby_sdk/models/operations/getgeodata_geodata.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Geo location data - class GetGeoDataGeoData < ::PlexRubySDK::Utils::FieldAugmented + class GetGeoDataGeoData < ::Crystalline::FieldAugmented extend T::Sig # The name of the city. diff --git a/lib/plex_ruby_sdk/models/operations/getgeodata_plex_errors.rb b/lib/plex_ruby_sdk/models/operations/getgeodata_plex_errors.rb index 20ed31b..8b3cef7 100644 --- a/lib/plex_ruby_sdk/models/operations/getgeodata_plex_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getgeodata_plex_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetGeoDataPlexErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetGeoDataPlexErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getgeodata_response.rb b/lib/plex_ruby_sdk/models/operations/getgeodata_response.rb index 5bfa319..569f15d 100644 --- a/lib/plex_ruby_sdk/models/operations/getgeodata_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getgeodata_response.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetGeoDataResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetGeoDataResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getgeodata_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getgeodata_unauthorized.rb index fe6af2f..d289d41 100644 --- a/lib/plex_ruby_sdk/models/operations/getgeodata_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getgeodata_unauthorized.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetGeoDataUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetGeoDataUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getglobalhubs_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getglobalhubs_badrequest.rb index 1bcb348..5a995b8 100644 --- a/lib/plex_ruby_sdk/models/operations/getglobalhubs_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getglobalhubs_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetGlobalHubsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetGlobalHubsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getglobalhubs_errors.rb b/lib/plex_ruby_sdk/models/operations/getglobalhubs_errors.rb index d109894..95df515 100644 --- a/lib/plex_ruby_sdk/models/operations/getglobalhubs_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getglobalhubs_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGlobalHubsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetGlobalHubsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getglobalhubs_hubs_errors.rb b/lib/plex_ruby_sdk/models/operations/getglobalhubs_hubs_errors.rb index 5488442..7154811 100644 --- a/lib/plex_ruby_sdk/models/operations/getglobalhubs_hubs_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getglobalhubs_hubs_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGlobalHubsHubsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetGlobalHubsHubsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getglobalhubs_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getglobalhubs_mediacontainer.rb index 97e7441..d4d9917 100644 --- a/lib/plex_ruby_sdk/models/operations/getglobalhubs_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getglobalhubs_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGlobalHubsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetGlobalHubsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getglobalhubs_metadata.rb b/lib/plex_ruby_sdk/models/operations/getglobalhubs_metadata.rb index 312c3d8..c485e3f 100644 --- a/lib/plex_ruby_sdk/models/operations/getglobalhubs_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/getglobalhubs_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGlobalHubsMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetGlobalHubsMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getglobalhubs_request.rb b/lib/plex_ruby_sdk/models/operations/getglobalhubs_request.rb index 9deb532..0d440d2 100644 --- a/lib/plex_ruby_sdk/models/operations/getglobalhubs_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getglobalhubs_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGlobalHubsRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetGlobalHubsRequest < ::Crystalline::FieldAugmented extend T::Sig # The number of items to return with each hub. diff --git a/lib/plex_ruby_sdk/models/operations/getglobalhubs_response.rb b/lib/plex_ruby_sdk/models/operations/getglobalhubs_response.rb index 9bbee55..5516cac 100644 --- a/lib/plex_ruby_sdk/models/operations/getglobalhubs_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getglobalhubs_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetGlobalHubsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetGlobalHubsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getglobalhubs_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getglobalhubs_responsebody.rb index ecacc42..98c3596 100644 --- a/lib/plex_ruby_sdk/models/operations/getglobalhubs_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getglobalhubs_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # returns global hubs - class GetGlobalHubsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetGlobalHubsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getglobalhubs_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getglobalhubs_unauthorized.rb index 398381d..a041da9 100644 --- a/lib/plex_ruby_sdk/models/operations/getglobalhubs_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getglobalhubs_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetGlobalHubsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetGlobalHubsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gethomedata_badrequest.rb b/lib/plex_ruby_sdk/models/operations/gethomedata_badrequest.rb index 6a803a2..7fcf409 100644 --- a/lib/plex_ruby_sdk/models/operations/gethomedata_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/gethomedata_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetHomeDataBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetHomeDataBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gethomedata_errors.rb b/lib/plex_ruby_sdk/models/operations/gethomedata_errors.rb index 4c087e0..1d1eb06 100644 --- a/lib/plex_ruby_sdk/models/operations/gethomedata_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gethomedata_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetHomeDataErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetHomeDataErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gethomedata_plex_errors.rb b/lib/plex_ruby_sdk/models/operations/gethomedata_plex_errors.rb index af58945..1c1bac1 100644 --- a/lib/plex_ruby_sdk/models/operations/gethomedata_plex_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gethomedata_plex_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetHomeDataPlexErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetHomeDataPlexErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gethomedata_response.rb b/lib/plex_ruby_sdk/models/operations/gethomedata_response.rb index 5faa715..7c14a62 100644 --- a/lib/plex_ruby_sdk/models/operations/gethomedata_response.rb +++ b/lib/plex_ruby_sdk/models/operations/gethomedata_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetHomeDataResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetHomeDataResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/gethomedata_responsebody.rb b/lib/plex_ruby_sdk/models/operations/gethomedata_responsebody.rb index e8477fe..30d1a32 100644 --- a/lib/plex_ruby_sdk/models/operations/gethomedata_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/gethomedata_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Home Data - class GetHomeDataResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetHomeDataResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gethomedata_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/gethomedata_unauthorized.rb index ade61a0..2f78ae8 100644 --- a/lib/plex_ruby_sdk/models/operations/gethomedata_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/gethomedata_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetHomeDataUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetHomeDataUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_badrequest.rb index 977fde7..4e96140 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetLibraryHubsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_country.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_country.rb index 49b171d..f3e5a97 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_country.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_country.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsCountry < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsCountry < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_director.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_director.rb index dac4c00..8f7183e 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_director.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_director.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsDirector < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsDirector < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_errors.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_errors.rb index 5f2cf17..e235ddf 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_genre.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_genre.rb index 3b71af2..e6e12d7 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_genre.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_genre.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsGenre < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsGenre < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hub.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hub.rb index 8cccd64..ae6ccfc 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hub.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hub.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsHub < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsHub < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hubs_errors.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hubs_errors.rb index d7a2c28..c8491de 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hubs_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_hubs_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsHubsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsHubsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_media.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_media.rb index 444a175..771e160 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_media.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsMedia < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsMedia < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_mediacontainer.rb index 144ad3a..0b9fbf2 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_metadata.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_metadata.rb index 9c07af4..6d957a2 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_part.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_part.rb index 977c953..d4fafa3 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_part.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsPart < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsPart < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_request.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_request.rb index 964794f..a1b886a 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsRequest < ::Crystalline::FieldAugmented extend T::Sig # the Id of the library to query diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_response.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_response.rb index 60e1036..a01a7d7 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_responsebody.rb index 0e56d94..3117a38 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The hubs specific to the library - class GetLibraryHubsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_role.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_role.rb index a3b35f5..72229a8 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_role.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_role.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsRole < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsRole < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_unauthorized.rb index da8435a..57316c9 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetLibraryHubsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_writer.rb b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_writer.rb index 7ac1130..42acad1 100644 --- a/lib/plex_ruby_sdk/models/operations/getlibraryhubs_writer.rb +++ b/lib/plex_ruby_sdk/models/operations/getlibraryhubs_writer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetLibraryHubsWriter < ::PlexRubySDK::Utils::FieldAugmented + class GetLibraryHubsWriter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_badrequest.rb index f8d6c93..a188fad 100644 --- a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetMetadataChildrenBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetMetadataChildrenBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_directory.rb b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_directory.rb index 644e6d6..2747603 100644 --- a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_directory.rb +++ b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_directory.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMetadataChildrenDirectory < ::PlexRubySDK::Utils::FieldAugmented + class GetMetadataChildrenDirectory < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_errors.rb b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_errors.rb index 519a3b6..a20d494 100644 --- a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMetadataChildrenErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetMetadataChildrenErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_library_errors.rb b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_library_errors.rb index 00e41a3..871313f 100644 --- a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMetadataChildrenLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetMetadataChildrenLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_mediacontainer.rb index a87ffff..bb6e8ea 100644 --- a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMetadataChildrenMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetMetadataChildrenMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_metadata.rb b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_metadata.rb index 3ebb714..f2c7587 100644 --- a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMetadataChildrenMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetMetadataChildrenMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_request.rb b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_request.rb index e01dc3f..dfe8a3a 100644 --- a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMetadataChildrenRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetMetadataChildrenRequest < ::Crystalline::FieldAugmented extend T::Sig # the id of the library item to return the children of. diff --git a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_response.rb b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_response.rb index 9d03b83..4a2d3a2 100644 --- a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMetadataChildrenResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetMetadataChildrenResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_responsebody.rb index 06692b3..821b47d 100644 --- a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The children of the library item. - class GetMetadataChildrenResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetMetadataChildrenResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_unauthorized.rb index d97a7e7..754c03a 100644 --- a/lib/plex_ruby_sdk/models/operations/getmetadatachildren_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getmetadatachildren_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetMetadataChildrenUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetMetadataChildrenUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_badrequest.rb index 157ff4b..cc0a942 100644 --- a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetMyPlexAccountBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetMyPlexAccountBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_errors.rb b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_errors.rb index b980b33..e66b004 100644 --- a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMyPlexAccountErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetMyPlexAccountErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_response.rb b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_response.rb index fc266f9..ca33814 100644 --- a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMyPlexAccountResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetMyPlexAccountResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_responsebody.rb index 041c0b5..f5fefd0 100644 --- a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # MyPlex Account - class GetMyPlexAccountResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetMyPlexAccountResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_server_errors.rb b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_server_errors.rb index 0d1283d..c4da8b2 100644 --- a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_server_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_server_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetMyPlexAccountServerErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetMyPlexAccountServerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_unauthorized.rb index e2a8ae6..6f3e8a1 100644 --- a/lib/plex_ruby_sdk/models/operations/getmyplexaccount_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getmyplexaccount_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetMyPlexAccountUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetMyPlexAccountUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getondeck_badrequest.rb index ad83223..7980e25 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetOnDeckBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_errors.rb b/lib/plex_ruby_sdk/models/operations/getondeck_errors.rb index c263cc6..b01baa8 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetOnDeckErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_guids.rb b/lib/plex_ruby_sdk/models/operations/getondeck_guids.rb index 579439f..c1d604a 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_guids.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_guids.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetOnDeckGuids < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckGuids < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_library_errors.rb b/lib/plex_ruby_sdk/models/operations/getondeck_library_errors.rb index 671b685..f9e393b 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetOnDeckLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_media.rb b/lib/plex_ruby_sdk/models/operations/getondeck_media.rb index 37b30d8..a5dc532 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_media.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetOnDeckMedia < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckMedia < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getondeck_mediacontainer.rb index 7de80e8..f0dfcef 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetOnDeckMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_metadata.rb b/lib/plex_ruby_sdk/models/operations/getondeck_metadata.rb index 1d6402e..f338421 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetOnDeckMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_part.rb b/lib/plex_ruby_sdk/models/operations/getondeck_part.rb index a1cba69..31ea106 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_part.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetOnDeckPart < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckPart < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_response.rb b/lib/plex_ruby_sdk/models/operations/getondeck_response.rb index adf0f03..8cbb6b5 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetOnDeckResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getondeck_responsebody.rb index 24a6c30..816181a 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The on Deck content - class GetOnDeckResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_stream.rb b/lib/plex_ruby_sdk/models/operations/getondeck_stream.rb index 60b64f0..8ed5d32 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_stream.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_stream.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetOnDeckStream < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckStream < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getondeck_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getondeck_unauthorized.rb index 825ce09..4c8db43 100644 --- a/lib/plex_ruby_sdk/models/operations/getondeck_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getondeck_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetOnDeckUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetOnDeckUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getpin_authpincontainer.rb b/lib/plex_ruby_sdk/models/operations/getpin_authpincontainer.rb index 5bbd27f..c382556 100644 --- a/lib/plex_ruby_sdk/models/operations/getpin_authpincontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getpin_authpincontainer.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Requests a new pin id used in the authentication flow - class GetPinAuthPinContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetPinAuthPinContainer < ::Crystalline::FieldAugmented extend T::Sig # The X-Client-Identifier used in the request diff --git a/lib/plex_ruby_sdk/models/operations/getpin_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getpin_badrequest.rb index 351e37f..4b5d765 100644 --- a/lib/plex_ruby_sdk/models/operations/getpin_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getpin_badrequest.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetPinBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetPinBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getpin_errors.rb b/lib/plex_ruby_sdk/models/operations/getpin_errors.rb index eb73c55..91fed2a 100644 --- a/lib/plex_ruby_sdk/models/operations/getpin_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getpin_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetPinErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetPinErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getpin_request.rb b/lib/plex_ruby_sdk/models/operations/getpin_request.rb index ecf8ca0..bd76952 100644 --- a/lib/plex_ruby_sdk/models/operations/getpin_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getpin_request.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetPinRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetPinRequest < ::Crystalline::FieldAugmented extend T::Sig # An opaque identifier unique to the client (UUID, serial number, or other unique device ID) diff --git a/lib/plex_ruby_sdk/models/operations/getpin_response.rb b/lib/plex_ruby_sdk/models/operations/getpin_response.rb index 2e326f2..c0c9b44 100644 --- a/lib/plex_ruby_sdk/models/operations/getpin_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getpin_response.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetPinResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetPinResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getplaylist_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getplaylist_badrequest.rb index 87558aa..a198f0d 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylist_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylist_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetPlaylistBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylist_errors.rb b/lib/plex_ruby_sdk/models/operations/getplaylist_errors.rb index d5e064d..e9bfcac 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylist_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylist_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylist_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getplaylist_mediacontainer.rb index 35d8e0e..ee42056 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylist_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylist_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylist_metadata.rb b/lib/plex_ruby_sdk/models/operations/getplaylist_metadata.rb index cbe0817..2ac11fe 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylist_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylist_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylist_playlists_errors.rb b/lib/plex_ruby_sdk/models/operations/getplaylist_playlists_errors.rb index a24d78b..e05378f 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylist_playlists_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylist_playlists_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistPlaylistsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylist_request.rb b/lib/plex_ruby_sdk/models/operations/getplaylist_request.rb index 41cd743..27d5014 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylist_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylist_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistRequest < ::Crystalline::FieldAugmented extend T::Sig # the ID of the playlist diff --git a/lib/plex_ruby_sdk/models/operations/getplaylist_response.rb b/lib/plex_ruby_sdk/models/operations/getplaylist_response.rb index d458ceb..ef4816c 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylist_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylist_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getplaylist_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getplaylist_responsebody.rb index 02a43de..8f2faa7 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylist_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylist_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The playlist - class GetPlaylistResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylist_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getplaylist_unauthorized.rb index 4441a41..8a0b9e9 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylist_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylist_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetPlaylistUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_badrequest.rb index 62f97dd..564f2df 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetPlaylistContentsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_country.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_country.rb index 48c9c6d..dd0f4f5 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_country.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_country.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsCountry < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsCountry < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_director.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_director.rb index c432d87..ce74535 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_director.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_director.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsDirector < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsDirector < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_errors.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_errors.rb index ab4cefd..cc81134 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_genre.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_genre.rb index 238fe4b..758cc9d 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_genre.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_genre.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsGenre < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsGenre < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_media.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_media.rb index 84effd7..da4984e 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_media.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsMedia < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsMedia < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_mediacontainer.rb index ce5e49b..30a5341 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_metadata.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_metadata.rb index 0c34629..d9187e2 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_part.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_part.rb index bc37176..de034a3 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_part.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsPart < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsPart < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_playlists_errors.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_playlists_errors.rb index e8c0f94..6d8ea60 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_playlists_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_playlists_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsPlaylistsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_request.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_request.rb index b99a1b8..e8da6c1 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsRequest < ::Crystalline::FieldAugmented extend T::Sig # the ID of the playlist diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_response.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_response.rb index d085c69..27b0719 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_responsebody.rb index 4fb875b..678eed1 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The playlist contents - class GetPlaylistContentsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_role.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_role.rb index 4feb96a..091f94f 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_role.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_role.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsRole < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsRole < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_unauthorized.rb index 5a45a8f..8ca652f 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetPlaylistContentsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_writer.rb b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_writer.rb index e81f7a2..17e52c9 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylistcontents_writer.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylistcontents_writer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistContentsWriter < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistContentsWriter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylists_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getplaylists_badrequest.rb index 177384d..e72cb8c 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylists_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylists_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetPlaylistsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylists_errors.rb b/lib/plex_ruby_sdk/models/operations/getplaylists_errors.rb index fe635fd..2aefe56 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylists_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylists_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylists_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getplaylists_mediacontainer.rb index 5805932..21c97a4 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylists_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylists_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylists_metadata.rb b/lib/plex_ruby_sdk/models/operations/getplaylists_metadata.rb index fdb5fc3..ff8d2ab 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylists_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylists_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistsMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistsMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylists_playlists_errors.rb b/lib/plex_ruby_sdk/models/operations/getplaylists_playlists_errors.rb index 03882b3..a857b5d 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylists_playlists_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylists_playlists_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistsPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistsPlaylistsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylists_request.rb b/lib/plex_ruby_sdk/models/operations/getplaylists_request.rb index 48f8b57..aec72ef 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylists_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylists_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistsRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistsRequest < ::Crystalline::FieldAugmented extend T::Sig # limit to a type of playlist. diff --git a/lib/plex_ruby_sdk/models/operations/getplaylists_response.rb b/lib/plex_ruby_sdk/models/operations/getplaylists_response.rb index 31b0a56..50a440c 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylists_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylists_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetPlaylistsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getplaylists_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getplaylists_responsebody.rb index ea266e6..142c01c 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylists_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylists_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # returns all playlists - class GetPlaylistsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getplaylists_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getplaylists_unauthorized.rb index 4bce1db..83ac827 100644 --- a/lib/plex_ruby_sdk/models/operations/getplaylists_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getplaylists_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetPlaylistsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetPlaylistsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getresizedphoto_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getresizedphoto_badrequest.rb index af1a2f6..a8c21e8 100644 --- a/lib/plex_ruby_sdk/models/operations/getresizedphoto_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getresizedphoto_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetResizedPhotoBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetResizedPhotoBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getresizedphoto_errors.rb b/lib/plex_ruby_sdk/models/operations/getresizedphoto_errors.rb index 780eb90..b36c6af 100644 --- a/lib/plex_ruby_sdk/models/operations/getresizedphoto_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getresizedphoto_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetResizedPhotoErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetResizedPhotoErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getresizedphoto_request.rb b/lib/plex_ruby_sdk/models/operations/getresizedphoto_request.rb index 2e55432..44b1955 100644 --- a/lib/plex_ruby_sdk/models/operations/getresizedphoto_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getresizedphoto_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetResizedPhotoRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetResizedPhotoRequest < ::Crystalline::FieldAugmented extend T::Sig # The width for the resized photo diff --git a/lib/plex_ruby_sdk/models/operations/getresizedphoto_response.rb b/lib/plex_ruby_sdk/models/operations/getresizedphoto_response.rb index 1648385..292829b 100644 --- a/lib/plex_ruby_sdk/models/operations/getresizedphoto_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getresizedphoto_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetResizedPhotoResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetResizedPhotoResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getresizedphoto_server_errors.rb b/lib/plex_ruby_sdk/models/operations/getresizedphoto_server_errors.rb index 52f5837..6865450 100644 --- a/lib/plex_ruby_sdk/models/operations/getresizedphoto_server_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getresizedphoto_server_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetResizedPhotoServerErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetResizedPhotoServerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getresizedphoto_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getresizedphoto_unauthorized.rb index 23c8442..2f1c9d5 100644 --- a/lib/plex_ruby_sdk/models/operations/getresizedphoto_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getresizedphoto_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetResizedPhotoUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetResizedPhotoUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_badrequest.rb index e6f5d4f..1f49cc0 100644 --- a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetResourcesStatisticsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetResourcesStatisticsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_errors.rb b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_errors.rb index 61d9e01..ad3af35 100644 --- a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetResourcesStatisticsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetResourcesStatisticsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_mediacontainer.rb index 3dc53a4..a04b017 100644 --- a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetResourcesStatisticsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetResourcesStatisticsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_request.rb b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_request.rb index 0bdf160..61e0fc6 100644 --- a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetResourcesStatisticsRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetResourcesStatisticsRequest < ::Crystalline::FieldAugmented extend T::Sig # The timespan to retrieve statistics for diff --git a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_response.rb b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_response.rb index 6ede0a3..5f9687f 100644 --- a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetResourcesStatisticsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetResourcesStatisticsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_responsebody.rb index fd5c91c..a287b02 100644 --- a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Resource Statistics - class GetResourcesStatisticsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetResourcesStatisticsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_statistics_errors.rb b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_statistics_errors.rb index f720f10..95472b8 100644 --- a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_statistics_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_statistics_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetResourcesStatisticsStatisticsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetResourcesStatisticsStatisticsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_unauthorized.rb index 6990843..dfc6b71 100644 --- a/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getresourcesstatistics_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetResourcesStatisticsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetResourcesStatisticsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_badrequest.rb index f3045e8..5d16891 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetSearchResultsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_country.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_country.rb index 6535108..10a68f1 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_country.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_country.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsCountry < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsCountry < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_director.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_director.rb index 1bdb97a..f13d00c 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_director.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_director.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsDirector < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsDirector < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_errors.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_errors.rb index 6600063..1ce26e0 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_genre.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_genre.rb index 2219673..cb2782a 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_genre.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_genre.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsGenre < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsGenre < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_media.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_media.rb index 20ee296..2e6503f 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_media.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsMedia < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsMedia < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_mediacontainer.rb index 3127805..b2f9757 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_metadata.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_metadata.rb index 6c4457b..3c06a14 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_part.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_part.rb index 43d4d32..21de129 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_part.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsPart < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsPart < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_request.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_request.rb index 2060b83..e6f686d 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsRequest < ::Crystalline::FieldAugmented extend T::Sig # The search query string to use diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_response.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_response.rb index d721c3f..b0abecd 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_responsebody.rb index 419dad9..5473a2d 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Search Results - class GetSearchResultsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_role.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_role.rb index a7287c1..7f44124 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_role.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_role.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsRole < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsRole < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_search_errors.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_search_errors.rb index 3a72fc8..907cc03 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_search_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_search_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsSearchErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsSearchErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_unauthorized.rb index 4464a28..64ac9d5 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetSearchResultsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsearchresults_writer.rb b/lib/plex_ruby_sdk/models/operations/getsearchresults_writer.rb index 3781af0..b92dc32 100644 --- a/lib/plex_ruby_sdk/models/operations/getsearchresults_writer.rb +++ b/lib/plex_ruby_sdk/models/operations/getsearchresults_writer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSearchResultsWriter < ::PlexRubySDK::Utils::FieldAugmented + class GetSearchResultsWriter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserveractivities_activities_errors.rb b/lib/plex_ruby_sdk/models/operations/getserveractivities_activities_errors.rb index 7adc290..0604819 100644 --- a/lib/plex_ruby_sdk/models/operations/getserveractivities_activities_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getserveractivities_activities_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerActivitiesActivitiesErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetServerActivitiesActivitiesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserveractivities_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getserveractivities_badrequest.rb index 310c6cb..7548ee2 100644 --- a/lib/plex_ruby_sdk/models/operations/getserveractivities_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getserveractivities_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetServerActivitiesBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetServerActivitiesBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserveractivities_errors.rb b/lib/plex_ruby_sdk/models/operations/getserveractivities_errors.rb index e707883..a842246 100644 --- a/lib/plex_ruby_sdk/models/operations/getserveractivities_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getserveractivities_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerActivitiesErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetServerActivitiesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserveractivities_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getserveractivities_mediacontainer.rb index 40cdf45..f128e22 100644 --- a/lib/plex_ruby_sdk/models/operations/getserveractivities_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getserveractivities_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerActivitiesMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetServerActivitiesMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserveractivities_response.rb b/lib/plex_ruby_sdk/models/operations/getserveractivities_response.rb index 1264758..945fdc7 100644 --- a/lib/plex_ruby_sdk/models/operations/getserveractivities_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getserveractivities_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerActivitiesResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetServerActivitiesResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getserveractivities_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getserveractivities_responsebody.rb index 3b92855..68f022d 100644 --- a/lib/plex_ruby_sdk/models/operations/getserveractivities_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getserveractivities_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The Server Activities - class GetServerActivitiesResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetServerActivitiesResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserveractivities_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getserveractivities_unauthorized.rb index 85fb164..05ba598 100644 --- a/lib/plex_ruby_sdk/models/operations/getserveractivities_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getserveractivities_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetServerActivitiesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetServerActivitiesUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getservercapabilities_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getservercapabilities_badrequest.rb index 960425c..647b242 100644 --- a/lib/plex_ruby_sdk/models/operations/getservercapabilities_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getservercapabilities_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetServerCapabilitiesBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetServerCapabilitiesBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getservercapabilities_errors.rb b/lib/plex_ruby_sdk/models/operations/getservercapabilities_errors.rb index 2275bf9..979e192 100644 --- a/lib/plex_ruby_sdk/models/operations/getservercapabilities_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getservercapabilities_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerCapabilitiesErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetServerCapabilitiesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getservercapabilities_response.rb b/lib/plex_ruby_sdk/models/operations/getservercapabilities_response.rb index 09e59e9..19fbe89 100644 --- a/lib/plex_ruby_sdk/models/operations/getservercapabilities_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getservercapabilities_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerCapabilitiesResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetServerCapabilitiesResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getservercapabilities_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getservercapabilities_responsebody.rb index b0d17ef..bd0a6ef 100644 --- a/lib/plex_ruby_sdk/models/operations/getservercapabilities_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getservercapabilities_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The Server Capabilities - class GetServerCapabilitiesResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetServerCapabilitiesResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getservercapabilities_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getservercapabilities_unauthorized.rb index 25e191c..3d15c5b 100644 --- a/lib/plex_ruby_sdk/models/operations/getservercapabilities_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getservercapabilities_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetServerCapabilitiesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetServerCapabilitiesUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverlist_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getserverlist_badrequest.rb index 7a0deca..1d5651b 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverlist_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverlist_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetServerListBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetServerListBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverlist_errors.rb b/lib/plex_ruby_sdk/models/operations/getserverlist_errors.rb index cb7f35e..97f399d 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverlist_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverlist_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerListErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetServerListErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverlist_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getserverlist_mediacontainer.rb index 1059398..badd400 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverlist_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverlist_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerListMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetServerListMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverlist_response.rb b/lib/plex_ruby_sdk/models/operations/getserverlist_response.rb index 419a3a3..7a27d39 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverlist_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverlist_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerListResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetServerListResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getserverlist_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getserverlist_responsebody.rb index aa009e7..fe1f403 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverlist_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverlist_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # List of Servers - class GetServerListResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetServerListResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverlist_server.rb b/lib/plex_ruby_sdk/models/operations/getserverlist_server.rb index a0d87d8..3746bbc 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverlist_server.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverlist_server.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerListServer < ::PlexRubySDK::Utils::FieldAugmented + class GetServerListServer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverlist_server_errors.rb b/lib/plex_ruby_sdk/models/operations/getserverlist_server_errors.rb index 4a02f39..49489e7 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverlist_server_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverlist_server_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerListServerErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetServerListServerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverlist_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getserverlist_unauthorized.rb index 8844b21..8f4c003 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverlist_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverlist_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetServerListUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetServerListUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverpreferences_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getserverpreferences_badrequest.rb index e80a67d..a49e4b3 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverpreferences_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverpreferences_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetServerPreferencesBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetServerPreferencesBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverpreferences_errors.rb b/lib/plex_ruby_sdk/models/operations/getserverpreferences_errors.rb index 6ad39d6..432bb79 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverpreferences_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverpreferences_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerPreferencesErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetServerPreferencesErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverpreferences_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getserverpreferences_mediacontainer.rb index f031c1b..03cf8d5 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverpreferences_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverpreferences_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerPreferencesMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetServerPreferencesMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverpreferences_response.rb b/lib/plex_ruby_sdk/models/operations/getserverpreferences_response.rb index 5faf73b..b3b6ae8 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverpreferences_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverpreferences_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerPreferencesResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetServerPreferencesResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getserverpreferences_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getserverpreferences_responsebody.rb index d9ea872..2d3186c 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverpreferences_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverpreferences_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Server Preferences - class GetServerPreferencesResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetServerPreferencesResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverpreferences_server_errors.rb b/lib/plex_ruby_sdk/models/operations/getserverpreferences_server_errors.rb index 5ff127d..5480866 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverpreferences_server_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverpreferences_server_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetServerPreferencesServerErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetServerPreferencesServerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getserverpreferences_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getserverpreferences_unauthorized.rb index 937b42d..cc156c2 100644 --- a/lib/plex_ruby_sdk/models/operations/getserverpreferences_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getserverpreferences_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetServerPreferencesUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetServerPreferencesUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessionhistory_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getsessionhistory_badrequest.rb index c8ba9c0..29c614d 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessionhistory_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessionhistory_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetSessionHistoryBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionHistoryBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessionhistory_errors.rb b/lib/plex_ruby_sdk/models/operations/getsessionhistory_errors.rb index e501e02..14ea15b 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessionhistory_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessionhistory_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionHistoryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionHistoryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessionhistory_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getsessionhistory_mediacontainer.rb index b8cd4a6..6ca0303 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessionhistory_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessionhistory_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionHistoryMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionHistoryMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessionhistory_metadata.rb b/lib/plex_ruby_sdk/models/operations/getsessionhistory_metadata.rb index 2139391..155e535 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessionhistory_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessionhistory_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionHistoryMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionHistoryMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessionhistory_request.rb b/lib/plex_ruby_sdk/models/operations/getsessionhistory_request.rb index 0c8a628..3e6f3ba 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessionhistory_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessionhistory_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionHistoryRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionHistoryRequest < ::Crystalline::FieldAugmented extend T::Sig # Filter results by those that are related to a specific users id diff --git a/lib/plex_ruby_sdk/models/operations/getsessionhistory_response.rb b/lib/plex_ruby_sdk/models/operations/getsessionhistory_response.rb index ce3bb83..a22694f 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessionhistory_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessionhistory_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionHistoryResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionHistoryResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getsessionhistory_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getsessionhistory_responsebody.rb index 871ca4e..105ef73 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessionhistory_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessionhistory_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # List of Plex Sessions - class GetSessionHistoryResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionHistoryResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessionhistory_sessions_errors.rb b/lib/plex_ruby_sdk/models/operations/getsessionhistory_sessions_errors.rb index ddbcb2b..e2ea8e2 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessionhistory_sessions_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessionhistory_sessions_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionHistorySessionsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionHistorySessionsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessionhistory_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getsessionhistory_unauthorized.rb index 05f9593..a728efe 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessionhistory_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessionhistory_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetSessionHistoryUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionHistoryUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getsessions_badrequest.rb index 3595769..e76778b 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetSessionsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_errors.rb b/lib/plex_ruby_sdk/models/operations/getsessions_errors.rb index 5e3478b..405cf44 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_media.rb b/lib/plex_ruby_sdk/models/operations/getsessions_media.rb index 5610b37..c420596 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_media.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionsMedia < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsMedia < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getsessions_mediacontainer.rb index 4b7a735..42edc08 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_metadata.rb b/lib/plex_ruby_sdk/models/operations/getsessions_metadata.rb index f2b9289..d3b2a6a 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionsMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_part.rb b/lib/plex_ruby_sdk/models/operations/getsessions_part.rb index 87240e2..2e71745 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_part.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionsPart < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsPart < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_response.rb b/lib/plex_ruby_sdk/models/operations/getsessions_response.rb index 5d4009b..e479d64 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getsessions_responsebody.rb index 8c9fc0a..01d705b 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # List of Active Plex Sessions - class GetSessionsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_sessions_errors.rb b/lib/plex_ruby_sdk/models/operations/getsessions_sessions_errors.rb index 9eda075..e53b5a3 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_sessions_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_sessions_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionsSessionsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsSessionsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_stream.rb b/lib/plex_ruby_sdk/models/operations/getsessions_stream.rb index 7a42977..b2d0b61 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_stream.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_stream.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionsStream < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsStream < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getsessions_unauthorized.rb index 7d118b3..ddb5b9e 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetSessionsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsessions_user.rb b/lib/plex_ruby_sdk/models/operations/getsessions_user.rb index 42c2736..a0ee845 100644 --- a/lib/plex_ruby_sdk/models/operations/getsessions_user.rb +++ b/lib/plex_ruby_sdk/models/operations/getsessions_user.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSessionsUser < ::PlexRubySDK::Utils::FieldAugmented + class GetSessionsUser < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_authentication_errors.rb b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_authentication_errors.rb index 4d3e5ca..3e69295 100644 --- a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_authentication_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_authentication_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSourceConnectionInformationAuthenticationErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSourceConnectionInformationAuthenticationErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_badrequest.rb index a986869..47ec6f3 100644 --- a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetSourceConnectionInformationBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSourceConnectionInformationBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_errors.rb b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_errors.rb index 6a2867d..7c0126e 100644 --- a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSourceConnectionInformationErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetSourceConnectionInformationErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_request.rb b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_request.rb index eeffa2e..ed9c526 100644 --- a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSourceConnectionInformationRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetSourceConnectionInformationRequest < ::Crystalline::FieldAugmented extend T::Sig # The source identifier with an included prefix. diff --git a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_response.rb b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_response.rb index a21484f..ea8702c 100644 --- a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetSourceConnectionInformationResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetSourceConnectionInformationResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_unauthorized.rb index 61bb5e1..b376d07 100644 --- a/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getsourceconnectioninformation_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetSourceConnectionInformationUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetSourceConnectionInformationUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getstatistics_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getstatistics_badrequest.rb index 94fb939..ad99d5a 100644 --- a/lib/plex_ruby_sdk/models/operations/getstatistics_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getstatistics_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetStatisticsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetStatisticsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getstatistics_device.rb b/lib/plex_ruby_sdk/models/operations/getstatistics_device.rb index d470c39..b3aab1b 100644 --- a/lib/plex_ruby_sdk/models/operations/getstatistics_device.rb +++ b/lib/plex_ruby_sdk/models/operations/getstatistics_device.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetStatisticsDevice < ::PlexRubySDK::Utils::FieldAugmented + class GetStatisticsDevice < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getstatistics_errors.rb b/lib/plex_ruby_sdk/models/operations/getstatistics_errors.rb index 6d84a34..c9cf610 100644 --- a/lib/plex_ruby_sdk/models/operations/getstatistics_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getstatistics_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetStatisticsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetStatisticsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getstatistics_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getstatistics_mediacontainer.rb index d97d938..99fb2a6 100644 --- a/lib/plex_ruby_sdk/models/operations/getstatistics_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getstatistics_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetStatisticsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetStatisticsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getstatistics_request.rb b/lib/plex_ruby_sdk/models/operations/getstatistics_request.rb index 91bdac3..a239230 100644 --- a/lib/plex_ruby_sdk/models/operations/getstatistics_request.rb +++ b/lib/plex_ruby_sdk/models/operations/getstatistics_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetStatisticsRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetStatisticsRequest < ::Crystalline::FieldAugmented extend T::Sig # The timespan to retrieve statistics for diff --git a/lib/plex_ruby_sdk/models/operations/getstatistics_response.rb b/lib/plex_ruby_sdk/models/operations/getstatistics_response.rb index 04a45c8..851e646 100644 --- a/lib/plex_ruby_sdk/models/operations/getstatistics_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getstatistics_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetStatisticsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetStatisticsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getstatistics_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getstatistics_responsebody.rb index 27609ca..5f92908 100644 --- a/lib/plex_ruby_sdk/models/operations/getstatistics_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getstatistics_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Media Statistics - class GetStatisticsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetStatisticsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getstatistics_statistics_errors.rb b/lib/plex_ruby_sdk/models/operations/getstatistics_statistics_errors.rb index 69cb743..56ea80f 100644 --- a/lib/plex_ruby_sdk/models/operations/getstatistics_statistics_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getstatistics_statistics_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetStatisticsStatisticsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetStatisticsStatisticsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getstatistics_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getstatistics_unauthorized.rb index c0dcdd1..7c65c45 100644 --- a/lib/plex_ruby_sdk/models/operations/getstatistics_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getstatistics_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetStatisticsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetStatisticsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettimeline_badrequest.rb b/lib/plex_ruby_sdk/models/operations/gettimeline_badrequest.rb index c18b144..de4113d 100644 --- a/lib/plex_ruby_sdk/models/operations/gettimeline_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/gettimeline_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetTimelineBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetTimelineBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettimeline_errors.rb b/lib/plex_ruby_sdk/models/operations/gettimeline_errors.rb index 9805457..b2e4a35 100644 --- a/lib/plex_ruby_sdk/models/operations/gettimeline_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettimeline_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTimelineErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTimelineErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettimeline_request.rb b/lib/plex_ruby_sdk/models/operations/gettimeline_request.rb index f82a35f..98da4f6 100644 --- a/lib/plex_ruby_sdk/models/operations/gettimeline_request.rb +++ b/lib/plex_ruby_sdk/models/operations/gettimeline_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTimelineRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetTimelineRequest < ::Crystalline::FieldAugmented extend T::Sig # The context of the media item diff --git a/lib/plex_ruby_sdk/models/operations/gettimeline_response.rb b/lib/plex_ruby_sdk/models/operations/gettimeline_response.rb index cc7b0a2..be46966 100644 --- a/lib/plex_ruby_sdk/models/operations/gettimeline_response.rb +++ b/lib/plex_ruby_sdk/models/operations/gettimeline_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTimelineResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetTimelineResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/gettimeline_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/gettimeline_unauthorized.rb index 8823daa..7710610 100644 --- a/lib/plex_ruby_sdk/models/operations/gettimeline_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/gettimeline_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetTimelineUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetTimelineUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettimeline_video_errors.rb b/lib/plex_ruby_sdk/models/operations/gettimeline_video_errors.rb index 6fd44cf..cd77f82 100644 --- a/lib/plex_ruby_sdk/models/operations/gettimeline_video_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettimeline_video_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTimelineVideoErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTimelineVideoErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb index 4a00df1..8bb705e 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_authpincontainer.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # The Pin with a non-null authToken when it has been verified by the user - class GetTokenByPinIdAuthPinContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenByPinIdAuthPinContainer < ::Crystalline::FieldAugmented extend T::Sig # The X-Client-Identifier used in the request diff --git a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_badrequest.rb b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_badrequest.rb index c9d2d36..9d50ccb 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_badrequest.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetTokenByPinIdBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenByPinIdBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_errors.rb b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_errors.rb index dc5e76e..17508e8 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetTokenByPinIdErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenByPinIdErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb index 6d01ee5..9d0c068 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Geo location data - class GetTokenByPinIdGeoData < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenByPinIdGeoData < ::Crystalline::FieldAugmented extend T::Sig # The name of the city. diff --git a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_plex_errors.rb b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_plex_errors.rb index a775aeb..5d03d7b 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_plex_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_plex_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetTokenByPinIdPlexErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenByPinIdPlexErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_request.rb b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_request.rb index 3970172..bd70a67 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_request.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_request.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetTokenByPinIdRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenByPinIdRequest < ::Crystalline::FieldAugmented extend T::Sig # An opaque identifier unique to the client (UUID, serial number, or other unique device ID) diff --git a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_response.rb b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_response.rb index 84482ee..e08afc4 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_response.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_response.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetTokenByPinIdResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenByPinIdResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_responsebody.rb b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_responsebody.rb index d11adcc..4933df8 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokenbypinid_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokenbypinid_responsebody.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Not Found or Expired - class GetTokenByPinIdResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenByPinIdResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_errors.rb b/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_errors.rb index 799c9d7..44654cb 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokendetails_authentication_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetTokenDetailsAuthenticationErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenDetailsAuthenticationErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettokendetails_badrequest.rb b/lib/plex_ruby_sdk/models/operations/gettokendetails_badrequest.rb index 55e3e3e..fbdb5de 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokendetails_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokendetails_badrequest.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetTokenDetailsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenDetailsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettokendetails_errors.rb b/lib/plex_ruby_sdk/models/operations/gettokendetails_errors.rb index 7fc0b46..c460133 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokendetails_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokendetails_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetTokenDetailsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenDetailsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettokendetails_response.rb b/lib/plex_ruby_sdk/models/operations/gettokendetails_response.rb index b850137..78fd297 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokendetails_response.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokendetails_response.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetTokenDetailsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenDetailsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/gettokendetails_subscription.rb b/lib/plex_ruby_sdk/models/operations/gettokendetails_subscription.rb index c0af5a4..0e12dd6 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokendetails_subscription.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokendetails_subscription.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetTokenDetailsSubscription < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenDetailsSubscription < ::Crystalline::FieldAugmented extend T::Sig # If the account's Plex Pass subscription is active diff --git a/lib/plex_ruby_sdk/models/operations/gettokendetails_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/gettokendetails_unauthorized.rb index 95202dd..324ecb0 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokendetails_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokendetails_unauthorized.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetTokenDetailsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenDetailsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb b/lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb index 01b598b..d6ad5e2 100644 --- a/lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb +++ b/lib/plex_ruby_sdk/models/operations/gettokendetails_userplexaccount.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Logged in user details - class GetTokenDetailsUserPlexAccount < ::PlexRubySDK::Utils::FieldAugmented + class GetTokenDetailsUserPlexAccount < ::Crystalline::FieldAugmented extend T::Sig # Unknown @@ -80,8 +80,6 @@ module PlexRubySDK field :subscription, ::PlexRubySDK::Operations::Subscription, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscription') } } # Description of the Plex Pass subscription field :subscription_description, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptionDescription') } } - - field :subscriptions, T::Array[::PlexRubySDK::Operations::GetTokenDetailsSubscription], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptions') } } # URL of the account thumbnail field :thumb, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('thumb') } } # The title of the account (username or friendly name) @@ -99,9 +97,11 @@ module PlexRubySDK # [Might be removed] List of account roles. Plexpass membership listed here field :roles, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('roles') } } + field :subscriptions, T.nilable(T::Array[::PlexRubySDK::Operations::GetTokenDetailsSubscription]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptions') } } - sig { params(ads_consent: T::Boolean, ads_consent_reminder_at: ::Integer, ads_consent_set_at: ::Integer, 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 } - 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) + + sig { params(ads_consent: T::Boolean, ads_consent_reminder_at: ::Integer, ads_consent_set_at: ::Integer, 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, thumb: ::String, title: ::String, two_factor_enabled: T::Boolean, username: ::String, uuid: ::String, pin: T.nilable(::String), roles: T.nilable(T::Array[::String]), subscriptions: T.nilable(T::Array[::PlexRubySDK::Operations::GetTokenDetailsSubscription])).void } + 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, thumb: nil, title: nil, two_factor_enabled: nil, username: nil, uuid: nil, pin: nil, roles: nil, subscriptions: nil) @ads_consent = ads_consent @ads_consent_reminder_at = ads_consent_reminder_at @ads_consent_set_at = ads_consent_set_at @@ -135,7 +135,6 @@ module PlexRubySDK @services = services @subscription = subscription @subscription_description = subscription_description - @subscriptions = subscriptions @thumb = thumb @title = title @two_factor_enabled = two_factor_enabled @@ -143,6 +142,7 @@ module PlexRubySDK @uuid = uuid @pin = pin @roles = roles + @subscriptions = subscriptions end end end diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_badrequest.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_badrequest.rb index 3b52919..8652ea5 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetTopWatchedContentBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_country.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_country.rb index 517bd5e..b8e03ef 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_country.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_country.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentCountry < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentCountry < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_errors.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_errors.rb index b7a9193..a55ab21 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_genre.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_genre.rb index d834736..0c29fb5 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_genre.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_genre.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentGenre < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentGenre < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_guids.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_guids.rb index d164652..9d37d96 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_guids.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_guids.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentGuids < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentGuids < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_library_errors.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_library_errors.rb index 9ca75f2..a7b0943 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_library_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_library_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentLibraryErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentLibraryErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_mediacontainer.rb index 13cac75..7b458c6 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_metadata.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_metadata.rb index 66c8bb4..4edde1a 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_metadata.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentMetadata < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentMetadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_request.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_request.rb index c7ed98e..ae4301a 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_request.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentRequest < ::Crystalline::FieldAugmented extend T::Sig # The type of media to retrieve or filter by. diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_response.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_response.rb index cf6f9b9..2f993de 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_response.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_responsebody.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_responsebody.rb index cf2bfc3..8bba1d6 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The metadata of the library item. - class GetTopWatchedContentResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_role.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_role.rb index 741e89d..22f1b66 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_role.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_role.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentRole < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentRole < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_unauthorized.rb index dec6ffa..5cabe2f 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetTopWatchedContentUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_user.rb b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_user.rb index de74bdb..70e953d 100644 --- a/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_user.rb +++ b/lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_user.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTopWatchedContentUser < ::PlexRubySDK::Utils::FieldAugmented + class GetTopWatchedContentUser < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_badrequest.rb b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_badrequest.rb index 5ec9f00..408bf91 100644 --- a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetTranscodeSessionsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetTranscodeSessionsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_errors.rb b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_errors.rb index 709bea6..d68bf17 100644 --- a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTranscodeSessionsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTranscodeSessionsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_mediacontainer.rb index bd4995e..0dc3956 100644 --- a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTranscodeSessionsMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetTranscodeSessionsMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_response.rb b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_response.rb index 56099b2..ba10e46 100644 --- a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_response.rb +++ b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTranscodeSessionsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetTranscodeSessionsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_responsebody.rb b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_responsebody.rb index eaf49de..45b11e3 100644 --- a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The Transcode Sessions - class GetTranscodeSessionsResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetTranscodeSessionsResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_sessions_errors.rb b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_sessions_errors.rb index 326ec66..d59f77d 100644 --- a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_sessions_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_sessions_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTranscodeSessionsSessionsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTranscodeSessionsSessionsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_unauthorized.rb index f3e3b4c..f883bc2 100644 --- a/lib/plex_ruby_sdk/models/operations/gettranscodesessions_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/gettranscodesessions_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetTranscodeSessionsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetTranscodeSessionsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettransienttoken_authentication_errors.rb b/lib/plex_ruby_sdk/models/operations/gettransienttoken_authentication_errors.rb index cd71b99..70dc83d 100644 --- a/lib/plex_ruby_sdk/models/operations/gettransienttoken_authentication_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettransienttoken_authentication_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTransientTokenAuthenticationErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTransientTokenAuthenticationErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettransienttoken_badrequest.rb b/lib/plex_ruby_sdk/models/operations/gettransienttoken_badrequest.rb index e5f2af2..5bbfd47 100644 --- a/lib/plex_ruby_sdk/models/operations/gettransienttoken_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/gettransienttoken_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetTransientTokenBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetTransientTokenBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettransienttoken_errors.rb b/lib/plex_ruby_sdk/models/operations/gettransienttoken_errors.rb index 3834368..dfe4528 100644 --- a/lib/plex_ruby_sdk/models/operations/gettransienttoken_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/gettransienttoken_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTransientTokenErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetTransientTokenErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/gettransienttoken_request.rb b/lib/plex_ruby_sdk/models/operations/gettransienttoken_request.rb index fc53d2b..4b5e8ea 100644 --- a/lib/plex_ruby_sdk/models/operations/gettransienttoken_request.rb +++ b/lib/plex_ruby_sdk/models/operations/gettransienttoken_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTransientTokenRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetTransientTokenRequest < ::Crystalline::FieldAugmented extend T::Sig # `all` - This is the only supported `scope` parameter. diff --git a/lib/plex_ruby_sdk/models/operations/gettransienttoken_response.rb b/lib/plex_ruby_sdk/models/operations/gettransienttoken_response.rb index f192f9e..de99622 100644 --- a/lib/plex_ruby_sdk/models/operations/gettransienttoken_response.rb +++ b/lib/plex_ruby_sdk/models/operations/gettransienttoken_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetTransientTokenResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetTransientTokenResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/gettransienttoken_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/gettransienttoken_unauthorized.rb index 48439b7..818c7d2 100644 --- a/lib/plex_ruby_sdk/models/operations/gettransienttoken_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/gettransienttoken_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetTransientTokenUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetTransientTokenUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getupdatestatus_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getupdatestatus_badrequest.rb index 31a1c6a..c779ed7 100644 --- a/lib/plex_ruby_sdk/models/operations/getupdatestatus_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getupdatestatus_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetUpdateStatusBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetUpdateStatusBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getupdatestatus_errors.rb b/lib/plex_ruby_sdk/models/operations/getupdatestatus_errors.rb index 9dd9277..69114ed 100644 --- a/lib/plex_ruby_sdk/models/operations/getupdatestatus_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getupdatestatus_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetUpdateStatusErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetUpdateStatusErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getupdatestatus_mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/getupdatestatus_mediacontainer.rb index c1ef3de..7c4f03b 100644 --- a/lib/plex_ruby_sdk/models/operations/getupdatestatus_mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/getupdatestatus_mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetUpdateStatusMediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class GetUpdateStatusMediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getupdatestatus_response.rb b/lib/plex_ruby_sdk/models/operations/getupdatestatus_response.rb index 655d5af..c16a506 100644 --- a/lib/plex_ruby_sdk/models/operations/getupdatestatus_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getupdatestatus_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetUpdateStatusResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetUpdateStatusResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getupdatestatus_responsebody.rb b/lib/plex_ruby_sdk/models/operations/getupdatestatus_responsebody.rb index b8cdb68..61617ee 100644 --- a/lib/plex_ruby_sdk/models/operations/getupdatestatus_responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/getupdatestatus_responsebody.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # The Server Updates - class GetUpdateStatusResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class GetUpdateStatusResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getupdatestatus_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getupdatestatus_unauthorized.rb index 2dbabaa..751d6d2 100644 --- a/lib/plex_ruby_sdk/models/operations/getupdatestatus_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getupdatestatus_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetUpdateStatusUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetUpdateStatusUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getupdatestatus_updater_errors.rb b/lib/plex_ruby_sdk/models/operations/getupdatestatus_updater_errors.rb index afb3f88..04f582e 100644 --- a/lib/plex_ruby_sdk/models/operations/getupdatestatus_updater_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getupdatestatus_updater_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class GetUpdateStatusUpdaterErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetUpdateStatusUpdaterErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getuserfriends_badrequest.rb b/lib/plex_ruby_sdk/models/operations/getuserfriends_badrequest.rb index 4585e27..0ca402a 100644 --- a/lib/plex_ruby_sdk/models/operations/getuserfriends_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/getuserfriends_badrequest.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Bad Request - A parameter was not specified, or was specified incorrectly. - class GetUserFriendsBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class GetUserFriendsBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getuserfriends_errors.rb b/lib/plex_ruby_sdk/models/operations/getuserfriends_errors.rb index 1afe3d8..afbd77d 100644 --- a/lib/plex_ruby_sdk/models/operations/getuserfriends_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getuserfriends_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetUserFriendsErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetUserFriendsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getuserfriends_plex_errors.rb b/lib/plex_ruby_sdk/models/operations/getuserfriends_plex_errors.rb index cb21ba8..afd3f59 100644 --- a/lib/plex_ruby_sdk/models/operations/getuserfriends_plex_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/getuserfriends_plex_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetUserFriendsPlexErrors < ::PlexRubySDK::Utils::FieldAugmented + class GetUserFriendsPlexErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/getuserfriends_response.rb b/lib/plex_ruby_sdk/models/operations/getuserfriends_response.rb index 4ca7ffc..fe79459 100644 --- a/lib/plex_ruby_sdk/models/operations/getuserfriends_response.rb +++ b/lib/plex_ruby_sdk/models/operations/getuserfriends_response.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class GetUserFriendsResponse < ::PlexRubySDK::Utils::FieldAugmented + class GetUserFriendsResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/getuserfriends_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/getuserfriends_unauthorized.rb index beec08c..8386345 100644 --- a/lib/plex_ruby_sdk/models/operations/getuserfriends_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/getuserfriends_unauthorized.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class GetUserFriendsUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class GetUserFriendsUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/guids.rb b/lib/plex_ruby_sdk/models/operations/guids.rb index 9689b72..ff44fee 100644 --- a/lib/plex_ruby_sdk/models/operations/guids.rb +++ b/lib/plex_ruby_sdk/models/operations/guids.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Guids < ::PlexRubySDK::Utils::FieldAugmented + class Guids < ::Crystalline::FieldAugmented extend T::Sig # The unique identifier for the Guid. Can be imdb://tt0286347, tmdb://1763, tvdb://2337 diff --git a/lib/plex_ruby_sdk/models/operations/hub.rb b/lib/plex_ruby_sdk/models/operations/hub.rb index 0956399..4d1c28d 100644 --- a/lib/plex_ruby_sdk/models/operations/hub.rb +++ b/lib/plex_ruby_sdk/models/operations/hub.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Hub < ::PlexRubySDK::Utils::FieldAugmented + class Hub < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/image.rb b/lib/plex_ruby_sdk/models/operations/image.rb index 066a3e1..5dd2a35 100644 --- a/lib/plex_ruby_sdk/models/operations/image.rb +++ b/lib/plex_ruby_sdk/models/operations/image.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class Image < ::PlexRubySDK::Utils::FieldAugmented + class Image < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/internalpaymentmethod.rb b/lib/plex_ruby_sdk/models/operations/internalpaymentmethod.rb index 1b1b425..ff5e985 100644 --- a/lib/plex_ruby_sdk/models/operations/internalpaymentmethod.rb +++ b/lib/plex_ruby_sdk/models/operations/internalpaymentmethod.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class InternalPaymentMethod < ::PlexRubySDK::Utils::FieldAugmented + class InternalPaymentMethod < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/location.rb b/lib/plex_ruby_sdk/models/operations/location.rb index ccc5762..3bc84f1 100644 --- a/lib/plex_ruby_sdk/models/operations/location.rb +++ b/lib/plex_ruby_sdk/models/operations/location.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Location < ::PlexRubySDK::Utils::FieldAugmented + class Location < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/logline_badrequest.rb b/lib/plex_ruby_sdk/models/operations/logline_badrequest.rb index be0d0d8..4ab33e5 100644 --- a/lib/plex_ruby_sdk/models/operations/logline_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/logline_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class LogLineBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class LogLineBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/logline_errors.rb b/lib/plex_ruby_sdk/models/operations/logline_errors.rb index e85954f..22f3ccb 100644 --- a/lib/plex_ruby_sdk/models/operations/logline_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/logline_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class LogLineErrors < ::PlexRubySDK::Utils::FieldAugmented + class LogLineErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/logline_log_errors.rb b/lib/plex_ruby_sdk/models/operations/logline_log_errors.rb index 07ca7ca..7a26d77 100644 --- a/lib/plex_ruby_sdk/models/operations/logline_log_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/logline_log_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class LogLineLogErrors < ::PlexRubySDK::Utils::FieldAugmented + class LogLineLogErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/logline_request.rb b/lib/plex_ruby_sdk/models/operations/logline_request.rb index 13dd186..a0a3de1 100644 --- a/lib/plex_ruby_sdk/models/operations/logline_request.rb +++ b/lib/plex_ruby_sdk/models/operations/logline_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class LogLineRequest < ::PlexRubySDK::Utils::FieldAugmented + class LogLineRequest < ::Crystalline::FieldAugmented extend T::Sig # An integer log level to write to the PMS log with. diff --git a/lib/plex_ruby_sdk/models/operations/logline_response.rb b/lib/plex_ruby_sdk/models/operations/logline_response.rb index f09f3a2..2f527e0 100644 --- a/lib/plex_ruby_sdk/models/operations/logline_response.rb +++ b/lib/plex_ruby_sdk/models/operations/logline_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class LogLineResponse < ::PlexRubySDK::Utils::FieldAugmented + class LogLineResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/logline_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/logline_unauthorized.rb index 81400b9..51a6274 100644 --- a/lib/plex_ruby_sdk/models/operations/logline_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/logline_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class LogLineUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class LogLineUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/logmultiline_badrequest.rb b/lib/plex_ruby_sdk/models/operations/logmultiline_badrequest.rb index 9a2049e..ceec837 100644 --- a/lib/plex_ruby_sdk/models/operations/logmultiline_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/logmultiline_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class LogMultiLineBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class LogMultiLineBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/logmultiline_errors.rb b/lib/plex_ruby_sdk/models/operations/logmultiline_errors.rb index 28456c1..34dde9d 100644 --- a/lib/plex_ruby_sdk/models/operations/logmultiline_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/logmultiline_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class LogMultiLineErrors < ::PlexRubySDK::Utils::FieldAugmented + class LogMultiLineErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/logmultiline_log_errors.rb b/lib/plex_ruby_sdk/models/operations/logmultiline_log_errors.rb index 36ce793..74f0464 100644 --- a/lib/plex_ruby_sdk/models/operations/logmultiline_log_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/logmultiline_log_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class LogMultiLineLogErrors < ::PlexRubySDK::Utils::FieldAugmented + class LogMultiLineLogErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/logmultiline_response.rb b/lib/plex_ruby_sdk/models/operations/logmultiline_response.rb index f17e594..f0cc096 100644 --- a/lib/plex_ruby_sdk/models/operations/logmultiline_response.rb +++ b/lib/plex_ruby_sdk/models/operations/logmultiline_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class LogMultiLineResponse < ::PlexRubySDK::Utils::FieldAugmented + class LogMultiLineResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/logmultiline_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/logmultiline_unauthorized.rb index a74af30..3bb950a 100644 --- a/lib/plex_ruby_sdk/models/operations/logmultiline_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/logmultiline_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class LogMultiLineUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class LogMultiLineUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/markplayed_badrequest.rb b/lib/plex_ruby_sdk/models/operations/markplayed_badrequest.rb index dd5f072..e74ec46 100644 --- a/lib/plex_ruby_sdk/models/operations/markplayed_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/markplayed_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class MarkPlayedBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class MarkPlayedBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/markplayed_errors.rb b/lib/plex_ruby_sdk/models/operations/markplayed_errors.rb index 59099a9..b901fc7 100644 --- a/lib/plex_ruby_sdk/models/operations/markplayed_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/markplayed_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MarkPlayedErrors < ::PlexRubySDK::Utils::FieldAugmented + class MarkPlayedErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/markplayed_media_errors.rb b/lib/plex_ruby_sdk/models/operations/markplayed_media_errors.rb index aebbd23..06ce3b3 100644 --- a/lib/plex_ruby_sdk/models/operations/markplayed_media_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/markplayed_media_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MarkPlayedMediaErrors < ::PlexRubySDK::Utils::FieldAugmented + class MarkPlayedMediaErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/markplayed_request.rb b/lib/plex_ruby_sdk/models/operations/markplayed_request.rb index ede68d3..75918f7 100644 --- a/lib/plex_ruby_sdk/models/operations/markplayed_request.rb +++ b/lib/plex_ruby_sdk/models/operations/markplayed_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MarkPlayedRequest < ::PlexRubySDK::Utils::FieldAugmented + class MarkPlayedRequest < ::Crystalline::FieldAugmented extend T::Sig # The media key to mark as played diff --git a/lib/plex_ruby_sdk/models/operations/markplayed_response.rb b/lib/plex_ruby_sdk/models/operations/markplayed_response.rb index ed7ab10..9d5ef9c 100644 --- a/lib/plex_ruby_sdk/models/operations/markplayed_response.rb +++ b/lib/plex_ruby_sdk/models/operations/markplayed_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MarkPlayedResponse < ::PlexRubySDK::Utils::FieldAugmented + class MarkPlayedResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/markplayed_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/markplayed_unauthorized.rb index bd57bc7..8b74b01 100644 --- a/lib/plex_ruby_sdk/models/operations/markplayed_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/markplayed_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class MarkPlayedUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class MarkPlayedUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/markunplayed_badrequest.rb b/lib/plex_ruby_sdk/models/operations/markunplayed_badrequest.rb index 5a4332d..ae9e1e5 100644 --- a/lib/plex_ruby_sdk/models/operations/markunplayed_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/markunplayed_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class MarkUnplayedBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class MarkUnplayedBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/markunplayed_errors.rb b/lib/plex_ruby_sdk/models/operations/markunplayed_errors.rb index 4ce07bc..d0e891f 100644 --- a/lib/plex_ruby_sdk/models/operations/markunplayed_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/markunplayed_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MarkUnplayedErrors < ::PlexRubySDK::Utils::FieldAugmented + class MarkUnplayedErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/markunplayed_media_errors.rb b/lib/plex_ruby_sdk/models/operations/markunplayed_media_errors.rb index 6f331f2..e9d315c 100644 --- a/lib/plex_ruby_sdk/models/operations/markunplayed_media_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/markunplayed_media_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MarkUnplayedMediaErrors < ::PlexRubySDK::Utils::FieldAugmented + class MarkUnplayedMediaErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/markunplayed_request.rb b/lib/plex_ruby_sdk/models/operations/markunplayed_request.rb index f1f5117..ce93185 100644 --- a/lib/plex_ruby_sdk/models/operations/markunplayed_request.rb +++ b/lib/plex_ruby_sdk/models/operations/markunplayed_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MarkUnplayedRequest < ::PlexRubySDK::Utils::FieldAugmented + class MarkUnplayedRequest < ::Crystalline::FieldAugmented extend T::Sig # The media key to mark as Unplayed diff --git a/lib/plex_ruby_sdk/models/operations/markunplayed_response.rb b/lib/plex_ruby_sdk/models/operations/markunplayed_response.rb index 2b3fb41..b58917a 100644 --- a/lib/plex_ruby_sdk/models/operations/markunplayed_response.rb +++ b/lib/plex_ruby_sdk/models/operations/markunplayed_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MarkUnplayedResponse < ::PlexRubySDK::Utils::FieldAugmented + class MarkUnplayedResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/markunplayed_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/markunplayed_unauthorized.rb index ccfbbbb..294ddf5 100644 --- a/lib/plex_ruby_sdk/models/operations/markunplayed_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/markunplayed_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class MarkUnplayedUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class MarkUnplayedUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/media.rb b/lib/plex_ruby_sdk/models/operations/media.rb index d87bca1..2b71e7d 100644 --- a/lib/plex_ruby_sdk/models/operations/media.rb +++ b/lib/plex_ruby_sdk/models/operations/media.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Media < ::PlexRubySDK::Utils::FieldAugmented + class Media < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/mediacontainer.rb b/lib/plex_ruby_sdk/models/operations/mediacontainer.rb index 337f1fc..d4db357 100644 --- a/lib/plex_ruby_sdk/models/operations/mediacontainer.rb +++ b/lib/plex_ruby_sdk/models/operations/mediacontainer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MediaContainer < ::PlexRubySDK::Utils::FieldAugmented + class MediaContainer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/mediaguid.rb b/lib/plex_ruby_sdk/models/operations/mediaguid.rb index 2b7f897..a7db495 100644 --- a/lib/plex_ruby_sdk/models/operations/mediaguid.rb +++ b/lib/plex_ruby_sdk/models/operations/mediaguid.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MediaGuid < ::PlexRubySDK::Utils::FieldAugmented + class MediaGuid < ::Crystalline::FieldAugmented extend T::Sig # Can be one of the following formats: diff --git a/lib/plex_ruby_sdk/models/operations/mediaprovider.rb b/lib/plex_ruby_sdk/models/operations/mediaprovider.rb index 3e3c026..495912e 100644 --- a/lib/plex_ruby_sdk/models/operations/mediaprovider.rb +++ b/lib/plex_ruby_sdk/models/operations/mediaprovider.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MediaProvider < ::PlexRubySDK::Utils::FieldAugmented + class MediaProvider < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/meta.rb b/lib/plex_ruby_sdk/models/operations/meta.rb index 6d837e0..f37bed1 100644 --- a/lib/plex_ruby_sdk/models/operations/meta.rb +++ b/lib/plex_ruby_sdk/models/operations/meta.rb @@ -9,7 +9,7 @@ module PlexRubySDK # The Meta object is only included in the response if the `includeMeta` parameter is set to `1`. # - class Meta < ::PlexRubySDK::Utils::FieldAugmented + class Meta < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/metadata.rb b/lib/plex_ruby_sdk/models/operations/metadata.rb index 963cf94..687ce91 100644 --- a/lib/plex_ruby_sdk/models/operations/metadata.rb +++ b/lib/plex_ruby_sdk/models/operations/metadata.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class Metadata < ::PlexRubySDK::Utils::FieldAugmented + class Metadata < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/metadatarating.rb b/lib/plex_ruby_sdk/models/operations/metadatarating.rb index 16562e9..97c3852 100644 --- a/lib/plex_ruby_sdk/models/operations/metadatarating.rb +++ b/lib/plex_ruby_sdk/models/operations/metadatarating.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MetaDataRating < ::PlexRubySDK::Utils::FieldAugmented + class MetaDataRating < ::Crystalline::FieldAugmented extend T::Sig # A URI or path to the rating image. diff --git a/lib/plex_ruby_sdk/models/operations/myplex.rb b/lib/plex_ruby_sdk/models/operations/myplex.rb index e7daa30..0d12c24 100644 --- a/lib/plex_ruby_sdk/models/operations/myplex.rb +++ b/lib/plex_ruby_sdk/models/operations/myplex.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class MyPlex < ::PlexRubySDK::Utils::FieldAugmented + class MyPlex < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/operator.rb b/lib/plex_ruby_sdk/models/operations/operator.rb index aadd04f..762bda7 100644 --- a/lib/plex_ruby_sdk/models/operations/operator.rb +++ b/lib/plex_ruby_sdk/models/operations/operator.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Operator < ::PlexRubySDK::Utils::FieldAugmented + class Operator < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/part.rb b/lib/plex_ruby_sdk/models/operations/part.rb index 6f78bc3..f66237d 100644 --- a/lib/plex_ruby_sdk/models/operations/part.rb +++ b/lib/plex_ruby_sdk/models/operations/part.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Part < ::PlexRubySDK::Utils::FieldAugmented + class Part < ::Crystalline::FieldAugmented extend T::Sig # The container format of the media file. diff --git a/lib/plex_ruby_sdk/models/operations/pastsubscription.rb b/lib/plex_ruby_sdk/models/operations/pastsubscription.rb index 5dc7950..98dda5d 100644 --- a/lib/plex_ruby_sdk/models/operations/pastsubscription.rb +++ b/lib/plex_ruby_sdk/models/operations/pastsubscription.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class PastSubscription < ::PlexRubySDK::Utils::FieldAugmented + class PastSubscription < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/performsearch_badrequest.rb b/lib/plex_ruby_sdk/models/operations/performsearch_badrequest.rb index 85d8e6a..5a59fad 100644 --- a/lib/plex_ruby_sdk/models/operations/performsearch_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/performsearch_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class PerformSearchBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class PerformSearchBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/performsearch_errors.rb b/lib/plex_ruby_sdk/models/operations/performsearch_errors.rb index 89d9b9a..1fef037 100644 --- a/lib/plex_ruby_sdk/models/operations/performsearch_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/performsearch_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class PerformSearchErrors < ::PlexRubySDK::Utils::FieldAugmented + class PerformSearchErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/performsearch_request.rb b/lib/plex_ruby_sdk/models/operations/performsearch_request.rb index 7e498e7..138cce1 100644 --- a/lib/plex_ruby_sdk/models/operations/performsearch_request.rb +++ b/lib/plex_ruby_sdk/models/operations/performsearch_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class PerformSearchRequest < ::PlexRubySDK::Utils::FieldAugmented + class PerformSearchRequest < ::Crystalline::FieldAugmented extend T::Sig # The query term diff --git a/lib/plex_ruby_sdk/models/operations/performsearch_response.rb b/lib/plex_ruby_sdk/models/operations/performsearch_response.rb index 64d6659..53289e2 100644 --- a/lib/plex_ruby_sdk/models/operations/performsearch_response.rb +++ b/lib/plex_ruby_sdk/models/operations/performsearch_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class PerformSearchResponse < ::PlexRubySDK::Utils::FieldAugmented + class PerformSearchResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/performsearch_search_errors.rb b/lib/plex_ruby_sdk/models/operations/performsearch_search_errors.rb index dd7afc5..34a1dd3 100644 --- a/lib/plex_ruby_sdk/models/operations/performsearch_search_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/performsearch_search_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class PerformSearchSearchErrors < ::PlexRubySDK::Utils::FieldAugmented + class PerformSearchSearchErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/performsearch_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/performsearch_unauthorized.rb index c81811a..47d039b 100644 --- a/lib/plex_ruby_sdk/models/operations/performsearch_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/performsearch_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class PerformSearchUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class PerformSearchUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/performvoicesearch_badrequest.rb b/lib/plex_ruby_sdk/models/operations/performvoicesearch_badrequest.rb index 88b9de1..aad9e14 100644 --- a/lib/plex_ruby_sdk/models/operations/performvoicesearch_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/performvoicesearch_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class PerformVoiceSearchBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class PerformVoiceSearchBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/performvoicesearch_errors.rb b/lib/plex_ruby_sdk/models/operations/performvoicesearch_errors.rb index c645ea2..1c58a89 100644 --- a/lib/plex_ruby_sdk/models/operations/performvoicesearch_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/performvoicesearch_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class PerformVoiceSearchErrors < ::PlexRubySDK::Utils::FieldAugmented + class PerformVoiceSearchErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/performvoicesearch_request.rb b/lib/plex_ruby_sdk/models/operations/performvoicesearch_request.rb index 542b1a5..8034b3d 100644 --- a/lib/plex_ruby_sdk/models/operations/performvoicesearch_request.rb +++ b/lib/plex_ruby_sdk/models/operations/performvoicesearch_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class PerformVoiceSearchRequest < ::PlexRubySDK::Utils::FieldAugmented + class PerformVoiceSearchRequest < ::Crystalline::FieldAugmented extend T::Sig # The query term diff --git a/lib/plex_ruby_sdk/models/operations/performvoicesearch_response.rb b/lib/plex_ruby_sdk/models/operations/performvoicesearch_response.rb index 98d59a0..336dbb9 100644 --- a/lib/plex_ruby_sdk/models/operations/performvoicesearch_response.rb +++ b/lib/plex_ruby_sdk/models/operations/performvoicesearch_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class PerformVoiceSearchResponse < ::PlexRubySDK::Utils::FieldAugmented + class PerformVoiceSearchResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/performvoicesearch_search_errors.rb b/lib/plex_ruby_sdk/models/operations/performvoicesearch_search_errors.rb index 39555e7..d62eafc 100644 --- a/lib/plex_ruby_sdk/models/operations/performvoicesearch_search_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/performvoicesearch_search_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class PerformVoiceSearchSearchErrors < ::PlexRubySDK::Utils::FieldAugmented + class PerformVoiceSearchSearchErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/performvoicesearch_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/performvoicesearch_unauthorized.rb index 1ba9af0..fe80f03 100644 --- a/lib/plex_ruby_sdk/models/operations/performvoicesearch_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/performvoicesearch_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class PerformVoiceSearchUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class PerformVoiceSearchUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/pivot.rb b/lib/plex_ruby_sdk/models/operations/pivot.rb index 31fd3fa..f25d8f9 100644 --- a/lib/plex_ruby_sdk/models/operations/pivot.rb +++ b/lib/plex_ruby_sdk/models/operations/pivot.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Pivot < ::PlexRubySDK::Utils::FieldAugmented + class Pivot < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/player.rb b/lib/plex_ruby_sdk/models/operations/player.rb index 6ab0c4d..135936d 100644 --- a/lib/plex_ruby_sdk/models/operations/player.rb +++ b/lib/plex_ruby_sdk/models/operations/player.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Player < ::PlexRubySDK::Utils::FieldAugmented + class Player < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/plexdevice.rb b/lib/plex_ruby_sdk/models/operations/plexdevice.rb index 1ac62cd..562964a 100644 --- a/lib/plex_ruby_sdk/models/operations/plexdevice.rb +++ b/lib/plex_ruby_sdk/models/operations/plexdevice.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class PlexDevice < ::PlexRubySDK::Utils::FieldAugmented + class PlexDevice < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_errors.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_errors.rb index f302b4e..6d6724c 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class PostUsersSignInDataAuthenticationErrors < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataAuthenticationErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_subscription.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_subscription.rb index a9c5779..9dcd657 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_subscription.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_authentication_subscription.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class PostUsersSignInDataAuthenticationSubscription < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataAuthenticationSubscription < ::Crystalline::FieldAugmented extend T::Sig # If the account's Plex Pass subscription is active diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_badrequest.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_badrequest.rb index 4a4b6bc..1310f0d 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_badrequest.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Bad Request - A parameter was not specified, or was specified incorrectly. - class PostUsersSignInDataBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_errors.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_errors.rb index d49c84b..a0b7283 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_errors.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class PostUsersSignInDataErrors < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_request.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_request.rb index 96cc1c8..d976177 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_request.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_request.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class PostUsersSignInDataRequest < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataRequest < ::Crystalline::FieldAugmented extend T::Sig # An opaque identifier unique to the client (UUID, serial number, or other unique device ID) diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_requestbody.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_requestbody.rb index 9fb687b..ca6d250 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_requestbody.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_requestbody.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Login credentials - class PostUsersSignInDataRequestBody < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataRequestBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_response.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_response.rb index 6058f58..73a9d82 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_response.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_response.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class PostUsersSignInDataResponse < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_services.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_services.rb index de04c63..6a091fd 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_services.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_services.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class PostUsersSignInDataServices < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataServices < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_subscription.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_subscription.rb index b742c3c..f2b334b 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_subscription.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_subscription.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # If the account’s Plex Pass subscription is active - class PostUsersSignInDataSubscription < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataSubscription < ::Crystalline::FieldAugmented extend T::Sig # If the account's Plex Pass subscription is active diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_unauthorized.rb index 637fd2d..3e6bd8f 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_unauthorized.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class PostUsersSignInDataUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userplexaccount.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userplexaccount.rb index 52bcb29..52528db 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userplexaccount.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userplexaccount.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # Returns the user account data with a valid auth token - class PostUsersSignInDataUserPlexAccount < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataUserPlexAccount < ::Crystalline::FieldAugmented extend T::Sig # Unknown @@ -82,8 +82,6 @@ module PlexRubySDK field :subscription, ::PlexRubySDK::Operations::PostUsersSignInDataSubscription, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscription') } } # Description of the Plex Pass subscription field :subscription_description, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptionDescription') } } - - field :subscriptions, T::Array[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationSubscription], { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptions') } } # URL of the account thumbnail field :thumb, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('thumb') } } # The title of the account (username or friendly name) @@ -103,9 +101,11 @@ module PlexRubySDK # [Might be removed] List of account roles. Plexpass membership listed here field :roles, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('roles') } } + field :subscriptions, T.nilable(T::Array[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationSubscription]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subscriptions') } } - sig { params(ads_consent: T::Boolean, ads_consent_reminder_at: ::Integer, ads_consent_set_at: ::Integer, 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 } - 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) + + sig { params(ads_consent: T::Boolean, ads_consent_reminder_at: ::Integer, ads_consent_set_at: ::Integer, 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, 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]), subscriptions: T.nilable(T::Array[::PlexRubySDK::Operations::PostUsersSignInDataAuthenticationSubscription])).void } + 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, thumb: nil, title: nil, trials: nil, two_factor_enabled: nil, username: nil, uuid: nil, pin: nil, roles: nil, subscriptions: nil) @ads_consent = ads_consent @ads_consent_reminder_at = ads_consent_reminder_at @ads_consent_set_at = ads_consent_set_at @@ -140,7 +140,6 @@ module PlexRubySDK @services = services @subscription = subscription @subscription_description = subscription_description - @subscriptions = subscriptions @thumb = thumb @title = title @trials = trials @@ -149,6 +148,7 @@ module PlexRubySDK @uuid = uuid @pin = pin @roles = roles + @subscriptions = subscriptions end end end diff --git a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userprofile.rb b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userprofile.rb index e946a50..e348d46 100644 --- a/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userprofile.rb +++ b/lib/plex_ruby_sdk/models/operations/post_users_sign_in_data_userprofile.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class PostUsersSignInDataUserProfile < ::PlexRubySDK::Utils::FieldAugmented + class PostUsersSignInDataUserProfile < ::Crystalline::FieldAugmented extend T::Sig # If the account has automatically select audio and subtitle tracks enabled diff --git a/lib/plex_ruby_sdk/models/operations/producer.rb b/lib/plex_ruby_sdk/models/operations/producer.rb index b3a41bc..9191137 100644 --- a/lib/plex_ruby_sdk/models/operations/producer.rb +++ b/lib/plex_ruby_sdk/models/operations/producer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Producer < ::PlexRubySDK::Utils::FieldAugmented + class Producer < ::Crystalline::FieldAugmented extend T::Sig # The filter string for the role. diff --git a/lib/plex_ruby_sdk/models/operations/provider.rb b/lib/plex_ruby_sdk/models/operations/provider.rb index 8a6575b..229eedd 100644 --- a/lib/plex_ruby_sdk/models/operations/provider.rb +++ b/lib/plex_ruby_sdk/models/operations/provider.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Provider < ::PlexRubySDK::Utils::FieldAugmented + class Provider < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/queryparam_filter.rb b/lib/plex_ruby_sdk/models/operations/queryparam_filter.rb index 0e41dd6..7017490 100644 --- a/lib/plex_ruby_sdk/models/operations/queryparam_filter.rb +++ b/lib/plex_ruby_sdk/models/operations/queryparam_filter.rb @@ -10,7 +10,7 @@ module PlexRubySDK # Filters content by field and direction/equality # (Unknown if viewedAt is the only supported column) # - class QueryParamFilter < ::PlexRubySDK::Utils::FieldAugmented + class QueryParamFilter < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/ratings.rb b/lib/plex_ruby_sdk/models/operations/ratings.rb index 9005c2b..73ed237 100644 --- a/lib/plex_ruby_sdk/models/operations/ratings.rb +++ b/lib/plex_ruby_sdk/models/operations/ratings.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Ratings < ::PlexRubySDK::Utils::FieldAugmented + class Ratings < ::Crystalline::FieldAugmented extend T::Sig # The image or reference for the rating. diff --git a/lib/plex_ruby_sdk/models/operations/release.rb b/lib/plex_ruby_sdk/models/operations/release.rb index 8f5c190..ce175cf 100644 --- a/lib/plex_ruby_sdk/models/operations/release.rb +++ b/lib/plex_ruby_sdk/models/operations/release.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Release < ::PlexRubySDK::Utils::FieldAugmented + class Release < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/responsebody.rb b/lib/plex_ruby_sdk/models/operations/responsebody.rb index 35b49bc..b96af53 100644 --- a/lib/plex_ruby_sdk/models/operations/responsebody.rb +++ b/lib/plex_ruby_sdk/models/operations/responsebody.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class ResponseBody < ::PlexRubySDK::Utils::FieldAugmented + class ResponseBody < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/role.rb b/lib/plex_ruby_sdk/models/operations/role.rb index 30eaba2..b50a1e1 100644 --- a/lib/plex_ruby_sdk/models/operations/role.rb +++ b/lib/plex_ruby_sdk/models/operations/role.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Role < ::PlexRubySDK::Utils::FieldAugmented + class Role < ::Crystalline::FieldAugmented extend T::Sig # The filter used to find the actor or tag. diff --git a/lib/plex_ruby_sdk/models/operations/searchresult.rb b/lib/plex_ruby_sdk/models/operations/searchresult.rb index aa63f8c..6efb421 100644 --- a/lib/plex_ruby_sdk/models/operations/searchresult.rb +++ b/lib/plex_ruby_sdk/models/operations/searchresult.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class SearchResult < ::PlexRubySDK::Utils::FieldAugmented + class SearchResult < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/server.rb b/lib/plex_ruby_sdk/models/operations/server.rb index d2e545b..ab4a551 100644 --- a/lib/plex_ruby_sdk/models/operations/server.rb +++ b/lib/plex_ruby_sdk/models/operations/server.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Server < ::PlexRubySDK::Utils::FieldAugmented + class Server < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/services.rb b/lib/plex_ruby_sdk/models/operations/services.rb index 5b435c2..6b78b9c 100644 --- a/lib/plex_ruby_sdk/models/operations/services.rb +++ b/lib/plex_ruby_sdk/models/operations/services.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class Services < ::PlexRubySDK::Utils::FieldAugmented + class Services < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/session.rb b/lib/plex_ruby_sdk/models/operations/session.rb index cae6768..eb8c7d9 100644 --- a/lib/plex_ruby_sdk/models/operations/session.rb +++ b/lib/plex_ruby_sdk/models/operations/session.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Session < ::PlexRubySDK::Utils::FieldAugmented + class Session < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/setting.rb b/lib/plex_ruby_sdk/models/operations/setting.rb index 9c021bc..e06d1f7 100644 --- a/lib/plex_ruby_sdk/models/operations/setting.rb +++ b/lib/plex_ruby_sdk/models/operations/setting.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Setting < ::PlexRubySDK::Utils::FieldAugmented + class Setting < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/sharedservers.rb b/lib/plex_ruby_sdk/models/operations/sharedservers.rb index f317b86..b3c13c7 100644 --- a/lib/plex_ruby_sdk/models/operations/sharedservers.rb +++ b/lib/plex_ruby_sdk/models/operations/sharedservers.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class SharedServers < ::PlexRubySDK::Utils::FieldAugmented + class SharedServers < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/sharedsources.rb b/lib/plex_ruby_sdk/models/operations/sharedsources.rb index 24077ad..9e9b38c 100644 --- a/lib/plex_ruby_sdk/models/operations/sharedsources.rb +++ b/lib/plex_ruby_sdk/models/operations/sharedsources.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class SharedSources < ::PlexRubySDK::Utils::FieldAugmented + class SharedSources < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/similar.rb b/lib/plex_ruby_sdk/models/operations/similar.rb index eee36f2..0221432 100644 --- a/lib/plex_ruby_sdk/models/operations/similar.rb +++ b/lib/plex_ruby_sdk/models/operations/similar.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Similar < ::PlexRubySDK::Utils::FieldAugmented + class Similar < ::Crystalline::FieldAugmented extend T::Sig # The filter string for similar items. diff --git a/lib/plex_ruby_sdk/models/operations/sort.rb b/lib/plex_ruby_sdk/models/operations/sort.rb index d893be6..28a2cbf 100644 --- a/lib/plex_ruby_sdk/models/operations/sort.rb +++ b/lib/plex_ruby_sdk/models/operations/sort.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Sort < ::PlexRubySDK::Utils::FieldAugmented + class Sort < ::Crystalline::FieldAugmented extend T::Sig # The direction of the sort. Can be either `asc` or `desc`. diff --git a/lib/plex_ruby_sdk/models/operations/startalltasks_badrequest.rb b/lib/plex_ruby_sdk/models/operations/startalltasks_badrequest.rb index 6bab9a5..7b97f2d 100644 --- a/lib/plex_ruby_sdk/models/operations/startalltasks_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/startalltasks_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class StartAllTasksBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class StartAllTasksBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/startalltasks_butler_errors.rb b/lib/plex_ruby_sdk/models/operations/startalltasks_butler_errors.rb index f2d6250..b995c0f 100644 --- a/lib/plex_ruby_sdk/models/operations/startalltasks_butler_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/startalltasks_butler_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartAllTasksButlerErrors < ::PlexRubySDK::Utils::FieldAugmented + class StartAllTasksButlerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/startalltasks_errors.rb b/lib/plex_ruby_sdk/models/operations/startalltasks_errors.rb index b561e57..b3ef3b2 100644 --- a/lib/plex_ruby_sdk/models/operations/startalltasks_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/startalltasks_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartAllTasksErrors < ::PlexRubySDK::Utils::FieldAugmented + class StartAllTasksErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/startalltasks_response.rb b/lib/plex_ruby_sdk/models/operations/startalltasks_response.rb index edc4f31..f94ceff 100644 --- a/lib/plex_ruby_sdk/models/operations/startalltasks_response.rb +++ b/lib/plex_ruby_sdk/models/operations/startalltasks_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartAllTasksResponse < ::PlexRubySDK::Utils::FieldAugmented + class StartAllTasksResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/startalltasks_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/startalltasks_unauthorized.rb index dced047..d925287 100644 --- a/lib/plex_ruby_sdk/models/operations/startalltasks_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/startalltasks_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class StartAllTasksUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class StartAllTasksUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/starttask_badrequest.rb b/lib/plex_ruby_sdk/models/operations/starttask_badrequest.rb index cb601ce..a417945 100644 --- a/lib/plex_ruby_sdk/models/operations/starttask_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/starttask_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class StartTaskBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class StartTaskBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/starttask_butler_errors.rb b/lib/plex_ruby_sdk/models/operations/starttask_butler_errors.rb index 1fd8ddc..a15ad06 100644 --- a/lib/plex_ruby_sdk/models/operations/starttask_butler_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/starttask_butler_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartTaskButlerErrors < ::PlexRubySDK::Utils::FieldAugmented + class StartTaskButlerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/starttask_errors.rb b/lib/plex_ruby_sdk/models/operations/starttask_errors.rb index a35c60e..90b7a5e 100644 --- a/lib/plex_ruby_sdk/models/operations/starttask_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/starttask_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartTaskErrors < ::PlexRubySDK::Utils::FieldAugmented + class StartTaskErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/starttask_request.rb b/lib/plex_ruby_sdk/models/operations/starttask_request.rb index 78f0a7c..ba261bd 100644 --- a/lib/plex_ruby_sdk/models/operations/starttask_request.rb +++ b/lib/plex_ruby_sdk/models/operations/starttask_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartTaskRequest < ::PlexRubySDK::Utils::FieldAugmented + class StartTaskRequest < ::Crystalline::FieldAugmented extend T::Sig # the name of the task to be started. diff --git a/lib/plex_ruby_sdk/models/operations/starttask_response.rb b/lib/plex_ruby_sdk/models/operations/starttask_response.rb index 1fa656a..061751c 100644 --- a/lib/plex_ruby_sdk/models/operations/starttask_response.rb +++ b/lib/plex_ruby_sdk/models/operations/starttask_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartTaskResponse < ::PlexRubySDK::Utils::FieldAugmented + class StartTaskResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/starttask_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/starttask_unauthorized.rb index 23ecfad..f37af4e 100644 --- a/lib/plex_ruby_sdk/models/operations/starttask_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/starttask_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class StartTaskUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class StartTaskUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_badrequest.rb b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_badrequest.rb index f84c8cc..4a0887e 100644 --- a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class StartUniversalTranscodeBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class StartUniversalTranscodeBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_errors.rb b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_errors.rb index 660c739..02dbe7c 100644 --- a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartUniversalTranscodeErrors < ::PlexRubySDK::Utils::FieldAugmented + class StartUniversalTranscodeErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_request.rb b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_request.rb index ff9806e..12fc639 100644 --- a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_request.rb +++ b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartUniversalTranscodeRequest < ::PlexRubySDK::Utils::FieldAugmented + class StartUniversalTranscodeRequest < ::Crystalline::FieldAugmented extend T::Sig # Whether the media item has MDE diff --git a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_response.rb b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_response.rb index 2e4b80d..f0fe059 100644 --- a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_response.rb +++ b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartUniversalTranscodeResponse < ::PlexRubySDK::Utils::FieldAugmented + class StartUniversalTranscodeResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_unauthorized.rb index 16e4f39..f3f4e73 100644 --- a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class StartUniversalTranscodeUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class StartUniversalTranscodeUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_video_errors.rb b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_video_errors.rb index dd3294c..d8c32a4 100644 --- a/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_video_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/startuniversaltranscode_video_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StartUniversalTranscodeVideoErrors < ::PlexRubySDK::Utils::FieldAugmented + class StartUniversalTranscodeVideoErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/statisticsbandwidth.rb b/lib/plex_ruby_sdk/models/operations/statisticsbandwidth.rb index e7bc3a2..652b3b4 100644 --- a/lib/plex_ruby_sdk/models/operations/statisticsbandwidth.rb +++ b/lib/plex_ruby_sdk/models/operations/statisticsbandwidth.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StatisticsBandwidth < ::PlexRubySDK::Utils::FieldAugmented + class StatisticsBandwidth < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/statisticsmedia.rb b/lib/plex_ruby_sdk/models/operations/statisticsmedia.rb index b115299..7625499 100644 --- a/lib/plex_ruby_sdk/models/operations/statisticsmedia.rb +++ b/lib/plex_ruby_sdk/models/operations/statisticsmedia.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StatisticsMedia < ::PlexRubySDK::Utils::FieldAugmented + class StatisticsMedia < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/statisticsresources.rb b/lib/plex_ruby_sdk/models/operations/statisticsresources.rb index 1f94d3c..1e5791c 100644 --- a/lib/plex_ruby_sdk/models/operations/statisticsresources.rb +++ b/lib/plex_ruby_sdk/models/operations/statisticsresources.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StatisticsResources < ::PlexRubySDK::Utils::FieldAugmented + class StatisticsResources < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stopalltasks_badrequest.rb b/lib/plex_ruby_sdk/models/operations/stopalltasks_badrequest.rb index 152bae9..597eede 100644 --- a/lib/plex_ruby_sdk/models/operations/stopalltasks_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/stopalltasks_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class StopAllTasksBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class StopAllTasksBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stopalltasks_butler_errors.rb b/lib/plex_ruby_sdk/models/operations/stopalltasks_butler_errors.rb index cba0ed5..687d7b4 100644 --- a/lib/plex_ruby_sdk/models/operations/stopalltasks_butler_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/stopalltasks_butler_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopAllTasksButlerErrors < ::PlexRubySDK::Utils::FieldAugmented + class StopAllTasksButlerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stopalltasks_errors.rb b/lib/plex_ruby_sdk/models/operations/stopalltasks_errors.rb index 6f2bc1b..b44c5a7 100644 --- a/lib/plex_ruby_sdk/models/operations/stopalltasks_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/stopalltasks_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopAllTasksErrors < ::PlexRubySDK::Utils::FieldAugmented + class StopAllTasksErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stopalltasks_response.rb b/lib/plex_ruby_sdk/models/operations/stopalltasks_response.rb index 2cb3e1f..a4ae0c2 100644 --- a/lib/plex_ruby_sdk/models/operations/stopalltasks_response.rb +++ b/lib/plex_ruby_sdk/models/operations/stopalltasks_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopAllTasksResponse < ::PlexRubySDK::Utils::FieldAugmented + class StopAllTasksResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/stopalltasks_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/stopalltasks_unauthorized.rb index f812ff1..ba7d29a 100644 --- a/lib/plex_ruby_sdk/models/operations/stopalltasks_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/stopalltasks_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class StopAllTasksUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class StopAllTasksUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stoptask_badrequest.rb b/lib/plex_ruby_sdk/models/operations/stoptask_badrequest.rb index 15d80e9..5274e3d 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptask_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptask_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class StopTaskBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class StopTaskBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stoptask_butler_errors.rb b/lib/plex_ruby_sdk/models/operations/stoptask_butler_errors.rb index c25f626..47487ce 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptask_butler_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptask_butler_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopTaskButlerErrors < ::PlexRubySDK::Utils::FieldAugmented + class StopTaskButlerErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stoptask_errors.rb b/lib/plex_ruby_sdk/models/operations/stoptask_errors.rb index e6d4863..403e76b 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptask_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptask_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopTaskErrors < ::PlexRubySDK::Utils::FieldAugmented + class StopTaskErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stoptask_request.rb b/lib/plex_ruby_sdk/models/operations/stoptask_request.rb index f12473b..ff359f9 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptask_request.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptask_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopTaskRequest < ::PlexRubySDK::Utils::FieldAugmented + class StopTaskRequest < ::Crystalline::FieldAugmented extend T::Sig # The name of the task to be started. diff --git a/lib/plex_ruby_sdk/models/operations/stoptask_response.rb b/lib/plex_ruby_sdk/models/operations/stoptask_response.rb index 0baed96..5e281d9 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptask_response.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptask_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopTaskResponse < ::PlexRubySDK::Utils::FieldAugmented + class StopTaskResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/stoptask_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/stoptask_unauthorized.rb index 05df2be..091650f 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptask_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptask_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class StopTaskUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class StopTaskUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_badrequest.rb b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_badrequest.rb index bf30363..fbb0e26 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class StopTranscodeSessionBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class StopTranscodeSessionBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_errors.rb b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_errors.rb index d33cf4b..c760d2f 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopTranscodeSessionErrors < ::PlexRubySDK::Utils::FieldAugmented + class StopTranscodeSessionErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_request.rb b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_request.rb index da08604..6174312 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_request.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopTranscodeSessionRequest < ::PlexRubySDK::Utils::FieldAugmented + class StopTranscodeSessionRequest < ::Crystalline::FieldAugmented extend T::Sig # the Key of the transcode session to stop diff --git a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_response.rb b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_response.rb index 74ebf01..cf9e397 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_response.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopTranscodeSessionResponse < ::PlexRubySDK::Utils::FieldAugmented + class StopTranscodeSessionResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_sessions_errors.rb b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_sessions_errors.rb index b37148e..8e11c0e 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_sessions_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_sessions_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class StopTranscodeSessionSessionsErrors < ::PlexRubySDK::Utils::FieldAugmented + class StopTranscodeSessionSessionsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_unauthorized.rb index 6fae964..e693cec 100644 --- a/lib/plex_ruby_sdk/models/operations/stoptranscodesession_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/stoptranscodesession_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class StopTranscodeSessionUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class StopTranscodeSessionUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/stream.rb b/lib/plex_ruby_sdk/models/operations/stream.rb index 8b0b7ac..21f9a0c 100644 --- a/lib/plex_ruby_sdk/models/operations/stream.rb +++ b/lib/plex_ruby_sdk/models/operations/stream.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Stream < ::PlexRubySDK::Utils::FieldAugmented + class Stream < ::Crystalline::FieldAugmented extend T::Sig # Codec used by the stream diff --git a/lib/plex_ruby_sdk/models/operations/subscription.rb b/lib/plex_ruby_sdk/models/operations/subscription.rb index 064daa8..d7bf3de 100644 --- a/lib/plex_ruby_sdk/models/operations/subscription.rb +++ b/lib/plex_ruby_sdk/models/operations/subscription.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze # If the account’s Plex Pass subscription is active - class Subscription < ::PlexRubySDK::Utils::FieldAugmented + class Subscription < ::Crystalline::FieldAugmented extend T::Sig # If the account's Plex Pass subscription is active diff --git a/lib/plex_ruby_sdk/models/operations/transcodesession.rb b/lib/plex_ruby_sdk/models/operations/transcodesession.rb index 2cf16da..3da7ed2 100644 --- a/lib/plex_ruby_sdk/models/operations/transcodesession.rb +++ b/lib/plex_ruby_sdk/models/operations/transcodesession.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class TranscodeSession < ::PlexRubySDK::Utils::FieldAugmented + class TranscodeSession < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/trials.rb b/lib/plex_ruby_sdk/models/operations/trials.rb index 02102be..5c0f0ec 100644 --- a/lib/plex_ruby_sdk/models/operations/trials.rb +++ b/lib/plex_ruby_sdk/models/operations/trials.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class Trials < ::PlexRubySDK::Utils::FieldAugmented + class Trials < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/ultrablurcolors.rb b/lib/plex_ruby_sdk/models/operations/ultrablurcolors.rb index f92e9cd..509fb1f 100644 --- a/lib/plex_ruby_sdk/models/operations/ultrablurcolors.rb +++ b/lib/plex_ruby_sdk/models/operations/ultrablurcolors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UltraBlurColors < ::PlexRubySDK::Utils::FieldAugmented + class UltraBlurColors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/updateplaylist_badrequest.rb b/lib/plex_ruby_sdk/models/operations/updateplaylist_badrequest.rb index fc1767a..dd027c9 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplaylist_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplaylist_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class UpdatePlaylistBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlaylistBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/updateplaylist_errors.rb b/lib/plex_ruby_sdk/models/operations/updateplaylist_errors.rb index 31993e9..b917e08 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplaylist_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplaylist_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UpdatePlaylistErrors < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlaylistErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/updateplaylist_playlists_errors.rb b/lib/plex_ruby_sdk/models/operations/updateplaylist_playlists_errors.rb index 04977ec..8ad784e 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplaylist_playlists_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplaylist_playlists_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UpdatePlaylistPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlaylistPlaylistsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/updateplaylist_request.rb b/lib/plex_ruby_sdk/models/operations/updateplaylist_request.rb index 17cb5ed..13fc7ec 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplaylist_request.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplaylist_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UpdatePlaylistRequest < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlaylistRequest < ::Crystalline::FieldAugmented extend T::Sig # the ID of the playlist diff --git a/lib/plex_ruby_sdk/models/operations/updateplaylist_response.rb b/lib/plex_ruby_sdk/models/operations/updateplaylist_response.rb index 5fcf947..0a250ac 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplaylist_response.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplaylist_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UpdatePlaylistResponse < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlaylistResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/updateplaylist_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/updateplaylist_unauthorized.rb index cca0277..b67c3aa 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplaylist_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplaylist_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class UpdatePlaylistUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlaylistUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/updateplayprogress_badrequest.rb b/lib/plex_ruby_sdk/models/operations/updateplayprogress_badrequest.rb index 65eb1a7..7f2c529 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplayprogress_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplayprogress_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class UpdatePlayProgressBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlayProgressBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/updateplayprogress_errors.rb b/lib/plex_ruby_sdk/models/operations/updateplayprogress_errors.rb index fa2cf1c..66b60f9 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplayprogress_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplayprogress_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UpdatePlayProgressErrors < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlayProgressErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/updateplayprogress_media_errors.rb b/lib/plex_ruby_sdk/models/operations/updateplayprogress_media_errors.rb index 7e24004..1f573a6 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplayprogress_media_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplayprogress_media_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UpdatePlayProgressMediaErrors < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlayProgressMediaErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/updateplayprogress_request.rb b/lib/plex_ruby_sdk/models/operations/updateplayprogress_request.rb index 203658e..b9bf63a 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplayprogress_request.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplayprogress_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UpdatePlayProgressRequest < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlayProgressRequest < ::Crystalline::FieldAugmented extend T::Sig # the media key diff --git a/lib/plex_ruby_sdk/models/operations/updateplayprogress_response.rb b/lib/plex_ruby_sdk/models/operations/updateplayprogress_response.rb index 40e87c4..ad6f459 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplayprogress_response.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplayprogress_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UpdatePlayProgressResponse < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlayProgressResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/updateplayprogress_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/updateplayprogress_unauthorized.rb index 12d78be..be2cfe7 100644 --- a/lib/plex_ruby_sdk/models/operations/updateplayprogress_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/updateplayprogress_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class UpdatePlayProgressUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class UpdatePlayProgressUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/uploadplaylist_badrequest.rb b/lib/plex_ruby_sdk/models/operations/uploadplaylist_badrequest.rb index 7b2364d..650cced 100644 --- a/lib/plex_ruby_sdk/models/operations/uploadplaylist_badrequest.rb +++ b/lib/plex_ruby_sdk/models/operations/uploadplaylist_badrequest.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Bad Request - A parameter was not specified, or was specified incorrectly. - class UploadPlaylistBadRequest < ::PlexRubySDK::Utils::FieldAugmented + class UploadPlaylistBadRequest < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/uploadplaylist_errors.rb b/lib/plex_ruby_sdk/models/operations/uploadplaylist_errors.rb index 7505b7a..a1d83d5 100644 --- a/lib/plex_ruby_sdk/models/operations/uploadplaylist_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/uploadplaylist_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UploadPlaylistErrors < ::PlexRubySDK::Utils::FieldAugmented + class UploadPlaylistErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/uploadplaylist_playlists_errors.rb b/lib/plex_ruby_sdk/models/operations/uploadplaylist_playlists_errors.rb index 4b26ac4..7eb5371 100644 --- a/lib/plex_ruby_sdk/models/operations/uploadplaylist_playlists_errors.rb +++ b/lib/plex_ruby_sdk/models/operations/uploadplaylist_playlists_errors.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UploadPlaylistPlaylistsErrors < ::PlexRubySDK::Utils::FieldAugmented + class UploadPlaylistPlaylistsErrors < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/uploadplaylist_request.rb b/lib/plex_ruby_sdk/models/operations/uploadplaylist_request.rb index 4fbb93a..bf1fc3e 100644 --- a/lib/plex_ruby_sdk/models/operations/uploadplaylist_request.rb +++ b/lib/plex_ruby_sdk/models/operations/uploadplaylist_request.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UploadPlaylistRequest < ::PlexRubySDK::Utils::FieldAugmented + class UploadPlaylistRequest < ::Crystalline::FieldAugmented extend T::Sig # Force overwriting of duplicate playlists. diff --git a/lib/plex_ruby_sdk/models/operations/uploadplaylist_response.rb b/lib/plex_ruby_sdk/models/operations/uploadplaylist_response.rb index 89a9c16..83d57ab 100644 --- a/lib/plex_ruby_sdk/models/operations/uploadplaylist_response.rb +++ b/lib/plex_ruby_sdk/models/operations/uploadplaylist_response.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class UploadPlaylistResponse < ::PlexRubySDK::Utils::FieldAugmented + class UploadPlaylistResponse < ::Crystalline::FieldAugmented extend T::Sig # HTTP response content type for this operation diff --git a/lib/plex_ruby_sdk/models/operations/uploadplaylist_unauthorized.rb b/lib/plex_ruby_sdk/models/operations/uploadplaylist_unauthorized.rb index 9dae30d..a45cc94 100644 --- a/lib/plex_ruby_sdk/models/operations/uploadplaylist_unauthorized.rb +++ b/lib/plex_ruby_sdk/models/operations/uploadplaylist_unauthorized.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations # Unauthorized - Returned if the X-Plex-Token is missing from the header or query. - class UploadPlaylistUnauthorized < ::PlexRubySDK::Utils::FieldAugmented + class UploadPlaylistUnauthorized < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/user.rb b/lib/plex_ruby_sdk/models/operations/user.rb index bc2c651..98f47b2 100644 --- a/lib/plex_ruby_sdk/models/operations/user.rb +++ b/lib/plex_ruby_sdk/models/operations/user.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class User < ::PlexRubySDK::Utils::FieldAugmented + class User < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/operations/userprofile.rb b/lib/plex_ruby_sdk/models/operations/userprofile.rb index 29e2444..3c400c5 100644 --- a/lib/plex_ruby_sdk/models/operations/userprofile.rb +++ b/lib/plex_ruby_sdk/models/operations/userprofile.rb @@ -11,7 +11,7 @@ module PlexRubySDK ].freeze - class UserProfile < ::PlexRubySDK::Utils::FieldAugmented + class UserProfile < ::Crystalline::FieldAugmented extend T::Sig # If the account has automatically select audio and subtitle tracks enabled diff --git a/lib/plex_ruby_sdk/models/operations/writer.rb b/lib/plex_ruby_sdk/models/operations/writer.rb index f742ecf..4e5ae11 100644 --- a/lib/plex_ruby_sdk/models/operations/writer.rb +++ b/lib/plex_ruby_sdk/models/operations/writer.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Operations - class Writer < ::PlexRubySDK::Utils::FieldAugmented + class Writer < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/models/shared/security.rb b/lib/plex_ruby_sdk/models/shared/security.rb index 7cc24ca..5ae29ff 100644 --- a/lib/plex_ruby_sdk/models/shared/security.rb +++ b/lib/plex_ruby_sdk/models/shared/security.rb @@ -8,7 +8,7 @@ module PlexRubySDK module Shared - class Security < ::PlexRubySDK::Utils::FieldAugmented + class Security < ::Crystalline::FieldAugmented extend T::Sig diff --git a/lib/plex_ruby_sdk/playlists.rb b/lib/plex_ruby_sdk/playlists.rb index 325e8df..2e339f4 100644 --- a/lib/plex_ruby_sdk/playlists.rb +++ b/lib/plex_ruby_sdk/playlists.rb @@ -41,7 +41,8 @@ module PlexRubySDK r = @sdk_configuration.client.post(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -51,17 +52,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::CreatePlaylistResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::CreatePlaylistResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::CreatePlaylistBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::CreatePlaylistBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::CreatePlaylistUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::CreatePlaylistUnauthorized) res.unauthorized = out end end @@ -90,7 +91,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -100,17 +102,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPlaylistsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPlaylistsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPlaylistsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPlaylistsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPlaylistsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPlaylistsUnauthorized) res.unauthorized = out end end @@ -143,7 +145,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -153,17 +156,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPlaylistResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPlaylistResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPlaylistBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPlaylistBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPlaylistUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPlaylistUnauthorized) res.unauthorized = out end end @@ -195,7 +198,8 @@ module PlexRubySDK r = @sdk_configuration.client.delete(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -206,12 +210,12 @@ module PlexRubySDK if r.status == 204 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::DeletePlaylistBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::DeletePlaylistBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::DeletePlaylistUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::DeletePlaylistUnauthorized) res.unauthorized = out end end @@ -247,7 +251,8 @@ module PlexRubySDK r = @sdk_configuration.client.put(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -258,12 +263,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::UpdatePlaylistBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::UpdatePlaylistBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::UpdatePlaylistUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::UpdatePlaylistUnauthorized) res.unauthorized = out end end @@ -301,7 +306,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -311,17 +317,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPlaylistContentsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPlaylistContentsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPlaylistContentsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPlaylistContentsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPlaylistContentsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPlaylistContentsUnauthorized) res.unauthorized = out end end @@ -353,7 +359,8 @@ module PlexRubySDK r = @sdk_configuration.client.delete(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -364,12 +371,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::ClearPlaylistContentsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::ClearPlaylistContentsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::ClearPlaylistContentsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::ClearPlaylistContentsUnauthorized) res.unauthorized = out end end @@ -406,7 +413,8 @@ module PlexRubySDK r = @sdk_configuration.client.put(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -416,17 +424,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::AddPlaylistContentsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::AddPlaylistContentsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::AddPlaylistContentsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::AddPlaylistContentsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::AddPlaylistContentsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::AddPlaylistContentsUnauthorized) res.unauthorized = out end end @@ -457,7 +465,8 @@ module PlexRubySDK r = @sdk_configuration.client.post(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -468,12 +477,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::UploadPlaylistBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::UploadPlaylistBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::UploadPlaylistUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::UploadPlaylistUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/plex.rb b/lib/plex_ruby_sdk/plex.rb index 42979ca..873fd4e 100644 --- a/lib/plex_ruby_sdk/plex.rb +++ b/lib/plex_ruby_sdk/plex.rb @@ -64,7 +64,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -74,17 +75,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, T::Array[::PlexRubySDK::Operations::ResponseBody]) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), T::Array[::PlexRubySDK::Operations::ResponseBody]) res.response_bodies = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetCompanionsDataBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetCompanionsDataBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetCompanionsDataUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetCompanionsDataUnauthorized) res.unauthorized = out end end @@ -107,7 +108,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -117,17 +119,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, T::Array[::PlexRubySDK::Operations::Friend]) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), T::Array[::PlexRubySDK::Operations::Friend]) res.friends = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetUserFriendsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetUserFriendsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetUserFriendsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetUserFriendsUnauthorized) res.unauthorized = out end end @@ -159,17 +161,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGeoDataGeoData) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGeoDataGeoData) res.geo_data = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGeoDataBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGeoDataBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetGeoDataUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetGeoDataUnauthorized) res.unauthorized = out end end @@ -191,7 +193,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -201,17 +204,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetHomeDataResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetHomeDataResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetHomeDataBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetHomeDataBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetHomeDataUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetHomeDataUnauthorized) res.unauthorized = out end end @@ -243,7 +246,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -253,17 +257,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, T::Array[::PlexRubySDK::Operations::PlexDevice]) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), T::Array[::PlexRubySDK::Operations::PlexDevice]) res.plex_devices = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerResourcesBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerResourcesBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerResourcesUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerResourcesUnauthorized) res.unauthorized = out end end @@ -297,12 +301,12 @@ module PlexRubySDK ) if r.status == 201 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPinAuthPinContainer) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPinAuthPinContainer) res.auth_pin_container = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetPinBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetPinBadRequest) res.bad_request = out end end @@ -339,17 +343,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTokenByPinIdAuthPinContainer) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTokenByPinIdAuthPinContainer) res.auth_pin_container = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTokenByPinIdBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTokenByPinIdBadRequest) res.bad_request = out end elsif r.status == 404 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTokenByPinIdResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTokenByPinIdResponseBody) res.object = out end end diff --git a/lib/plex_ruby_sdk/plex_api.rb b/lib/plex_ruby_sdk/plex_api.rb index e682e2d..2931fbb 100644 --- a/lib/plex_ruby_sdk/plex_api.rb +++ b/lib/plex_ruby_sdk/plex_api.rb @@ -16,33 +16,29 @@ module PlexRubySDK attr_accessor :server, :media, :video, :activities, :butler, :plex, :hubs, :search, :library, :watchlist, :log, :playlists, :authentication, :statistics, :sessions, :updater, :users sig do - params(client: Faraday::Request, - security: T.nilable(Shared::Security), - protocol: T.nilable(::PlexRubySDK::ServerVariables::ServerProtocol), - ip: T.nilable(::String), - port: T.nilable(::String), - server_idx: Integer, - server_url: String, - url_params: T::Hash[Symbol, String]).void + params( + client: T.nilable(Faraday::Request), + security: T.nilable(::PlexRubySDK::Shared::Security), + security_source: T.nilable(T.proc.returns(::PlexRubySDK::Shared::Security)), + protocol: T.nilable(::PlexRubySDK::ServerVariables::ServerProtocol), + ip: T.nilable(::String), + port: T.nilable(::String), + server_idx: T.nilable(Integer), + server_url: T.nilable(String), + url_params: T.nilable(T::Hash[Symbol, String]) + ).void end - def initialize(client: nil, - security: nil, - protocol: nil, - ip: nil, - port: nil, - server_idx: nil, - server_url: nil, - url_params: nil) - + def initialize(client: nil, security: nil, security_source: nil, protocol: nil, ip: nil, port: nil, server_idx: nil, server_url: nil, url_params: nil) ## Instantiates the SDK configuring it with the provided parameters. - # @param [Faraday::Request] client The faraday HTTP client to use for all operations - # @param [Shared::Security] security The security details required for authentication + # @param [T.nilable(Faraday::Request)] client The faraday HTTP client to use for all operations + # @param [T.nilable(::PlexRubySDK::Shared::Security)] security: The security details required for authentication + # @param [T.proc.returns(T.nilable(::PlexRubySDK::Shared::Security))] security_source: A function that returns security details required for authentication # @param [T.nilable(::PlexRubySDK::ServerVariables::ServerProtocol)] protocol: Allows setting the protocol variable for url substitution # @param [T.nilable(::String)] ip: Allows setting the ip variable for url substitution # @param [T.nilable(::String)] port: Allows setting the port variable for url substitution - # @param [::Integer] server_idx The index of the server to use for all operations - # @param [::String] server_url The server URL to use for all operations - # @param [::Hash<::Symbol, ::String>] url_params Parameters to optionally template the server URL with + # @param [T.nilable(::Integer)] server_idx The index of the server to use for all operations + # @param [T.nilable(::String)] server_url The server URL to use for all operations + # @param [T.nilable(::Hash<::Symbol, ::String>)] url_params Parameters to optionally template the server URL with if client.nil? client = Faraday.new(request: { @@ -56,8 +52,16 @@ module PlexRubySDK if !server_url.nil? if !url_params.nil? server_url = Utils.template_url(server_url, url_params) + elsif !protocol.nil? || !ip.nil? || !port.nil? + url_params = { + protocol: protocol || 'https', + ip: ip || '10.10.10.47', + port: port || '32400', + } + server_url = Utils.template_url(server_url, url_params) end end + server_idx = 0 if server_idx.nil? server_params = [ @@ -67,35 +71,17 @@ module PlexRubySDK port: port || '32400', }, ] - - @sdk_configuration = SDKConfiguration.new(client, security, server_url, server_idx, server_params) + @sdk_configuration = SDKConfiguration.new( + client, + security, + security_source, + server_url, + server_idx, + server_params + ) init_sdks end - sig { params(server_url: String, params: T.nilable(T::Hash[Symbol, String])).void } - def config_server_url(server_url, params) - if !params.nil? - server_url = Utils.template_url(server_url, params) - end - @sdk_configuration.server_url = server_url - init_sdks - end - - sig { params(server_idx: Integer, params: T.nilable(T::Hash[Symbol, String])).void } - def config_server(server_idx, params) - raise StandardError, "Invalid server index #{server_idx}" if server_idx.negative? || server_idx >= SERVERS.length - @sdk_configuration.server_idx = server_idx - if !params.nil? - @sdk_configuration.server_params[server_idx] = params - end - init_sdks - end - - sig { params(security: ::PlexRubySDK::Shared::Security).void } - def config_security(security) - @sdk_configuration.security = security - end - sig { void } def init_sdks @server = Server.new(@sdk_configuration) diff --git a/lib/plex_ruby_sdk/sdkconfiguration.rb b/lib/plex_ruby_sdk/sdkconfiguration.rb index a5d0102..43e2849 100644 --- a/lib/plex_ruby_sdk/sdkconfiguration.rb +++ b/lib/plex_ruby_sdk/sdkconfiguration.rb @@ -15,11 +15,11 @@ module PlexRubySDK ].freeze # Contains the list of servers available to the SDK - class SDKConfiguration < ::PlexRubySDK::Utils::FieldAugmented + class SDKConfiguration < ::Crystalline::FieldAugmented extend T::Sig field :client, T.nilable(Faraday::Connection) - field :security, T.nilable(::PlexRubySDK::Shared::Security) + field :security_source, T.nilable(T.proc.returns(T.nilable(::PlexRubySDK::Shared::Security))) field :server_url, T.nilable(String) field :server_idx, T.nilable(Integer) field :server_params, Array[Hash[Symbol, String]], { 'default_factory': Array} @@ -30,19 +30,24 @@ module PlexRubySDK field :user_agent, String - sig { params(client: Faraday::Connection, security: T.nilable(::PlexRubySDK::Shared::Security), server_url: T.nilable(String), server_idx: T.nilable(Integer), server_params: T::Array[String]).void } - def initialize(client, security, server_url, server_idx, server_params) + + sig { params(client: T.nilable(Faraday::Connection), security: T.nilable(::PlexRubySDK::Shared::Security), security_source: T.nilable(T.proc.returns(::PlexRubySDK::Shared::Security)), server_url: T.nilable(String), server_idx: T.nilable(Integer), server_params: T::Array[String]).void } + def initialize(client, security, security_source, server_url, server_idx, server_params) @client = client @server_url = server_url @server_idx = server_idx.nil? ? 0 : server_idx raise StandardError, "Invalid server index #{server_idx}" if @server_idx.negative? || @server_idx >= SERVERS.length @server_params = server_params - @security = security + if !security_source.nil? + @security_source = security_source + elsif !security.nil? + @security_source = -> { security } + end @language = 'ruby' @openapi_doc_version = '0.0.3' - @sdk_version = '0.7.5' - @gen_version = '2.506.0' - @user_agent = 'speakeasy-sdk/ruby 0.7.5 2.506.0 0.0.3 plex_ruby_sdk' + @sdk_version = '0.7.6' + @gen_version = '2.545.4' + @user_agent = 'speakeasy-sdk/ruby 0.7.6 2.545.4 0.0.3 plex_ruby_sdk' end sig { returns([String, T::Hash[Symbol, String]]) } diff --git a/lib/plex_ruby_sdk/search.rb b/lib/plex_ruby_sdk/search.rb index 3e34737..cd7c76a 100644 --- a/lib/plex_ruby_sdk/search.rb +++ b/lib/plex_ruby_sdk/search.rb @@ -53,7 +53,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -64,12 +65,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::PerformSearchBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::PerformSearchBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::PerformSearchUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::PerformSearchUnauthorized) res.unauthorized = out end end @@ -103,7 +104,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -114,12 +116,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::PerformVoiceSearchBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::PerformVoiceSearchBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::PerformVoiceSearchUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::PerformVoiceSearchUnauthorized) res.unauthorized = out end end @@ -147,7 +149,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -157,17 +160,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchResultsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchResultsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchResultsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchResultsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSearchResultsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSearchResultsUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/server.rb b/lib/plex_ruby_sdk/server.rb index 3e39881..58e1819 100644 --- a/lib/plex_ruby_sdk/server.rb +++ b/lib/plex_ruby_sdk/server.rb @@ -33,7 +33,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -43,17 +44,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerCapabilitiesResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerCapabilitiesResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerCapabilitiesBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerCapabilitiesBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerCapabilitiesUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerCapabilitiesUnauthorized) res.unauthorized = out end end @@ -75,7 +76,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -85,17 +87,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerPreferencesResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerPreferencesResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerPreferencesBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerPreferencesBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerPreferencesUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerPreferencesUnauthorized) res.unauthorized = out end end @@ -117,7 +119,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -127,17 +130,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAvailableClientsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAvailableClientsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAvailableClientsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAvailableClientsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetAvailableClientsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetAvailableClientsUnauthorized) res.unauthorized = out end end @@ -159,7 +162,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -169,17 +173,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetDevicesResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetDevicesResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetDevicesBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetDevicesBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetDevicesUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetDevicesUnauthorized) res.unauthorized = out end end @@ -210,12 +214,12 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerIdentityResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerIdentityResponseBody) res.object = out end elsif r.status == 408 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerIdentityRequestTimeout) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerIdentityRequestTimeout) res.request_timeout = out end end @@ -237,7 +241,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -247,17 +252,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMyPlexAccountResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMyPlexAccountResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMyPlexAccountBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMyPlexAccountBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMyPlexAccountUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMyPlexAccountUnauthorized) res.unauthorized = out end end @@ -282,7 +287,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -293,12 +299,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetResizedPhotoBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetResizedPhotoBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetResizedPhotoUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetResizedPhotoUnauthorized) res.unauthorized = out end end @@ -324,7 +330,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -334,17 +341,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMediaProvidersResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMediaProvidersResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMediaProvidersBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMediaProvidersBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetMediaProvidersUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetMediaProvidersUnauthorized) res.unauthorized = out end end @@ -366,7 +373,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -376,17 +384,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerListResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerListResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerListBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerListBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetServerListUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetServerListUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/sessions.rb b/lib/plex_ruby_sdk/sessions.rb index 1662af3..68cff14 100644 --- a/lib/plex_ruby_sdk/sessions.rb +++ b/lib/plex_ruby_sdk/sessions.rb @@ -33,7 +33,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -43,17 +44,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSessionsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSessionsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSessionsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSessionsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSessionsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSessionsUnauthorized) res.unauthorized = out end end @@ -84,7 +85,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -94,17 +96,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSessionHistoryResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSessionHistoryResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSessionHistoryBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSessionHistoryBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetSessionHistoryUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetSessionHistoryUnauthorized) res.unauthorized = out end end @@ -126,7 +128,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -136,17 +139,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTranscodeSessionsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTranscodeSessionsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTranscodeSessionsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTranscodeSessionsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTranscodeSessionsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTranscodeSessionsUnauthorized) res.unauthorized = out end end @@ -177,7 +180,8 @@ module PlexRubySDK r = @sdk_configuration.client.delete(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -188,12 +192,12 @@ module PlexRubySDK if r.status == 204 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopTranscodeSessionBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StopTranscodeSessionBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StopTranscodeSessionUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StopTranscodeSessionUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/statistics.rb b/lib/plex_ruby_sdk/statistics.rb index 96b6e2b..ba54b9d 100644 --- a/lib/plex_ruby_sdk/statistics.rb +++ b/lib/plex_ruby_sdk/statistics.rb @@ -39,7 +39,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -49,17 +50,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetStatisticsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetStatisticsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetStatisticsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetStatisticsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetStatisticsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetStatisticsUnauthorized) res.unauthorized = out end end @@ -87,7 +88,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -97,17 +99,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetResourcesStatisticsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetResourcesStatisticsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetResourcesStatisticsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetResourcesStatisticsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetResourcesStatisticsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetResourcesStatisticsUnauthorized) res.unauthorized = out end end @@ -135,7 +137,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -145,17 +148,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetBandwidthStatisticsResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetBandwidthStatisticsResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetBandwidthStatisticsBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetBandwidthStatisticsBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetBandwidthStatisticsUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetBandwidthStatisticsUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/updater.rb b/lib/plex_ruby_sdk/updater.rb index 316860b..126d6ab 100644 --- a/lib/plex_ruby_sdk/updater.rb +++ b/lib/plex_ruby_sdk/updater.rb @@ -34,7 +34,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -44,17 +45,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetUpdateStatusResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetUpdateStatusResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetUpdateStatusBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetUpdateStatusBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetUpdateStatusUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetUpdateStatusUnauthorized) res.unauthorized = out end end @@ -82,7 +83,8 @@ module PlexRubySDK r = @sdk_configuration.client.put(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -93,12 +95,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::CheckForUpdatesBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::CheckForUpdatesBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::CheckForUpdatesUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::CheckForUpdatesUnauthorized) res.unauthorized = out end end @@ -128,7 +130,8 @@ module PlexRubySDK r = @sdk_configuration.client.put(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -139,12 +142,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::ApplyUpdatesBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::ApplyUpdatesBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::ApplyUpdatesUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::ApplyUpdatesUnauthorized) res.unauthorized = out end elsif r.status == 500 diff --git a/lib/plex_ruby_sdk/users.rb b/lib/plex_ruby_sdk/users.rb index d53f595..3d61fee 100644 --- a/lib/plex_ruby_sdk/users.rb +++ b/lib/plex_ruby_sdk/users.rb @@ -49,12 +49,12 @@ module PlexRubySDK res.body = r.env.response_body if Utils.match_content_type(content_type, 'application/xml') elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetUsersBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetUsersBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetUsersUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetUsersUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/utils/utils.rb b/lib/plex_ruby_sdk/utils/utils.rb index 007453b..b7bcbb4 100644 --- a/lib/plex_ruby_sdk/utils/utils.rb +++ b/lib/plex_ruby_sdk/utils/utils.rb @@ -6,16 +6,11 @@ require 'date' require 'sorbet-runtime' require 'base64' -require_relative './metadata_fields' module PlexRubySDK module Utils extend T::Sig - class FieldAugmented - include MetadataFields - end - sig { params(val: Object, primitives: T::Boolean).returns(Object) } def self.val_to_string(val, primitives: true) if val.is_a? T::Enum @@ -29,7 +24,7 @@ module PlexRubySDK end end - sig { params(headers_params: FieldAugmented, gbls: T.nilable(T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]])).returns(T::Hash[Symbol, String]) } + sig { params(headers_params: ::Crystalline::FieldAugmented, gbls: T.nilable(T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]])).returns(T::Hash[Symbol, String]) } def self.get_headers(headers_params, gbls = nil) return {} if headers_params.nil? @@ -95,7 +90,7 @@ module PlexRubySDK sig do params(field_name: String, explode: T::Boolean, obj: Object, delimiter: String, - get_field_name_lambda: T.proc.params(obj_field: MetadataFields::Field).returns(String)) + get_field_name_lambda: T.proc.params(obj_field: ::Crystalline::MetadataFields::Field).returns(String)) .returns(T::Hash[Symbol, T::Array[String]]) end def self._populate_form(field_name, explode, obj, delimiter, &get_field_name_lambda) @@ -215,7 +210,7 @@ module PlexRubySDK params = {} serialization = metadata.fetch(:serialization, '') - params[metadata.fetch(:field_name, field_name)] = obj.marshal_json if serialization == 'json' + params[metadata.fetch(:field_name, field_name)] = obj.to_json if serialization == 'json' params end @@ -236,7 +231,7 @@ module PlexRubySDK _populate_form(field_name, metadata.fetch(:explode, true), obj, delimiter, &get_query_param_field_name) end - sig { params(clazz: Class, query_params: FieldAugmented, gbls: T.nilable(T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]])).returns(T::Hash[Symbol, T::Array[String]]) } + sig { params(clazz: Class, query_params: ::Crystalline::FieldAugmented, gbls: T.nilable(T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]])).returns(T::Hash[Symbol, T::Array[String]]) } def self.get_query_params(clazz, query_params, gbls = nil) params = {} param_fields = clazz.fields @@ -280,7 +275,7 @@ module PlexRubySDK params end - sig { params(clazz: Class, server_url: String, path: String, path_params: FieldAugmented, gbls: T.nilable(T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]])).returns(String) } + sig { params(clazz: Class, server_url: String, path: String, path_params: ::Crystalline::FieldAugmented, gbls: T.nilable(T::Hash[Symbol, T::Hash[Symbol, T::Hash[Symbol, Object]]])).returns(String) } def self.generate_url(clazz, server_url, path, path_params, gbls = nil) clazz.fields.each do |f| param_metadata = f.metadata[:path_param] @@ -463,7 +458,7 @@ module PlexRubySDK end end - sig { params(req: Faraday::Request, scheme: FieldAugmented).void } + sig { params(req: Faraday::Request, scheme: ::Crystalline::FieldAugmented).void } def self._parse_basic_auth_scheme(req, scheme) username, password = '' @@ -559,7 +554,7 @@ module PlexRubySDK .returns([String, Object, T.nilable(T::Array[T::Array[Object]])]) end def self.serialize_content_type(field_name, media_type, request) - return media_type, marshal_json_complex(request), nil if media_type.match('(application|text)\/.*?\+*json.*') + return media_type, ::Crystalline.marshal_json_complex(request), nil if media_type.match('(application|text)\/.*?\+*json.*') return serialize_multipart_form(media_type, request) if media_type.match('multipart\/.*') return media_type, serialize_form_data(field_name, request), nil if media_type.match('application\/x-www-form-urlencoded.*') return media_type, request, nil if request.is_a?(String) || request.is_a?(Array) @@ -567,7 +562,7 @@ module PlexRubySDK raise StandardError, "invalid request body type #{type(request)} for mediaType {metadata['media_type']}" end - sig { params(field: MetadataFields::Field, data_class: FieldAugmented).returns(Object) } + sig { params(field: ::Crystalline::MetadataFields::Field, data_class: ::Crystalline::FieldAugmented).returns(Object) } def self.parse_field(field, data_class) field_metadata = field.metadata[:metadata_string] return nil if field_metadata.nil? @@ -578,7 +573,7 @@ module PlexRubySDK field_value end - sig { params(media_type: String, request: FieldAugmented).returns([String, Object, T::Array[T::Array[Object]]]) } + sig { params(media_type: String, request: ::Crystalline::FieldAugmented).returns([String, Object, T::Array[T::Array[Object]]]) } def self.serialize_multipart_form(media_type, request) form = [] request_fields = request.fields @@ -612,7 +607,7 @@ module PlexRubySDK elsif field_metadata[:json] == true to_append = [ field_metadata.fetch(:field_name, field.name), [ - nil, marshal_json_complex(val), 'application/json' + nil, ::Crystalline.marshal_json_complex(val), 'application/json' ] ] form.append(to_append) @@ -657,7 +652,7 @@ module PlexRubySDK end sig do - params(field_name: Symbol, data: T.any(FieldAugmented, T::Hash[Symbol, String])) + params(field_name: Symbol, data: T.any(::Crystalline::FieldAugmented, T::Hash[Symbol, String])) .returns(T::Hash[Symbol, Object]) end def self.serialize_form_data(field_name, data) @@ -682,7 +677,7 @@ module PlexRubySDK field_name = metadata.fetch(:field_name, field.name) if metadata[:json] - form[field_name] = marshal_json_complex(val) + form[field_name] = ::Crystalline.marshal_json_complex(val) else if metadata.fetch(:style, 'form') == 'form' form = form.merge( @@ -729,43 +724,5 @@ module PlexRubySDK value end - sig { params(complex: Object).returns(Object) } - def self.marshal_json_complex(complex) - if complex.is_a? Array - complex.map { |v| Utils.marshal_json_complex(v) }.to_json - elsif complex.is_a? Hash - complex.transform_values { |v| Utils.marshal_json_complex(v) }.to_json - elsif complex.respond_to? :marshal_json - complex.marshal_json - else - complex.to_json - end - end - - sig { params(data: Object, type: Object).returns(Object) } - def self.unmarshal_complex(data, type) - begin - value = unmarshal_json(JSON.parse(data), type) - rescue TypeError, JSON::ParserError - value = unmarshal_json(data, type) - end - value - end - - sig { params(data: Object, type: Object).returns(Object) } - def self.unmarshal_json(data, type) - if T.simplifiable? type - type = T.simplify_type type - end - if type.respond_to? :unmarshal_json - type.unmarshal_json(data) - elsif T.arr? type - data.map { |v| Utils.unmarshal_complex(v, T.arr_of(type)) } - elsif T.hash? type - data.transform_values { |v| Utils.unmarshal_complex(v, T.hash_of(type)) } - else - data - end - end end end diff --git a/lib/plex_ruby_sdk/video.rb b/lib/plex_ruby_sdk/video.rb index d87bac6..1a29dc9 100644 --- a/lib/plex_ruby_sdk/video.rb +++ b/lib/plex_ruby_sdk/video.rb @@ -35,7 +35,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -46,12 +47,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTimelineBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTimelineBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetTimelineUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetTimelineUnauthorized) res.unauthorized = out end end @@ -75,7 +76,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -86,12 +88,12 @@ module PlexRubySDK if r.status == 200 elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StartUniversalTranscodeBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StartUniversalTranscodeBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::StartUniversalTranscodeUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::StartUniversalTranscodeUnauthorized) res.unauthorized = out end end diff --git a/lib/plex_ruby_sdk/watchlist.rb b/lib/plex_ruby_sdk/watchlist.rb index 7362e29..175da05 100644 --- a/lib/plex_ruby_sdk/watchlist.rb +++ b/lib/plex_ruby_sdk/watchlist.rb @@ -46,7 +46,8 @@ module PlexRubySDK r = @sdk_configuration.client.get(url) do |req| req.headers = headers req.params = query_params - Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? + security = !@sdk_configuration.nil? && !@sdk_configuration.security_source.nil? ? @sdk_configuration.security_source.call : nil + Utils.configure_request_security(req, security) if !security.nil? end content_type = r.headers.fetch('Content-Type', 'application/octet-stream') @@ -56,17 +57,17 @@ module PlexRubySDK ) if r.status == 200 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetWatchListResponseBody) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetWatchListResponseBody) res.object = out end elsif r.status == 400 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetWatchListBadRequest) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetWatchListBadRequest) res.bad_request = out end elsif r.status == 401 if Utils.match_content_type(content_type, 'application/json') - out = Utils.unmarshal_complex(r.env.response_body, ::PlexRubySDK::Operations::GetWatchListUnauthorized) + out = Crystalline.unmarshal_json(JSON.parse(r.env.response_body), ::PlexRubySDK::Operations::GetWatchListUnauthorized) res.unauthorized = out end end diff --git a/plex_ruby_sdk.gemspec b/plex_ruby_sdk.gemspec index 990f5f6..348a6e0 100644 --- a/plex_ruby_sdk.gemspec +++ b/plex_ruby_sdk.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'plex_ruby_sdk' - s.version = '0.7.5' + s.version = '0.7.6' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' @@ -29,6 +29,7 @@ Gem::Specification.new do |s| s.add_development_dependency('minitest') + s.add_development_dependency('minitest-focus') s.add_development_dependency('rubocop', '~> 1.60.2') s.add_development_dependency('sorbet') s.add_development_dependency('tapioca')