Class: PlexRubySDK::Models::Operations::GetUpdateStatusMediaContainer

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/getupdatestatus_mediacontainer.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(can_install: nil, checked_at: nil, download_url: nil, release: nil, size: nil, status: nil) ⇒ GetUpdateStatusMediaContainer

Returns a new instance of GetUpdateStatusMediaContainer.



31
32
33
34
35
36
37
38
# File 'lib/plex_ruby_sdk/models/operations/getupdatestatus_mediacontainer.rb', line 31

def initialize(can_install: nil, checked_at: nil, download_url: nil, release: nil, size: nil, status: nil)
  @can_install = can_install
  @checked_at = checked_at
  @download_url = download_url
  @release = release
  @size = size
  @status = status
end

Instance Method Details

#==(other) ⇒ Object



40
41
42
43
44
45
46
47
48
49
# File 'lib/plex_ruby_sdk/models/operations/getupdatestatus_mediacontainer.rb', line 40

def ==(other)
  return false unless other.is_a? self.class
  return false unless @can_install == other.can_install
  return false unless @checked_at == other.checked_at
  return false unless @download_url == other.download_url
  return false unless @release == other.release
  return false unless @size == other.size
  return false unless @status == other.status
  true
end