mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
25 lines
555 B
Ruby
25 lines
555 B
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Shared
|
|
|
|
|
|
class Security < ::PlexRubySDK::Utils::FieldAugmented
|
|
extend T::Sig
|
|
|
|
|
|
field :access_token, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'X-Plex-Token' } }
|
|
|
|
|
|
sig { params(access_token: T.nilable(::String)).void }
|
|
def initialize(access_token: nil)
|
|
@access_token = access_token
|
|
end
|
|
end
|
|
end
|
|
end
|