mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.2
This commit is contained in:
@@ -31,14 +31,14 @@ module PlexRubySDK
|
||||
# Indicates if the region has privacy restrictions.
|
||||
field :in_privacy_restricted_region, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('in_privacy_restricted_region') } }
|
||||
# The postal code of the location.
|
||||
field :postal_code, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('postal_code') } }
|
||||
field :postal_code, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('postal_code') } }
|
||||
# The name of the primary administrative subdivision.
|
||||
field :subdivisions, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subdivisions') } }
|
||||
# The time zone of the country.
|
||||
field :time_zone, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('time_zone') } }
|
||||
|
||||
|
||||
sig { params(city: ::String, code: ::String, continent_code: ::String, coordinates: ::String, country: ::String, european_union_member: T::Boolean, in_privacy_restricted_country: T::Boolean, in_privacy_restricted_region: T::Boolean, postal_code: ::Integer, subdivisions: ::String, time_zone: ::String).void }
|
||||
sig { params(city: ::String, code: ::String, continent_code: ::String, coordinates: ::String, country: ::String, european_union_member: T::Boolean, in_privacy_restricted_country: T::Boolean, in_privacy_restricted_region: T::Boolean, postal_code: ::String, subdivisions: ::String, time_zone: ::String).void }
|
||||
def initialize(city: nil, code: nil, continent_code: nil, coordinates: nil, country: nil, european_union_member: nil, in_privacy_restricted_country: nil, in_privacy_restricted_region: nil, postal_code: nil, subdivisions: nil, time_zone: nil)
|
||||
@city = city
|
||||
@code = code
|
||||
|
||||
@@ -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
|
||||
@@ -22,19 +27,14 @@ module PlexRubySDK
|
||||
# E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
|
||||
#
|
||||
field :include_relay, T.nilable(::PlexRubySDK::Operations::IncludeRelay), { 'query_param': { 'field_name': 'includeRelay', 'style': 'form', 'explode': true } }
|
||||
# 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 :x_plex_client_identifier, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Client-Identifier', '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), x_plex_client_identifier: T.nilable(::String)).void }
|
||||
def initialize(include_https: nil, include_i_pv6: nil, include_relay: nil, x_plex_client_identifier: 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
|
||||
@x_plex_client_identifier = x_plex_client_identifier
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -31,14 +31,14 @@ module PlexRubySDK
|
||||
# Indicates if the region has privacy restrictions.
|
||||
field :in_privacy_restricted_region, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('in_privacy_restricted_region') } }
|
||||
# The postal code of the location.
|
||||
field :postal_code, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('postal_code') } }
|
||||
field :postal_code, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('postal_code') } }
|
||||
# The name of the primary administrative subdivision.
|
||||
field :subdivisions, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subdivisions') } }
|
||||
# The time zone of the country.
|
||||
field :time_zone, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('time_zone') } }
|
||||
|
||||
|
||||
sig { params(city: ::String, code: ::String, continent_code: ::String, coordinates: ::String, country: ::String, european_union_member: T::Boolean, in_privacy_restricted_country: T::Boolean, in_privacy_restricted_region: T::Boolean, postal_code: ::Integer, subdivisions: ::String, time_zone: ::String).void }
|
||||
sig { params(city: ::String, code: ::String, continent_code: ::String, coordinates: ::String, country: ::String, european_union_member: T::Boolean, in_privacy_restricted_country: T::Boolean, in_privacy_restricted_region: T::Boolean, postal_code: ::String, subdivisions: ::String, time_zone: ::String).void }
|
||||
def initialize(city: nil, code: nil, continent_code: nil, coordinates: nil, country: nil, european_union_member: nil, in_privacy_restricted_country: nil, in_privacy_restricted_region: nil, postal_code: nil, subdivisions: nil, time_zone: nil)
|
||||
@city = city
|
||||
@code = code
|
||||
|
||||
@@ -35,12 +35,12 @@ module PlexRubySDK
|
||||
|
||||
field :trusted, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('trusted') } }
|
||||
|
||||
field :auth_token, T.nilable(::Object), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('authToken') } }
|
||||
field :auth_token, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('authToken') } }
|
||||
|
||||
field :new_registration, T.nilable(::Object), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('newRegistration') } }
|
||||
|
||||
|
||||
sig { params(client_identifier: ::String, code: ::String, created_at: ::DateTime, expires_at: ::DateTime, expires_in: ::Integer, id: ::Integer, location: ::PlexRubySDK::Operations::GeoData, product: ::String, qr: ::String, trusted: T::Boolean, auth_token: T.nilable(::Object), new_registration: T.nilable(::Object)).void }
|
||||
sig { params(client_identifier: ::String, code: ::String, created_at: ::DateTime, expires_at: ::DateTime, expires_in: ::Integer, id: ::Integer, location: ::PlexRubySDK::Operations::GeoData, product: ::String, qr: ::String, trusted: T::Boolean, auth_token: T.nilable(::String), new_registration: T.nilable(::Object)).void }
|
||||
def initialize(client_identifier: nil, code: nil, created_at: nil, expires_at: nil, expires_in: nil, id: nil, location: nil, product: nil, qr: nil, trusted: nil, auth_token: nil, new_registration: nil)
|
||||
@client_identifier = client_identifier
|
||||
@code = code
|
||||
|
||||
@@ -14,25 +14,34 @@ module PlexRubySDK
|
||||
class GetPinRequest < ::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 } }
|
||||
|
||||
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 } }
|
||||
# Determines the kind of code returned by the API call
|
||||
# Strong codes are used for Pin authentication flows
|
||||
# Non-Strong codes are used for `Plex.tv/link`
|
||||
#
|
||||
field :strong, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'strong', 'style': 'form', 'explode': true } }
|
||||
# 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 :x_plex_client_identifier, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'form', 'explode': true } }
|
||||
|
||||
field :x_plex_product, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Product', 'style': 'form', 'explode': true } }
|
||||
|
||||
|
||||
sig { params(strong: T.nilable(T::Boolean), x_plex_client_identifier: T.nilable(::String), x_plex_product: T.nilable(::String)).void }
|
||||
def initialize(strong: nil, x_plex_client_identifier: nil, x_plex_product: nil)
|
||||
sig { params(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), strong: T.nilable(T::Boolean)).void }
|
||||
def initialize(client_id: nil, client_name: nil, client_platform: nil, client_version: nil, device_name: nil, strong: nil)
|
||||
@client_id = client_id
|
||||
@client_name = client_name
|
||||
@client_platform = client_platform
|
||||
@client_version = client_version
|
||||
@device_name = device_name
|
||||
@strong = strong
|
||||
@x_plex_client_identifier = x_plex_client_identifier
|
||||
@x_plex_product = x_plex_product
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -35,12 +35,12 @@ module PlexRubySDK
|
||||
|
||||
field :trusted, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('trusted') } }
|
||||
|
||||
field :auth_token, T.nilable(::Object), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('authToken') } }
|
||||
field :auth_token, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('authToken') } }
|
||||
|
||||
field :new_registration, T.nilable(::Object), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('newRegistration') } }
|
||||
|
||||
|
||||
sig { params(client_identifier: ::String, code: ::String, created_at: ::DateTime, expires_at: ::DateTime, expires_in: ::Integer, id: ::Integer, location: ::PlexRubySDK::Operations::GetTokenByPinIdGeoData, product: ::String, qr: ::String, trusted: T::Boolean, auth_token: T.nilable(::Object), new_registration: T.nilable(::Object)).void }
|
||||
sig { params(client_identifier: ::String, code: ::String, created_at: ::DateTime, expires_at: ::DateTime, expires_in: ::Integer, id: ::Integer, location: ::PlexRubySDK::Operations::GetTokenByPinIdGeoData, product: ::String, qr: ::String, trusted: T::Boolean, auth_token: T.nilable(::String), new_registration: T.nilable(::Object)).void }
|
||||
def initialize(client_identifier: nil, code: nil, created_at: nil, expires_at: nil, expires_in: nil, id: nil, location: nil, product: nil, qr: nil, trusted: nil, auth_token: nil, new_registration: nil)
|
||||
@client_identifier = client_identifier
|
||||
@code = code
|
||||
|
||||
@@ -31,14 +31,14 @@ module PlexRubySDK
|
||||
# Indicates if the region has privacy restrictions.
|
||||
field :in_privacy_restricted_region, T::Boolean, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('in_privacy_restricted_region') } }
|
||||
# The postal code of the location.
|
||||
field :postal_code, ::Integer, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('postal_code') } }
|
||||
field :postal_code, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('postal_code') } }
|
||||
# The name of the primary administrative subdivision.
|
||||
field :subdivisions, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('subdivisions') } }
|
||||
# The time zone of the country.
|
||||
field :time_zone, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('time_zone') } }
|
||||
|
||||
|
||||
sig { params(city: ::String, code: ::String, continent_code: ::String, coordinates: ::String, country: ::String, european_union_member: T::Boolean, in_privacy_restricted_country: T::Boolean, in_privacy_restricted_region: T::Boolean, postal_code: ::Integer, subdivisions: ::String, time_zone: ::String).void }
|
||||
sig { params(city: ::String, code: ::String, continent_code: ::String, coordinates: ::String, country: ::String, european_union_member: T::Boolean, in_privacy_restricted_country: T::Boolean, in_privacy_restricted_region: T::Boolean, postal_code: ::String, subdivisions: ::String, time_zone: ::String).void }
|
||||
def initialize(city: nil, code: nil, continent_code: nil, coordinates: nil, country: nil, european_union_member: nil, in_privacy_restricted_country: nil, in_privacy_restricted_region: nil, postal_code: nil, subdivisions: nil, time_zone: nil)
|
||||
@city = city
|
||||
@code = code
|
||||
|
||||
@@ -20,13 +20,13 @@ module PlexRubySDK
|
||||
# This is used to track the client application and its usage
|
||||
# (UUID, serial number, or other number unique per device)
|
||||
#
|
||||
field :x_plex_client_identifier, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'form', 'explode': true } }
|
||||
field :client_id, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'form', 'explode': true } }
|
||||
|
||||
|
||||
sig { params(pin_id: ::Integer, x_plex_client_identifier: T.nilable(::String)).void }
|
||||
def initialize(pin_id: nil, x_plex_client_identifier: nil)
|
||||
sig { params(pin_id: ::Integer, client_id: T.nilable(::String)).void }
|
||||
def initialize(pin_id: nil, client_id: nil)
|
||||
@pin_id = pin_id
|
||||
@x_plex_client_identifier = x_plex_client_identifier
|
||||
@client_id = client_id
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -14,19 +14,19 @@ module PlexRubySDK
|
||||
class PostUsersSignInDataRequest < ::PlexRubySDK::Utils::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# Login credentials
|
||||
field :request_body, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataRequestBody), { 'request': { 'media_type': 'application/x-www-form-urlencoded' } }
|
||||
# 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 :x_plex_client_identifier, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'form', 'explode': true } }
|
||||
field :client_id, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'form', 'explode': true } }
|
||||
# Login credentials
|
||||
field :request_body, T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataRequestBody), { 'request': { 'media_type': 'application/x-www-form-urlencoded' } }
|
||||
|
||||
|
||||
sig { params(request_body: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataRequestBody), x_plex_client_identifier: T.nilable(::String)).void }
|
||||
def initialize(request_body: nil, x_plex_client_identifier: nil)
|
||||
sig { params(client_id: T.nilable(::String), request_body: T.nilable(::PlexRubySDK::Operations::PostUsersSignInDataRequestBody)).void }
|
||||
def initialize(client_id: nil, request_body: nil)
|
||||
@client_id = client_id
|
||||
@request_body = request_body
|
||||
@x_plex_client_identifier = x_plex_client_identifier
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user