Class: PlexRubySDK::Models::Operations::GetGlobalHubsMediaContainer
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetGlobalHubsMediaContainer
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/getglobalhubs_mediacontainer.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(allow_sync: nil, hub: nil, identifier: nil, size: nil) ⇒ GetGlobalHubsMediaContainer
constructor
A new instance of GetGlobalHubsMediaContainer.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(allow_sync: nil, hub: nil, identifier: nil, size: nil) ⇒ GetGlobalHubsMediaContainer
Returns a new instance of GetGlobalHubsMediaContainer.
27 28 29 30 31 32 |
# File 'lib/plex_ruby_sdk/models/operations/getglobalhubs_mediacontainer.rb', line 27 def initialize(allow_sync: nil, hub: nil, identifier: nil, size: nil) @allow_sync = allow_sync @hub = hub @identifier = identifier @size = size end |
Instance Method Details
#==(other) ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/plex_ruby_sdk/models/operations/getglobalhubs_mediacontainer.rb', line 34 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 @size == other.size true end |