Class: PlexRubySDK::Models::Operations::GetMediaMetaDataMediaContainer
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetMediaMetaDataMediaContainer
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(allow_sync: nil, identifier: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, size: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil) ⇒ GetMediaMetaDataMediaContainer
constructor
A new instance of GetMediaMetaDataMediaContainer.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(allow_sync: nil, identifier: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, size: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil) ⇒ GetMediaMetaDataMediaContainer
Returns a new instance of GetMediaMetaDataMediaContainer.
37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb', line 37 def initialize(allow_sync: nil, identifier: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, size: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil) @allow_sync = allow_sync @identifier = identifier @media_tag_prefix = media_tag_prefix @media_tag_version = media_tag_version @metadata = @size = size @library_section_id = library_section_id @library_section_title = library_section_title @library_section_uuid = library_section_uuid end |
Instance Method Details
#==(other) ⇒ Object
49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/plex_ruby_sdk/models/operations/get_media_meta_data_mediacontainer.rb', line 49 def ==(other) return false unless other.is_a? self.class return false unless @allow_sync == other.allow_sync return false unless @identifier == other.identifier return false unless @media_tag_prefix == other.media_tag_prefix return false unless @media_tag_version == other.media_tag_version return false unless @metadata == other. return false unless @size == other.size 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 true end |