# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module PlexRubySDK module Models module Operations class GetLibraryHubsMediaContainer extend T::Sig include Crystalline::MetadataFields field :allow_sync, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('allowSync') } } field :hub, T.nilable(T::Array[Models::Operations::GetLibraryHubsHub]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Hub') } } field :identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('identifier') } } field :library_section_id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('librarySectionID') } } field :library_section_title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('librarySectionTitle') } } field :library_section_uuid, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('librarySectionUUID') } } field :size, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } } sig { params(allow_sync: T.nilable(T::Boolean), hub: T.nilable(T::Array[Models::Operations::GetLibraryHubsHub]), identifier: T.nilable(::String), library_section_id: T.nilable(::Integer), library_section_title: T.nilable(::String), library_section_uuid: T.nilable(::String), size: T.nilable(::Integer)).void } def initialize(allow_sync: nil, hub: nil, identifier: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, size: nil) @allow_sync = allow_sync @hub = hub @identifier = identifier @library_section_id = library_section_id @library_section_title = library_section_title @library_section_uuid = library_section_uuid @size = size end def ==(other) return false unless other.is_a? self.class return false unless @allow_sync == other.allow_sync return false unless @hub == other.hub return false unless @identifier == other.identifier return false unless @library_section_id == other.library_section_id return false unless @library_section_title == other.library_section_title return false unless @library_section_uuid == other.library_section_uuid return false unless @size == other.size true end end end end end