Class: Nzbn::Models::Role

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

Overview

Role model (director, partner, trustee, etc.)

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#to_h, #to_json

Constructor Details

#initialize(attributes = {}) ⇒ Role

Returns a new instance of Role.



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

def initialize(attributes = {})
  super
  @role_person = RolePerson.new(attributes['rolePerson']) if attributes['rolePerson']
end

Instance Attribute Details

#acnObject

Returns the value of attribute acn.



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

def acn
  @acn
end

#asic_directorship_ynObject

Returns the value of attribute asic_directorship_yn.



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

def asic_directorship_yn
  @asic_directorship_yn
end

#asic_nameObject

Returns the value of attribute asic_name.



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

def asic_name
  @asic_name
end

#end_dateObject

Returns the value of attribute end_date.



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

def end_date
  @end_date
end

#role_addressObject

Returns the value of attribute role_address.



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

def role_address
  @role_address
end

#role_asic_addressObject

Returns the value of attribute role_asic_address.



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

def role_asic_address
  @role_asic_address
end

#role_entityObject

Returns the value of attribute role_entity.



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

def role_entity
  @role_entity
end

#role_personObject

Returns the value of attribute role_person.



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

def role_person
  @role_person
end

#role_statusObject

Returns the value of attribute role_status.



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

def role_status
  @role_status
end

#role_typeObject

Returns the value of attribute role_type.



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

def role_type
  @role_type
end

#start_dateObject

Returns the value of attribute start_date.



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

def start_date
  @start_date
end

#unique_identifierObject

Returns the value of attribute unique_identifier.



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

def unique_identifier
  @unique_identifier
end