Class: PlexRubySDK::Models::Operations::GetMediaProvidersDirectory
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetMediaProvidersDirectory
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/get_media_providers_directory.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(agent: nil, hub_key: nil, id: nil, key: nil, language: nil, pivot: nil, refreshing: nil, scanned_at: nil, scanner: nil, subtype: nil, title: nil, type: nil, updated_at: nil, uuid: nil) ⇒ GetMediaProvidersDirectory
constructor
A new instance of GetMediaProvidersDirectory.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(agent: nil, hub_key: nil, id: nil, key: nil, language: nil, pivot: nil, refreshing: nil, scanned_at: nil, scanner: nil, subtype: nil, title: nil, type: nil, updated_at: nil, uuid: nil) ⇒ GetMediaProvidersDirectory
Returns a new instance of GetMediaProvidersDirectory.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/plex_ruby_sdk/models/operations/get_media_providers_directory.rb', line 47 def initialize(agent: nil, hub_key: nil, id: nil, key: nil, language: nil, pivot: nil, refreshing: nil, scanned_at: nil, scanner: nil, subtype: nil, title: nil, type: nil, updated_at: nil, uuid: nil) @agent = agent @hub_key = hub_key @id = id @key = key @language = language @pivot = pivot @refreshing = refreshing @scanned_at = scanned_at @scanner = scanner @subtype = subtype @title = title @type = type @updated_at = updated_at @uuid = uuid end |
Instance Method Details
#==(other) ⇒ Object
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/plex_ruby_sdk/models/operations/get_media_providers_directory.rb', line 64 def ==(other) return false unless other.is_a? self.class return false unless @agent == other.agent return false unless @hub_key == other.hub_key return false unless @id == other.id return false unless @key == other.key return false unless @language == other.language return false unless @pivot == other.pivot return false unless @refreshing == other.refreshing return false unless @scanned_at == other.scanned_at return false unless @scanner == other.scanner return false unless @subtype == other.subtype return false unless @title == other.title return false unless @type == other.type return false unless @updated_at == other.updated_at return false unless @uuid == other.uuid true end |