mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 04:20:54 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.4
This commit is contained in:
@@ -5,25 +5,28 @@
|
||||
|
||||
|
||||
module PlexRubySDK
|
||||
module Shared
|
||||
|
||||
module Models
|
||||
module Shared
|
||||
|
||||
|
||||
class Security < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
class Security
|
||||
extend T::Sig
|
||||
include Crystalline::MetadataFields
|
||||
|
||||
|
||||
field :access_token, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'X-Plex-Token' } }
|
||||
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
|
||||
sig { params(access_token: T.nilable(::String)).void }
|
||||
def initialize(access_token: nil)
|
||||
@access_token = access_token
|
||||
end
|
||||
|
||||
def ==(other)
|
||||
return false unless other.is_a? self.class
|
||||
return false unless @access_token == other.access_token
|
||||
true
|
||||
def ==(other)
|
||||
return false unless other.is_a? self.class
|
||||
return false unless @access_token == other.access_token
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user