Class: Nzbn::Models::SearchEntity

Inherits:
Base
  • Object
show all
Defined in:
lib/nzbn/models/search_entity.rb

Overview

Search entity result from entity search

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#to_h, #to_json

Constructor Details

#initialize(attributes = {}) ⇒ SearchEntity

Returns a new instance of SearchEntity.



12
13
14
15
# File 'lib/nzbn/models/search_entity.rb', line 12

def initialize(attributes = {})
  super
  parse_nested_objects(attributes)
end

Instance Attribute Details

#classificationsObject

Returns the value of attribute classifications.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def classifications
  @classifications
end

#entity_nameObject

Returns the value of attribute entity_name.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def entity_name
  @entity_name
end

#entity_status_codeObject

Returns the value of attribute entity_status_code.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def entity_status_code
  @entity_status_code
end

#entity_status_descriptionObject

Returns the value of attribute entity_status_description.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def entity_status_description
  @entity_status_description
end

#entity_type_codeObject

Returns the value of attribute entity_type_code.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def entity_type_code
  @entity_type_code
end

#entity_type_descriptionObject

Returns the value of attribute entity_type_description.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def entity_type_description
  @entity_type_description
end

Returns the value of attribute links.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def links
  @links
end

#nzbnObject

Returns the value of attribute nzbn.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def nzbn
  @nzbn
end

#previous_entity_namesObject

Returns the value of attribute previous_entity_names.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def previous_entity_names
  @previous_entity_names
end

#registration_dateObject

Returns the value of attribute registration_date.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def registration_date
  @registration_date
end

#source_register_unique_idObject

Returns the value of attribute source_register_unique_id.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def source_register_unique_id
  @source_register_unique_id
end

#trading_namesObject

Returns the value of attribute trading_names.



7
8
9
# File 'lib/nzbn/models/search_entity.rb', line 7

def trading_names
  @trading_names
end