mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 04:20:54 +00:00
31 lines
741 B
Ruby
31 lines
741 B
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
# MyPlex Account
|
|
class GetMyPlexAccountResponseBody < ::Crystalline::FieldAugmented
|
|
extend T::Sig
|
|
|
|
|
|
field :my_plex, T.nilable(::PlexRubySDK::Operations::MyPlex), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('MyPlex') } }
|
|
|
|
|
|
sig { params(my_plex: T.nilable(::PlexRubySDK::Operations::MyPlex)).void }
|
|
def initialize(my_plex: nil)
|
|
@my_plex = my_plex
|
|
end
|
|
|
|
def ==(other)
|
|
return false unless other.is_a? self.class
|
|
return false unless @my_plex == other.my_plex
|
|
true
|
|
end
|
|
end
|
|
end
|
|
end
|