Class: FastpixClient::Models::Components::NamedEntitiesResponse

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/fastpix_client/models/components/namedentitiesresponse.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(media_id: nil, is_named_entities_enabled: nil) ⇒ NamedEntitiesResponse

Returns a new instance of NamedEntitiesResponse.



21
22
23
24
# File 'lib/fastpix_client/models/components/namedentitiesresponse.rb', line 21

def initialize(media_id: nil, is_named_entities_enabled: nil)
  @media_id = media_id
  @is_named_entities_enabled = is_named_entities_enabled
end

Instance Method Details

#==(other) ⇒ Object



27
28
29
30
31
32
# File 'lib/fastpix_client/models/components/namedentitiesresponse.rb', line 27

def ==(other)
  return false unless other.is_a? self.class
  return false unless @media_id == other.media_id
  return false unless @is_named_entities_enabled == other.is_named_entities_enabled
  true
end