ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5

This commit is contained in:
speakeasybot
2024-09-28 00:09:32 +00:00
parent 40e6afeb04
commit c21edf4600
116 changed files with 252 additions and 161 deletions

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
AUTO_SELECT_SUBTITLE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# AutoSelectSubtitle - The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
BILLING_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
CONNECTIONS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
DEFAULT_SUBTITLE_ACCESSIBILITY_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# DefaultSubtitleAccessibility - The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only show non-SDH subtitles)

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
DEFAULT_SUBTITLE_FORCED_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# DefaultSubtitleForced - The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
FEATURES_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
FRIEND_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GEO_DATA_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Geo location data

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_SERVER_RESOURCES_BAD_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_SERVER_RESOURCES_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_SERVER_RESOURCES_PLEX_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_SERVER_RESOURCES_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_SERVER_RESOURCES_RESPONSE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_SERVER_RESOURCES_UNAUTHORIZED_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_COMPANIONS_DATA_BAD_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_COMPANIONS_DATA_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_COMPANIONS_DATA_PLEX_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_COMPANIONS_DATA_RESPONSE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_COMPANIONS_DATA_UNAUTHORIZED_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_GEO_DATA_BAD_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_GEO_DATA_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_GEO_DATA_GEO_DATA_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Geo location data

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_GEO_DATA_PLEX_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_GEO_DATA_RESPONSE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_GEO_DATA_UNAUTHORIZED_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_PIN_AUTH_PIN_CONTAINER_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Requests a new pin id used in the authentication flow

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_PIN_BAD_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_PIN_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_PIN_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_PIN_RESPONSE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_BY_PIN_ID_AUTH_PIN_CONTAINER_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# The Pin with a non-null authToken when it has been verified by the user

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_BY_PIN_ID_BAD_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_BY_PIN_ID_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_BY_PIN_ID_GEO_DATA_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Geo location data

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_BY_PIN_ID_PLEX_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_BY_PIN_ID_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
@@ -16,11 +16,29 @@ module PlexRubySDK
# The PinID to retrieve an access token for
field :pin_id, ::Integer, { 'path_param': { 'field_name': 'pinID', 'style': 'simple', 'explode': false } }
# 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 } }
field :client_name, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Product', 'style': 'form', 'explode': true } }
field :client_platform, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Platform', 'style': 'form', 'explode': true } }
field :client_version, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Version', 'style': 'form', 'explode': true } }
field :device_name, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Device', 'style': 'form', 'explode': true } }
sig { params(pin_id: ::Integer).void }
def initialize(pin_id: nil)
sig { params(pin_id: ::Integer, client_id: T.nilable(::String), client_name: T.nilable(::String), client_platform: T.nilable(::String), client_version: T.nilable(::String), device_name: T.nilable(::String)).void }
def initialize(pin_id: nil, client_id: nil, client_name: nil, client_platform: nil, client_version: nil, device_name: nil)
@pin_id = pin_id
@client_id = client_id
@client_name = client_name
@client_platform = client_platform
@client_version = client_version
@device_name = device_name
end
end
end

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_BY_PIN_ID_RESPONSE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_BY_PIN_ID_RESPONSE_BODY_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Not Found or Expired

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_AUTHENTICATION_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_AUTHENTICATION_RESPONSE_STATUS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# GetTokenDetailsAuthenticationResponseStatus - String representation of subscriptionActive

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_AUTHENTICATION_STATUS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# GetTokenDetailsAuthenticationStatus - String representation of subscriptionActive

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_BAD_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_FEATURES_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_RESPONSE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_STATUS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_SUBSCRIPTION_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_UNAUTHORIZED_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_TOKEN_DETAILS_USER_PLEX_ACCOUNT_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Logged in user details
@@ -60,7 +60,7 @@ module PlexRubySDK
field :locale, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('locale') } }
# If you are subscribed to the Plex newsletter
field :mailing_list_active, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mailingListActive') } }
# Your current mailing list status
# Your current mailing list status (active or unsubscribed)
field :mailing_list_status, ::PlexRubySDK::Operations::MailingListStatus, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mailingListStatus'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::MailingListStatus, false) } }
# The maximum number of accounts allowed in the Plex Home
field :max_home_size, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('maxHomeSize') } }

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_USER_FRIENDS_BAD_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_USER_FRIENDS_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_USER_FRIENDS_PLEX_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_USER_FRIENDS_RESPONSE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
GET_USER_FRIENDS_UNAUTHORIZED_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
INCLUDE_HTTPS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# IncludeHttps - Include Https entries in the results

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
INCLUDE_I_PV6_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# IncludeIPv6 - Include IPv6 entries in the results

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
INCLUDE_RELAY_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# IncludeRelay - Include Relay addresses in the results

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
INTERNAL_PAYMENT_METHOD_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,10 +7,10 @@
module PlexRubySDK
module Operations
MAILING_LIST_STATUS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# MailingListStatus - Your current mailing list status
# MailingListStatus - Your current mailing list status (active or unsubscribed)
class MailingListStatus < T::Enum
enums do
ACTIVE = new('active')

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
MEDIA_REVIEWS_VISIBILITY_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# MediaReviewsVisibility - Whether or not the account has media reviews visibility enabled

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
PAST_SUBSCRIPTION_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
PLEX_DEVICE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_AUTHENTICATION_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_AUTHENTICATION_FEATURES_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_AUTHENTICATION_RESPONSE_STATUS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# PostUsersSignInDataAuthenticationResponseStatus - String representation of subscriptionActive

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_AUTHENTICATION_STATUS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# PostUsersSignInDataAuthenticationStatus - String representation of subscriptionActive

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_AUTHENTICATION_SUBSCRIPTION_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_AUTO_SELECT_SUBTITLE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# PostUsersSignInDataAutoSelectSubtitle - The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_BAD_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Bad Request - A parameter was not specified, or was specified incorrectly.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_DEFAULT_SUBTITLE_ACCESSIBILITY_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# PostUsersSignInDataDefaultSubtitleAccessibility - The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only show non-SDH subtitles)

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_DEFAULT_SUBTITLE_FORCED_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# PostUsersSignInDataDefaultSubtitleForced - The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_ERRORS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_FEATURES_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,10 +7,10 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_MAILING_LIST_STATUS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# PostUsersSignInDataMailingListStatus - Your current mailing list status
# PostUsersSignInDataMailingListStatus - Your current mailing list status (active or unsubscribed)
class PostUsersSignInDataMailingListStatus < T::Enum
enums do
ACTIVE = new('active')

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_MEDIA_REVIEWS_VISIBILITY_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# PostUsersSignInDataMediaReviewsVisibility - Whether or not the account has media reviews visibility enabled

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_REQUEST_BODY_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Login credentials

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_RESPONSE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_SERVICES_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_STATE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_STATUS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_SUBSCRIPTION_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# If the accounts Plex Pass subscription is active

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_UNAUTHORIZED_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Unauthorized - Returned if the X-Plex-Token is missing from the header or query.

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_USER_PLEX_ACCOUNT_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Returns the user account data with a valid auth token
@@ -60,7 +60,7 @@ module PlexRubySDK
field :locale, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('locale') } }
# If you are subscribed to the Plex newsletter
field :mailing_list_active, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mailingListActive') } }
# Your current mailing list status
# Your current mailing list status (active or unsubscribed)
field :mailing_list_status, ::PlexRubySDK::Operations::PostUsersSignInDataMailingListStatus, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('mailingListStatus'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::PostUsersSignInDataMailingListStatus, false) } }
# The maximum number of accounts allowed in the Plex Home
field :max_home_size, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('maxHomeSize') } }

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_USER_PROFILE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
POST_USERS_SIGN_IN_DATA_WATCHED_INDICATOR_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# PostUsersSignInDataWatchedIndicator - Whether or not media watched indicators are enabled (little orange dot on media)

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
PROTOCOL_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Protocol - The protocol used for the connection (http, https, etc)

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
RESPONSE_BODY_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
SERVICES_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
SHARED_SERVERS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
SHARED_SOURCES_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
STATUS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# Status - Current friend request status

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
SUBSCRIPTION_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# If the accounts Plex Pass subscription is active

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
TRIALS_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
USER_PROFILE_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze

View File

@@ -7,7 +7,7 @@
module PlexRubySDK
module Operations
WATCHED_INDICATOR_SERVERS = [
'https://plex.tv/api/v2/'
'https://plex.tv/api/v2'
].freeze
# WatchedIndicator - Whether or not media watched indicators are enabled (little orange dot on media)