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