mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 04:20:54 +00:00
regenerated with newest spec, reconfigured actions and adding publishing
This commit is contained in:
24
lib/plex_ruby_sdk/models/shared/security.rb
Normal file
24
lib/plex_ruby_sdk/models/shared/security.rb
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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': 'query', '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
|
||||
Reference in New Issue
Block a user