Class: PlexRubySDK::Models::Operations::Meta
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::Meta
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/meta.rb
Overview
The Meta object is only included in the response if the ‘includeMeta` parameter is set to `1`.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(field_type: nil, type: nil) ⇒ Meta
constructor
A new instance of Meta.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(field_type: nil, type: nil) ⇒ Meta
Returns a new instance of Meta.
24 25 26 27 |
# File 'lib/plex_ruby_sdk/models/operations/meta.rb', line 24 def initialize(field_type: nil, type: nil) @field_type = field_type @type = type end |
Instance Method Details
#==(other) ⇒ Object
29 30 31 32 33 34 |
# File 'lib/plex_ruby_sdk/models/operations/meta.rb', line 29 def ==(other) return false unless other.is_a? self.class return false unless @field_type == other.field_type return false unless @type == other.type true end |