Class: PlexRubySDK::Models::Operations::ResponseBody

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(base_url: nil, identifier: nil, link_url: nil, provides: nil, title: nil, token: nil) ⇒ ResponseBody



34
35
36
37
38
39
40
41
# File 'lib/plex_ruby_sdk/models/operations/responsebody.rb', line 34

def initialize(base_url: nil, identifier: nil, link_url: nil, provides: nil, title: nil, token: nil)
  @base_url = base_url
  @identifier = identifier
  @link_url = link_url
  @provides = provides
  @title = title
  @token = token
end

Instance Method Details

#==(other) ⇒ Object



43
44
45
46
47
48
49
50
51
52
# File 'lib/plex_ruby_sdk/models/operations/responsebody.rb', line 43

def ==(other)
  return false unless other.is_a? self.class
  return false unless @base_url == other.base_url
  return false unless @identifier == other.identifier
  return false unless @link_url == other.link_url
  return false unless @provides == other.provides
  return false unless @title == other.title
  return false unless @token == other.token
  true
end