Class: PlexRubySDK::Models::Operations::Action
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::Action
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/action.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id: nil, key: nil) ⇒ Action
constructor
A new instance of Action.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id: nil, key: nil) ⇒ Action
Returns a new instance of Action.
23 24 25 26 |
# File 'lib/plex_ruby_sdk/models/operations/action.rb', line 23 def initialize(id: nil, key: nil) @id = id @key = key end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/plex_ruby_sdk/models/operations/action.rb', line 28 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @key == other.key true end |