ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5

This commit is contained in:
speakeasybot
2024-09-30 00:09:51 +00:00
parent 5e8eb24ef0
commit dc2f64115c
21 changed files with 352 additions and 41 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: aa9449e7-c19d-411d-b8e2-f9c5fe982f6f
management:
docChecksum: 9f62ea35c6168986c8e3557d5df50b99
docChecksum: f387ae03f10decba230886eaab322b20
docVersion: 0.0.3
speakeasyVersion: 1.404.5
generationVersion: 2.426.2
releaseVersion: 0.4.4
configChecksum: 8179ff53ef7a5af9de014fd5a209ac2b
releaseVersion: 0.4.5
configChecksum: 485b660499b1eb08446582eccf4035da
repoURL: https://github.com/LukeHagar/plexruby.git
repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexruby
@@ -1943,6 +1943,7 @@ examples:
includeHttps: 1
includeRelay: 1
includeIPv6: 1
X-Plex-Client-Identifier: "gcgzw5rz2xovp84b4vha3a40"
responses:
"200":
application/json: []

View File

@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
ruby:
version: 0.4.4
version: 0.4.5
author: LukeHagar
description: Ruby Client SDK Generated by Speakeasy
imports:

View File

@@ -9,8 +9,8 @@ sources:
- main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:ed1af8e79d553cc0bf2f8f7975f445d80cb8bd58390bca18d1352577da5ec5ed
sourceBlobDigest: sha256:157db2a169209c18fdca786b671c5da8d2b14dc3005574d08c9d667320869093
sourceRevisionDigest: sha256:a9bd67eaa35b8311162ae769209f725cc5da16e57976b4928c54594c02cd451c
sourceBlobDigest: sha256:43ddffba137c37d2f64f8db185179a273bcc5ca7242594c932da99d1eb7f3e98
tags:
- latest
- main
@@ -18,10 +18,10 @@ targets:
plexruby:
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:ed1af8e79d553cc0bf2f8f7975f445d80cb8bd58390bca18d1352577da5ec5ed
sourceBlobDigest: sha256:157db2a169209c18fdca786b671c5da8d2b14dc3005574d08c9d667320869093
sourceRevisionDigest: sha256:a9bd67eaa35b8311162ae769209f725cc5da16e57976b4928c54594c02cd451c
sourceBlobDigest: sha256:43ddffba137c37d2f64f8db185179a273bcc5ca7242594c932da99d1eb7f3e98
codeSamplesNamespace: code-samples-ruby-plexruby
codeSamplesRevisionDigest: sha256:8b518dd205deadfc54ad7634e584b7150f5e0127f3a81e1953de7d0e43a6e274
codeSamplesRevisionDigest: sha256:fbfa11d155d5c73bed6140bb9afdad2c3d3735ea2b000b2a6966a54088d09c3b
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest

View File

@@ -1,7 +1,7 @@
PATH
remote: .
specs:
plex_ruby_sdk (0.4.4)
plex_ruby_sdk (0.4.5)
faraday
faraday-multipart
rack

View File

@@ -285,7 +285,7 @@ end
Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed.
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_pin`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_server_resources`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
### Available Globals
@@ -317,13 +317,16 @@ s = ::PlexRubySDK::PlexAPI.new(
client_platform: "Chrome",
device_name: "Linux",
)
s.config_security(
::PlexRubySDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
)
)
req = ::PlexRubySDK::Operations::GetPinRequest.new()
res = s.plex.get_server_resources(include_https=::PlexRubySDK::Operations::IncludeHttps::ENABLE, include_relay=::PlexRubySDK::Operations::IncludeRelay::ENABLE, include_i_pv6=::PlexRubySDK::Operations::IncludeIPv6::ENABLE, client_id="gcgzw5rz2xovp84b4vha3a40")
res = s.plex.get_pin(req)
if ! res.auth_pin_container.nil?
if ! res.plex_devices.nil?
# handle response
end

View File

@@ -587,3 +587,13 @@ Based on:
- [ruby v0.4.4] .
### Releases
- [Ruby Gems v0.4.4] https://rubygems.org/gems/plex_ruby_sdk/versions/0.4.4 - .
## 2024-09-30 00:08:05
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.404.5 (2.426.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.4.5] .
### Releases
- [Ruby Gems v0.4.5] https://rubygems.org/gems/plex_ruby_sdk/versions/0.4.5 - .

View File

@@ -350,7 +350,7 @@ actions:
x-codeSamples:
- lang: ruby
label: resources
source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new(\n client_id: \"gcgzw5rz2xovp84b4vha3a40\",\n client_name: \"Plex Web\",\n client_version: \"4.133.0\",\n client_platform: \"Chrome\",\n device_name: \"Linux\",\n )\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"<YOUR_API_KEY_HERE>\",\n )\n)\n\n \nres = s.plex.get_server_resources(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"
source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new(\n client_id: \"gcgzw5rz2xovp84b4vha3a40\",\n client_name: \"Plex Web\",\n client_version: \"4.133.0\",\n client_platform: \"Chrome\",\n device_name: \"Linux\",\n )\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"<YOUR_API_KEY_HERE>\",\n )\n)\n\n \nres = s.plex.get_server_resources(include_https=::PlexRubySDK::Operations::IncludeHttps::ENABLE, include_relay=::PlexRubySDK::Operations::IncludeRelay::ENABLE, include_i_pv6=::PlexRubySDK::Operations::IncludeIPv6::ENABLE, client_id=\"gcgzw5rz2xovp84b4vha3a40\")\n\nif ! res.plex_devices.nil?\n # handle response\nend"
- target: $["paths"]["/search"]["get"]
update:
x-codeSamples:

View File

@@ -12,28 +12,43 @@
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
| `ALBUM_TYPES` | album-types |
| `ALLOW_DVR` | allow_dvr |
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
| `AVOD_NEW_MEDIA` | avod-new-media |
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
| `BOOST_VOICES` | boost-voices |
| `CAMERA_UPLOAD` | camera_upload |
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
| `CLOUDSYNC` | cloudsync |
| `COLLECTIONS` | collections |
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
| `COMPANIONS_SONOS` | companions_sonos |
| `CONTENT_FILTER` | content_filter |
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
| `DOWNLOADS_GATING` | downloads-gating |
| `DRM_SUPPORT` | drm_support |
| `DVR` | dvr |
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
| `FEDERATED_AUTH` | federated-auth |
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
| `GRANDFATHER_SYNC` | grandfather-sync |
| `GUIDED_UPGRADE` | guided-upgrade |
| `HARDWARE_TRANSCODING` | hardware_transcoding |
| `HOME` | home |
| `HWTRANSCODE` | hwtranscode |
| `IMAGGA_V2` | imagga-v2 |
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
| `ITEM_CLUSTERS` | item_clusters |
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
| `KEVIN_BACON` | kevin-bacon |
| `KOREA_CONSENT` | korea-consent |
@@ -42,25 +57,46 @@
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
| `LIVETV` | livetv |
| `LYRICS` | lyrics |
| `METADATA_SEARCH` | metadata_search |
| `MUSIC_ANALYSIS` | music-analysis |
| `MUSIC_VIDEOS` | music_videos |
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
| `NOMINATIM` | nominatim |
| `PASS` | pass |
| `PHOTOS_FAVORITES` | photos-favorites |
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
| `PHOTOS_V6_EDIT` | photosV6-edit |
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
| `PMS_HEALTH` | pms_health |
| `PREMIUM_DASHBOARD` | premium-dashboard |
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
| `RADIO` | radio |
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
| `SESSION_BANDWIDTH_RESTRICTIONS` | session_bandwidth_restrictions |
| `SESSION_KICK` | session_kick |
| `SHARED_SERVER_NOTIFICATION` | shared_server_notification |
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
| `SIGNIN_NOTIFICATION` | signin_notification |
| `SIGNIN_WITH_APPLE` | signin_with_apple |
| `SILENCE_REMOVAL` | silence-removal |
| `SLEEP_TIMER` | sleep-timer |
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
| `SYNC` | sync |
| `SWEET_FADES` | sweet-fades |
| `TRANSCODER_CACHE` | transcoder_cache |
| `TRAILERS` | trailers |
| `TUNER_SHARING` | tuner-sharing |
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
| `UPGRADE_3DS2` | upgrade-3ds2 |
| `VISUALIZERS` | visualizers |
| `VOD_SCHEMA` | vod-schema |
| `VOD_CLOUDFLARE` | vod_cloudflare |
| `VOLUME_LEVELING` | volume-leveling |
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
| `WATCHLIST_RSS` | watchlist-rss |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WEBHOOKS` | webhooks |

View File

@@ -4,7 +4,8 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `include_https` | [T.nilable(::PlexRubySDK::Operations::IncludeHttps)](../../models/operations/includehttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
| `include_relay` | [T.nilable(::PlexRubySDK::Operations::IncludeRelay)](../../models/operations/includerelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
| `include_i_pv6` | [T.nilable(::PlexRubySDK::Operations::IncludeIPv6)](../../models/operations/includeipv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
| `client_id` | *T.nilable(::String)* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |

View File

@@ -12,28 +12,43 @@
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
| `ALBUM_TYPES` | album-types |
| `ALLOW_DVR` | allow_dvr |
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
| `AVOD_NEW_MEDIA` | avod-new-media |
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
| `BOOST_VOICES` | boost-voices |
| `CAMERA_UPLOAD` | camera_upload |
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
| `CLOUDSYNC` | cloudsync |
| `COLLECTIONS` | collections |
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
| `COMPANIONS_SONOS` | companions_sonos |
| `CONTENT_FILTER` | content_filter |
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
| `DOWNLOADS_GATING` | downloads-gating |
| `DRM_SUPPORT` | drm_support |
| `DVR` | dvr |
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
| `FEDERATED_AUTH` | federated-auth |
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
| `GRANDFATHER_SYNC` | grandfather-sync |
| `GUIDED_UPGRADE` | guided-upgrade |
| `HARDWARE_TRANSCODING` | hardware_transcoding |
| `HOME` | home |
| `HWTRANSCODE` | hwtranscode |
| `IMAGGA_V2` | imagga-v2 |
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
| `ITEM_CLUSTERS` | item_clusters |
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
| `KEVIN_BACON` | kevin-bacon |
| `KOREA_CONSENT` | korea-consent |
@@ -42,25 +57,46 @@
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
| `LIVETV` | livetv |
| `LYRICS` | lyrics |
| `METADATA_SEARCH` | metadata_search |
| `MUSIC_ANALYSIS` | music-analysis |
| `MUSIC_VIDEOS` | music_videos |
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
| `NOMINATIM` | nominatim |
| `PASS` | pass |
| `PHOTOS_FAVORITES` | photos-favorites |
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
| `PHOTOS_V6_EDIT` | photosV6-edit |
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
| `PMS_HEALTH` | pms_health |
| `PREMIUM_DASHBOARD` | premium-dashboard |
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
| `RADIO` | radio |
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
| `SESSION_BANDWIDTH_RESTRICTIONS` | session_bandwidth_restrictions |
| `SESSION_KICK` | session_kick |
| `SHARED_SERVER_NOTIFICATION` | shared_server_notification |
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
| `SIGNIN_NOTIFICATION` | signin_notification |
| `SIGNIN_WITH_APPLE` | signin_with_apple |
| `SILENCE_REMOVAL` | silence-removal |
| `SLEEP_TIMER` | sleep-timer |
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
| `SYNC` | sync |
| `SWEET_FADES` | sweet-fades |
| `TRANSCODER_CACHE` | transcoder_cache |
| `TRAILERS` | trailers |
| `TUNER_SHARING` | tuner-sharing |
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
| `UPGRADE_3DS2` | upgrade-3ds2 |
| `VISUALIZERS` | visualizers |
| `VOD_SCHEMA` | vod-schema |
| `VOD_CLOUDFLARE` | vod_cloudflare |
| `VOLUME_LEVELING` | volume-leveling |
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
| `WATCHLIST_RSS` | watchlist-rss |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WEBHOOKS` | webhooks |

View File

@@ -12,28 +12,43 @@
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
| `ALBUM_TYPES` | album-types |
| `ALLOW_DVR` | allow_dvr |
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
| `AVOD_NEW_MEDIA` | avod-new-media |
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
| `BOOST_VOICES` | boost-voices |
| `CAMERA_UPLOAD` | camera_upload |
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
| `CLOUDSYNC` | cloudsync |
| `COLLECTIONS` | collections |
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
| `COMPANIONS_SONOS` | companions_sonos |
| `CONTENT_FILTER` | content_filter |
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
| `DOWNLOADS_GATING` | downloads-gating |
| `DRM_SUPPORT` | drm_support |
| `DVR` | dvr |
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
| `FEDERATED_AUTH` | federated-auth |
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
| `GRANDFATHER_SYNC` | grandfather-sync |
| `GUIDED_UPGRADE` | guided-upgrade |
| `HARDWARE_TRANSCODING` | hardware_transcoding |
| `HOME` | home |
| `HWTRANSCODE` | hwtranscode |
| `IMAGGA_V2` | imagga-v2 |
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
| `ITEM_CLUSTERS` | item_clusters |
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
| `KEVIN_BACON` | kevin-bacon |
| `KOREA_CONSENT` | korea-consent |
@@ -42,25 +57,46 @@
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
| `LIVETV` | livetv |
| `LYRICS` | lyrics |
| `METADATA_SEARCH` | metadata_search |
| `MUSIC_ANALYSIS` | music-analysis |
| `MUSIC_VIDEOS` | music_videos |
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
| `NOMINATIM` | nominatim |
| `PASS` | pass |
| `PHOTOS_FAVORITES` | photos-favorites |
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
| `PHOTOS_V6_EDIT` | photosV6-edit |
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
| `PMS_HEALTH` | pms_health |
| `PREMIUM_DASHBOARD` | premium-dashboard |
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
| `RADIO` | radio |
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
| `SESSION_BANDWIDTH_RESTRICTIONS` | session_bandwidth_restrictions |
| `SESSION_KICK` | session_kick |
| `SHARED_SERVER_NOTIFICATION` | shared_server_notification |
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
| `SIGNIN_NOTIFICATION` | signin_notification |
| `SIGNIN_WITH_APPLE` | signin_with_apple |
| `SILENCE_REMOVAL` | silence-removal |
| `SLEEP_TIMER` | sleep-timer |
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
| `SYNC` | sync |
| `SWEET_FADES` | sweet-fades |
| `TRANSCODER_CACHE` | transcoder_cache |
| `TRAILERS` | trailers |
| `TUNER_SHARING` | tuner-sharing |
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
| `UPGRADE_3DS2` | upgrade-3ds2 |
| `VISUALIZERS` | visualizers |
| `VOD_SCHEMA` | vod-schema |
| `VOD_CLOUDFLARE` | vod_cloudflare |
| `VOLUME_LEVELING` | volume-leveling |
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
| `WATCHLIST_RSS` | watchlist-rss |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WEBHOOKS` | webhooks |

View File

@@ -12,28 +12,43 @@
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
| `ALBUM_TYPES` | album-types |
| `ALLOW_DVR` | allow_dvr |
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
| `AVOD_NEW_MEDIA` | avod-new-media |
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
| `BOOST_VOICES` | boost-voices |
| `CAMERA_UPLOAD` | camera_upload |
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
| `CLOUDSYNC` | cloudsync |
| `COLLECTIONS` | collections |
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
| `COMPANIONS_SONOS` | companions_sonos |
| `CONTENT_FILTER` | content_filter |
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
| `DOWNLOADS_GATING` | downloads-gating |
| `DRM_SUPPORT` | drm_support |
| `DVR` | dvr |
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
| `FEDERATED_AUTH` | federated-auth |
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
| `GRANDFATHER_SYNC` | grandfather-sync |
| `GUIDED_UPGRADE` | guided-upgrade |
| `HARDWARE_TRANSCODING` | hardware_transcoding |
| `HOME` | home |
| `HWTRANSCODE` | hwtranscode |
| `IMAGGA_V2` | imagga-v2 |
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
| `ITEM_CLUSTERS` | item_clusters |
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
| `KEVIN_BACON` | kevin-bacon |
| `KOREA_CONSENT` | korea-consent |
@@ -42,25 +57,46 @@
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
| `LIVETV` | livetv |
| `LYRICS` | lyrics |
| `METADATA_SEARCH` | metadata_search |
| `MUSIC_ANALYSIS` | music-analysis |
| `MUSIC_VIDEOS` | music_videos |
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
| `NOMINATIM` | nominatim |
| `PASS` | pass |
| `PHOTOS_FAVORITES` | photos-favorites |
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
| `PHOTOS_V6_EDIT` | photosV6-edit |
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
| `PMS_HEALTH` | pms_health |
| `PREMIUM_DASHBOARD` | premium-dashboard |
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
| `RADIO` | radio |
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
| `SESSION_BANDWIDTH_RESTRICTIONS` | session_bandwidth_restrictions |
| `SESSION_KICK` | session_kick |
| `SHARED_SERVER_NOTIFICATION` | shared_server_notification |
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
| `SIGNIN_NOTIFICATION` | signin_notification |
| `SIGNIN_WITH_APPLE` | signin_with_apple |
| `SILENCE_REMOVAL` | silence-removal |
| `SLEEP_TIMER` | sleep-timer |
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
| `SYNC` | sync |
| `SWEET_FADES` | sweet-fades |
| `TRANSCODER_CACHE` | transcoder_cache |
| `TRAILERS` | trailers |
| `TUNER_SHARING` | tuner-sharing |
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
| `UPGRADE_3DS2` | upgrade-3ds2 |
| `VISUALIZERS` | visualizers |
| `VOD_SCHEMA` | vod-schema |
| `VOD_CLOUDFLARE` | vod_cloudflare |
| `VOLUME_LEVELING` | volume-leveling |
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
| `WATCHLIST_RSS` | watchlist-rss |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WEBHOOKS` | webhooks |

View File

@@ -208,7 +208,7 @@ s.config_security(
)
res = s.plex.get_server_resources(include_https=::PlexRubySDK::Operations::IncludeHttps::ENABLE, include_relay=::PlexRubySDK::Operations::IncludeRelay::ENABLE, include_i_pv6=::PlexRubySDK::Operations::IncludeIPv6::ENABLE)
res = s.plex.get_server_resources(include_https=::PlexRubySDK::Operations::IncludeHttps::ENABLE, include_relay=::PlexRubySDK::Operations::IncludeRelay::ENABLE, include_i_pv6=::PlexRubySDK::Operations::IncludeIPv6::ENABLE, client_id="gcgzw5rz2xovp84b4vha3a40")
if ! res.plex_devices.nil?
# handle response
@@ -219,10 +219,11 @@ end
### Parameters
| Parameter | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `include_https` | [::PlexRubySDK::Operations::IncludeHttps](../../models/operations/includehttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
| `include_relay` | [::PlexRubySDK::Operations::IncludeRelay](../../models/operations/includerelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
| `include_i_pv6` | [::PlexRubySDK::Operations::IncludeIPv6](../../models/operations/includeipv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
| `client_id` | *::String* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `server_url` | *String* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
### Response

View File

@@ -20,28 +20,43 @@ module PlexRubySDK
TREBLE_SHOW_FEATURES = new('TREBLE-show-features')
AD_COUNTDOWN_TIMER = new('ad-countdown-timer')
ADAPTIVE_BITRATE = new('adaptive_bitrate')
ALBUM_TYPES = new('album-types')
ALLOW_DVR = new('allow_dvr')
AMAZON_LOOP_DEBUG = new('amazon-loop-debug')
AVOD_AD_ANALYSIS = new('avod-ad-analysis')
AVOD_NEW_MEDIA = new('avod-new-media')
BLACKLIST_GET_SIGNIN = new('blacklist_get_signin')
BOOST_VOICES = new('boost-voices')
CAMERA_UPLOAD = new('camera_upload')
CLIENT_RADIO_STATIONS = new('client-radio-stations')
CLOUDFLARE_TURNSTILE_REQUIRED = new('cloudflare-turnstile-required')
CLOUDSYNC = new('cloudsync')
COLLECTIONS = new('collections')
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = new('comments_and_replies_push_notifications')
COMMUNITY_ACCESS_PLEX_TV = new('community_access_plex_tv')
COMPANIONS_SONOS = new('companions_sonos')
CONTENT_FILTER = new('content_filter')
CUSTOM_HOME_REMOVAL = new('custom-home-removal')
DISABLE_HOME_USER_FRIENDSHIPS = new('disable_home_user_friendships')
DISABLE_SHARING_FRIENDSHIPS = new('disable_sharing_friendships')
DOWNLOADS_GATING = new('downloads-gating')
DRM_SUPPORT = new('drm_support')
DVR = new('dvr')
DVR_BLOCK_UNSUPPORTED_COUNTRIES = new('dvr-block-unsupported-countries')
EPG_RECENT_CHANNELS = new('epg-recent-channels')
EXCLUDE_RESTRICTIONS = new('exclude restrictions')
FEDERATED_AUTH = new('federated-auth')
FRIEND_REQUEST_PUSH_NOTIFICATIONS = new('friend_request_push_notifications')
GRANDFATHER_SYNC = new('grandfather-sync')
GUIDED_UPGRADE = new('guided-upgrade')
HARDWARE_TRANSCODING = new('hardware_transcoding')
HOME = new('home')
HWTRANSCODE = new('hwtranscode')
IMAGGA_V2 = new('imagga-v2')
INCREASE_PASSWORD_COMPLEXITY = new('increase-password-complexity')
IOS14_PRIVACY_BANNER = new('ios14-privacy-banner')
ITERABLE_NOTIFICATION_TOKENS = new('iterable-notification-tokens')
ITEM_CLUSTERS = new('item_clusters')
KEEP_PAYMENT_METHOD = new('keep-payment-method')
KEVIN_BACON = new('kevin-bacon')
KOREA_CONSENT = new('korea-consent')
@@ -50,28 +65,49 @@ module PlexRubySDK
LIGHTNING_DVR_PIVOT = new('lightning-dvr-pivot')
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = new('live-tv-support-incomplete-segments')
LIVETV = new('livetv')
LYRICS = new('lyrics')
METADATA_SEARCH = new('metadata_search')
MUSIC_ANALYSIS = new('music-analysis')
MUSIC_VIDEOS = new('music_videos')
NEW_PLEX_PASS_PRICES = new('new_plex_pass_prices')
NEWS_PROVIDER_SUNSET_MODAL = new('news-provider-sunset-modal')
NOMINATIM = new('nominatim')
PASS = new('pass')
PHOTOS_FAVORITES = new('photos-favorites')
PHOTOS_METADATA_EDITION = new('photos-metadata-edition')
PHOTOS_V6_EDIT = new('photosV6-edit')
PHOTOS_V6_TV_ALBUMS = new('photosV6-tv-albums')
PMS_HEALTH = new('pms_health')
PREMIUM_DASHBOARD = new('premium-dashboard')
PREMIUM_MUSIC_METADATA = new('premium_music_metadata')
RADIO = new('radio')
RATE_LIMIT_CLIENT_TOKEN = new('rate-limit-client-token')
SCROBBLING_SERVICE_PLEX_TV = new('scrobbling-service-plex-tv')
SESSION_BANDWIDTH_RESTRICTIONS = new('session_bandwidth_restrictions')
SESSION_KICK = new('session_kick')
SHARED_SERVER_NOTIFICATION = new('shared_server_notification')
SHARED_SOURCE_NOTIFICATION = new('shared_source_notification')
SIGNIN_NOTIFICATION = new('signin_notification')
SIGNIN_WITH_APPLE = new('signin_with_apple')
SILENCE_REMOVAL = new('silence-removal')
SLEEP_TIMER = new('sleep-timer')
SPRING_SERVE_AD_PROVIDER = new('spring_serve_ad_provider')
SYNC = new('sync')
SWEET_FADES = new('sweet-fades')
TRANSCODER_CACHE = new('transcoder_cache')
TRAILERS = new('trailers')
TUNER_SHARING = new('tuner-sharing')
TWO_FACTOR_AUTHENTICATION = new('two-factor-authentication')
UNSUPPORTEDTUNERS = new('unsupportedtuners')
UPGRADE_3DS2 = new('upgrade-3ds2')
VISUALIZERS = new('visualizers')
VOD_SCHEMA = new('vod-schema')
VOD_CLOUDFLARE = new('vod_cloudflare')
VOLUME_LEVELING = new('volume-leveling')
WATCH_TOGETHER_INVITE = new('watch-together-invite')
WATCHLIST_RSS = new('watchlist-rss')
WEB_SERVER_DASHBOARD = new('web_server_dashboard')
WEBHOOKS = new('webhooks')
end
end
end

View File

@@ -14,6 +14,11 @@ module PlexRubySDK
class GetServerResourcesRequest < ::PlexRubySDK::Utils::FieldAugmented
extend T::Sig
# The unique identifier for the client application
# This is used to track the client application and its usage
# (UUID, serial number, or other number unique per device)
#
field :client_id, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'form', 'explode': true } }
# Include Https entries in the results
field :include_https, T.nilable(::PlexRubySDK::Operations::IncludeHttps), { 'query_param': { 'field_name': 'includeHttps', 'style': 'form', 'explode': true } }
# Include IPv6 entries in the results
@@ -24,8 +29,9 @@ module PlexRubySDK
field :include_relay, T.nilable(::PlexRubySDK::Operations::IncludeRelay), { 'query_param': { 'field_name': 'includeRelay', 'style': 'form', 'explode': true } }
sig { params(include_https: T.nilable(::PlexRubySDK::Operations::IncludeHttps), include_i_pv6: T.nilable(::PlexRubySDK::Operations::IncludeIPv6), include_relay: T.nilable(::PlexRubySDK::Operations::IncludeRelay)).void }
def initialize(include_https: nil, include_i_pv6: nil, include_relay: nil)
sig { params(client_id: T.nilable(::String), include_https: T.nilable(::PlexRubySDK::Operations::IncludeHttps), include_i_pv6: T.nilable(::PlexRubySDK::Operations::IncludeIPv6), include_relay: T.nilable(::PlexRubySDK::Operations::IncludeRelay)).void }
def initialize(client_id: nil, include_https: nil, include_i_pv6: nil, include_relay: nil)
@client_id = client_id
@include_https = include_https
@include_i_pv6 = include_i_pv6
@include_relay = include_relay

View File

@@ -20,28 +20,43 @@ module PlexRubySDK
TREBLE_SHOW_FEATURES = new('TREBLE-show-features')
AD_COUNTDOWN_TIMER = new('ad-countdown-timer')
ADAPTIVE_BITRATE = new('adaptive_bitrate')
ALBUM_TYPES = new('album-types')
ALLOW_DVR = new('allow_dvr')
AMAZON_LOOP_DEBUG = new('amazon-loop-debug')
AVOD_AD_ANALYSIS = new('avod-ad-analysis')
AVOD_NEW_MEDIA = new('avod-new-media')
BLACKLIST_GET_SIGNIN = new('blacklist_get_signin')
BOOST_VOICES = new('boost-voices')
CAMERA_UPLOAD = new('camera_upload')
CLIENT_RADIO_STATIONS = new('client-radio-stations')
CLOUDFLARE_TURNSTILE_REQUIRED = new('cloudflare-turnstile-required')
CLOUDSYNC = new('cloudsync')
COLLECTIONS = new('collections')
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = new('comments_and_replies_push_notifications')
COMMUNITY_ACCESS_PLEX_TV = new('community_access_plex_tv')
COMPANIONS_SONOS = new('companions_sonos')
CONTENT_FILTER = new('content_filter')
CUSTOM_HOME_REMOVAL = new('custom-home-removal')
DISABLE_HOME_USER_FRIENDSHIPS = new('disable_home_user_friendships')
DISABLE_SHARING_FRIENDSHIPS = new('disable_sharing_friendships')
DOWNLOADS_GATING = new('downloads-gating')
DRM_SUPPORT = new('drm_support')
DVR = new('dvr')
DVR_BLOCK_UNSUPPORTED_COUNTRIES = new('dvr-block-unsupported-countries')
EPG_RECENT_CHANNELS = new('epg-recent-channels')
EXCLUDE_RESTRICTIONS = new('exclude restrictions')
FEDERATED_AUTH = new('federated-auth')
FRIEND_REQUEST_PUSH_NOTIFICATIONS = new('friend_request_push_notifications')
GRANDFATHER_SYNC = new('grandfather-sync')
GUIDED_UPGRADE = new('guided-upgrade')
HARDWARE_TRANSCODING = new('hardware_transcoding')
HOME = new('home')
HWTRANSCODE = new('hwtranscode')
IMAGGA_V2 = new('imagga-v2')
INCREASE_PASSWORD_COMPLEXITY = new('increase-password-complexity')
IOS14_PRIVACY_BANNER = new('ios14-privacy-banner')
ITERABLE_NOTIFICATION_TOKENS = new('iterable-notification-tokens')
ITEM_CLUSTERS = new('item_clusters')
KEEP_PAYMENT_METHOD = new('keep-payment-method')
KEVIN_BACON = new('kevin-bacon')
KOREA_CONSENT = new('korea-consent')
@@ -50,28 +65,49 @@ module PlexRubySDK
LIGHTNING_DVR_PIVOT = new('lightning-dvr-pivot')
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = new('live-tv-support-incomplete-segments')
LIVETV = new('livetv')
LYRICS = new('lyrics')
METADATA_SEARCH = new('metadata_search')
MUSIC_ANALYSIS = new('music-analysis')
MUSIC_VIDEOS = new('music_videos')
NEW_PLEX_PASS_PRICES = new('new_plex_pass_prices')
NEWS_PROVIDER_SUNSET_MODAL = new('news-provider-sunset-modal')
NOMINATIM = new('nominatim')
PASS = new('pass')
PHOTOS_FAVORITES = new('photos-favorites')
PHOTOS_METADATA_EDITION = new('photos-metadata-edition')
PHOTOS_V6_EDIT = new('photosV6-edit')
PHOTOS_V6_TV_ALBUMS = new('photosV6-tv-albums')
PMS_HEALTH = new('pms_health')
PREMIUM_DASHBOARD = new('premium-dashboard')
PREMIUM_MUSIC_METADATA = new('premium_music_metadata')
RADIO = new('radio')
RATE_LIMIT_CLIENT_TOKEN = new('rate-limit-client-token')
SCROBBLING_SERVICE_PLEX_TV = new('scrobbling-service-plex-tv')
SESSION_BANDWIDTH_RESTRICTIONS = new('session_bandwidth_restrictions')
SESSION_KICK = new('session_kick')
SHARED_SERVER_NOTIFICATION = new('shared_server_notification')
SHARED_SOURCE_NOTIFICATION = new('shared_source_notification')
SIGNIN_NOTIFICATION = new('signin_notification')
SIGNIN_WITH_APPLE = new('signin_with_apple')
SILENCE_REMOVAL = new('silence-removal')
SLEEP_TIMER = new('sleep-timer')
SPRING_SERVE_AD_PROVIDER = new('spring_serve_ad_provider')
SYNC = new('sync')
SWEET_FADES = new('sweet-fades')
TRANSCODER_CACHE = new('transcoder_cache')
TRAILERS = new('trailers')
TUNER_SHARING = new('tuner-sharing')
TWO_FACTOR_AUTHENTICATION = new('two-factor-authentication')
UNSUPPORTEDTUNERS = new('unsupportedtuners')
UPGRADE_3DS2 = new('upgrade-3ds2')
VISUALIZERS = new('visualizers')
VOD_SCHEMA = new('vod-schema')
VOD_CLOUDFLARE = new('vod_cloudflare')
VOLUME_LEVELING = new('volume-leveling')
WATCH_TOGETHER_INVITE = new('watch-together-invite')
WATCHLIST_RSS = new('watchlist-rss')
WEB_SERVER_DASHBOARD = new('web_server_dashboard')
WEBHOOKS = new('webhooks')
end
end
end

View File

@@ -20,28 +20,43 @@ module PlexRubySDK
TREBLE_SHOW_FEATURES = new('TREBLE-show-features')
AD_COUNTDOWN_TIMER = new('ad-countdown-timer')
ADAPTIVE_BITRATE = new('adaptive_bitrate')
ALBUM_TYPES = new('album-types')
ALLOW_DVR = new('allow_dvr')
AMAZON_LOOP_DEBUG = new('amazon-loop-debug')
AVOD_AD_ANALYSIS = new('avod-ad-analysis')
AVOD_NEW_MEDIA = new('avod-new-media')
BLACKLIST_GET_SIGNIN = new('blacklist_get_signin')
BOOST_VOICES = new('boost-voices')
CAMERA_UPLOAD = new('camera_upload')
CLIENT_RADIO_STATIONS = new('client-radio-stations')
CLOUDFLARE_TURNSTILE_REQUIRED = new('cloudflare-turnstile-required')
CLOUDSYNC = new('cloudsync')
COLLECTIONS = new('collections')
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = new('comments_and_replies_push_notifications')
COMMUNITY_ACCESS_PLEX_TV = new('community_access_plex_tv')
COMPANIONS_SONOS = new('companions_sonos')
CONTENT_FILTER = new('content_filter')
CUSTOM_HOME_REMOVAL = new('custom-home-removal')
DISABLE_HOME_USER_FRIENDSHIPS = new('disable_home_user_friendships')
DISABLE_SHARING_FRIENDSHIPS = new('disable_sharing_friendships')
DOWNLOADS_GATING = new('downloads-gating')
DRM_SUPPORT = new('drm_support')
DVR = new('dvr')
DVR_BLOCK_UNSUPPORTED_COUNTRIES = new('dvr-block-unsupported-countries')
EPG_RECENT_CHANNELS = new('epg-recent-channels')
EXCLUDE_RESTRICTIONS = new('exclude restrictions')
FEDERATED_AUTH = new('federated-auth')
FRIEND_REQUEST_PUSH_NOTIFICATIONS = new('friend_request_push_notifications')
GRANDFATHER_SYNC = new('grandfather-sync')
GUIDED_UPGRADE = new('guided-upgrade')
HARDWARE_TRANSCODING = new('hardware_transcoding')
HOME = new('home')
HWTRANSCODE = new('hwtranscode')
IMAGGA_V2 = new('imagga-v2')
INCREASE_PASSWORD_COMPLEXITY = new('increase-password-complexity')
IOS14_PRIVACY_BANNER = new('ios14-privacy-banner')
ITERABLE_NOTIFICATION_TOKENS = new('iterable-notification-tokens')
ITEM_CLUSTERS = new('item_clusters')
KEEP_PAYMENT_METHOD = new('keep-payment-method')
KEVIN_BACON = new('kevin-bacon')
KOREA_CONSENT = new('korea-consent')
@@ -50,28 +65,49 @@ module PlexRubySDK
LIGHTNING_DVR_PIVOT = new('lightning-dvr-pivot')
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = new('live-tv-support-incomplete-segments')
LIVETV = new('livetv')
LYRICS = new('lyrics')
METADATA_SEARCH = new('metadata_search')
MUSIC_ANALYSIS = new('music-analysis')
MUSIC_VIDEOS = new('music_videos')
NEW_PLEX_PASS_PRICES = new('new_plex_pass_prices')
NEWS_PROVIDER_SUNSET_MODAL = new('news-provider-sunset-modal')
NOMINATIM = new('nominatim')
PASS = new('pass')
PHOTOS_FAVORITES = new('photos-favorites')
PHOTOS_METADATA_EDITION = new('photos-metadata-edition')
PHOTOS_V6_EDIT = new('photosV6-edit')
PHOTOS_V6_TV_ALBUMS = new('photosV6-tv-albums')
PMS_HEALTH = new('pms_health')
PREMIUM_DASHBOARD = new('premium-dashboard')
PREMIUM_MUSIC_METADATA = new('premium_music_metadata')
RADIO = new('radio')
RATE_LIMIT_CLIENT_TOKEN = new('rate-limit-client-token')
SCROBBLING_SERVICE_PLEX_TV = new('scrobbling-service-plex-tv')
SESSION_BANDWIDTH_RESTRICTIONS = new('session_bandwidth_restrictions')
SESSION_KICK = new('session_kick')
SHARED_SERVER_NOTIFICATION = new('shared_server_notification')
SHARED_SOURCE_NOTIFICATION = new('shared_source_notification')
SIGNIN_NOTIFICATION = new('signin_notification')
SIGNIN_WITH_APPLE = new('signin_with_apple')
SILENCE_REMOVAL = new('silence-removal')
SLEEP_TIMER = new('sleep-timer')
SPRING_SERVE_AD_PROVIDER = new('spring_serve_ad_provider')
SYNC = new('sync')
SWEET_FADES = new('sweet-fades')
TRANSCODER_CACHE = new('transcoder_cache')
TRAILERS = new('trailers')
TUNER_SHARING = new('tuner-sharing')
TWO_FACTOR_AUTHENTICATION = new('two-factor-authentication')
UNSUPPORTEDTUNERS = new('unsupportedtuners')
UPGRADE_3DS2 = new('upgrade-3ds2')
VISUALIZERS = new('visualizers')
VOD_SCHEMA = new('vod-schema')
VOD_CLOUDFLARE = new('vod_cloudflare')
VOLUME_LEVELING = new('volume-leveling')
WATCH_TOGETHER_INVITE = new('watch-together-invite')
WATCHLIST_RSS = new('watchlist-rss')
WEB_SERVER_DASHBOARD = new('web_server_dashboard')
WEBHOOKS = new('webhooks')
end
end
end

View File

@@ -20,28 +20,43 @@ module PlexRubySDK
TREBLE_SHOW_FEATURES = new('TREBLE-show-features')
AD_COUNTDOWN_TIMER = new('ad-countdown-timer')
ADAPTIVE_BITRATE = new('adaptive_bitrate')
ALBUM_TYPES = new('album-types')
ALLOW_DVR = new('allow_dvr')
AMAZON_LOOP_DEBUG = new('amazon-loop-debug')
AVOD_AD_ANALYSIS = new('avod-ad-analysis')
AVOD_NEW_MEDIA = new('avod-new-media')
BLACKLIST_GET_SIGNIN = new('blacklist_get_signin')
BOOST_VOICES = new('boost-voices')
CAMERA_UPLOAD = new('camera_upload')
CLIENT_RADIO_STATIONS = new('client-radio-stations')
CLOUDFLARE_TURNSTILE_REQUIRED = new('cloudflare-turnstile-required')
CLOUDSYNC = new('cloudsync')
COLLECTIONS = new('collections')
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = new('comments_and_replies_push_notifications')
COMMUNITY_ACCESS_PLEX_TV = new('community_access_plex_tv')
COMPANIONS_SONOS = new('companions_sonos')
CONTENT_FILTER = new('content_filter')
CUSTOM_HOME_REMOVAL = new('custom-home-removal')
DISABLE_HOME_USER_FRIENDSHIPS = new('disable_home_user_friendships')
DISABLE_SHARING_FRIENDSHIPS = new('disable_sharing_friendships')
DOWNLOADS_GATING = new('downloads-gating')
DRM_SUPPORT = new('drm_support')
DVR = new('dvr')
DVR_BLOCK_UNSUPPORTED_COUNTRIES = new('dvr-block-unsupported-countries')
EPG_RECENT_CHANNELS = new('epg-recent-channels')
EXCLUDE_RESTRICTIONS = new('exclude restrictions')
FEDERATED_AUTH = new('federated-auth')
FRIEND_REQUEST_PUSH_NOTIFICATIONS = new('friend_request_push_notifications')
GRANDFATHER_SYNC = new('grandfather-sync')
GUIDED_UPGRADE = new('guided-upgrade')
HARDWARE_TRANSCODING = new('hardware_transcoding')
HOME = new('home')
HWTRANSCODE = new('hwtranscode')
IMAGGA_V2 = new('imagga-v2')
INCREASE_PASSWORD_COMPLEXITY = new('increase-password-complexity')
IOS14_PRIVACY_BANNER = new('ios14-privacy-banner')
ITERABLE_NOTIFICATION_TOKENS = new('iterable-notification-tokens')
ITEM_CLUSTERS = new('item_clusters')
KEEP_PAYMENT_METHOD = new('keep-payment-method')
KEVIN_BACON = new('kevin-bacon')
KOREA_CONSENT = new('korea-consent')
@@ -50,28 +65,49 @@ module PlexRubySDK
LIGHTNING_DVR_PIVOT = new('lightning-dvr-pivot')
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = new('live-tv-support-incomplete-segments')
LIVETV = new('livetv')
LYRICS = new('lyrics')
METADATA_SEARCH = new('metadata_search')
MUSIC_ANALYSIS = new('music-analysis')
MUSIC_VIDEOS = new('music_videos')
NEW_PLEX_PASS_PRICES = new('new_plex_pass_prices')
NEWS_PROVIDER_SUNSET_MODAL = new('news-provider-sunset-modal')
NOMINATIM = new('nominatim')
PASS = new('pass')
PHOTOS_FAVORITES = new('photos-favorites')
PHOTOS_METADATA_EDITION = new('photos-metadata-edition')
PHOTOS_V6_EDIT = new('photosV6-edit')
PHOTOS_V6_TV_ALBUMS = new('photosV6-tv-albums')
PMS_HEALTH = new('pms_health')
PREMIUM_DASHBOARD = new('premium-dashboard')
PREMIUM_MUSIC_METADATA = new('premium_music_metadata')
RADIO = new('radio')
RATE_LIMIT_CLIENT_TOKEN = new('rate-limit-client-token')
SCROBBLING_SERVICE_PLEX_TV = new('scrobbling-service-plex-tv')
SESSION_BANDWIDTH_RESTRICTIONS = new('session_bandwidth_restrictions')
SESSION_KICK = new('session_kick')
SHARED_SERVER_NOTIFICATION = new('shared_server_notification')
SHARED_SOURCE_NOTIFICATION = new('shared_source_notification')
SIGNIN_NOTIFICATION = new('signin_notification')
SIGNIN_WITH_APPLE = new('signin_with_apple')
SILENCE_REMOVAL = new('silence-removal')
SLEEP_TIMER = new('sleep-timer')
SPRING_SERVE_AD_PROVIDER = new('spring_serve_ad_provider')
SYNC = new('sync')
SWEET_FADES = new('sweet-fades')
TRANSCODER_CACHE = new('transcoder_cache')
TRAILERS = new('trailers')
TUNER_SHARING = new('tuner-sharing')
TWO_FACTOR_AUTHENTICATION = new('two-factor-authentication')
UNSUPPORTEDTUNERS = new('unsupportedtuners')
UPGRADE_3DS2 = new('upgrade-3ds2')
VISUALIZERS = new('visualizers')
VOD_SCHEMA = new('vod-schema')
VOD_CLOUDFLARE = new('vod_cloudflare')
VOLUME_LEVELING = new('volume-leveling')
WATCH_TOGETHER_INVITE = new('watch-together-invite')
WATCHLIST_RSS = new('watchlist-rss')
WEB_SERVER_DASHBOARD = new('web_server_dashboard')
WEBHOOKS = new('webhooks')
end
end
end

View File

@@ -216,15 +216,16 @@ module PlexRubySDK
end
sig { params(include_https: T.nilable(::PlexRubySDK::Operations::IncludeHttps), include_relay: T.nilable(::PlexRubySDK::Operations::IncludeRelay), include_i_pv6: T.nilable(::PlexRubySDK::Operations::IncludeIPv6), server_url: T.nilable(String)).returns(::PlexRubySDK::Operations::GetServerResourcesResponse) }
def get_server_resources(include_https = nil, include_relay = nil, include_i_pv6 = nil, server_url = nil)
sig { params(include_https: T.nilable(::PlexRubySDK::Operations::IncludeHttps), include_relay: T.nilable(::PlexRubySDK::Operations::IncludeRelay), include_i_pv6: T.nilable(::PlexRubySDK::Operations::IncludeIPv6), client_id: T.nilable(::String), server_url: T.nilable(String)).returns(::PlexRubySDK::Operations::GetServerResourcesResponse) }
def get_server_resources(include_https = nil, include_relay = nil, include_i_pv6 = nil, client_id = nil, server_url = nil)
# get_server_resources - Get Server Resources
# Get Plex server access tokens and server connections
request = ::PlexRubySDK::Operations::GetServerResourcesRequest.new(
include_https: include_https,
include_relay: include_relay,
include_i_pv6: include_i_pv6
include_i_pv6: include_i_pv6,
client_id: client_id
)
base_url = Utils.template_url(GET_SERVER_RESOURCES_SERVERS[0], {
})

View File

@@ -42,9 +42,9 @@ module PlexRubySDK
@globals = globals.nil? ? {} : globals
@language = 'ruby'
@openapi_doc_version = '0.0.3'
@sdk_version = '0.4.4'
@sdk_version = '0.4.5'
@gen_version = '2.426.2'
@user_agent = 'speakeasy-sdk/ruby 0.4.4 2.426.2 0.0.3 plex_ruby_sdk'
@user_agent = 'speakeasy-sdk/ruby 0.4.5 2.426.2 0.0.3 plex_ruby_sdk'
end
sig { returns([String, T::Hash[Symbol, String]]) }

View File

@@ -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.4.4'
s.version = '0.4.5'
s.platform = Gem::Platform::RUBY
s.licenses = ['Apache-2.0']
s.summary = ''