Class: UU::OS::RoleSearch::RoleSearchResultItem

Inherits:
UU::OS::REST::DTO show all
Defined in:
uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from UU::OS::REST::DTO

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from UU::OS::REST::DTO

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO

Instance Attribute Details

- (Object) code

The code of the role.



10
11
12
# File 'uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb', line 10

def code
  @code
end

- (Object) icon

The icon of the role (as stored in the code table).



13
14
15
# File 'uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb', line 13

def icon
  @icon
end

- (Object) location_name

The name of the container that this role is in.



16
17
18
# File 'uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb', line 16

def location_name
  @location_name
end

- (Object) location_uri

The UES-URI of the container that this role is in.



19
20
21
# File 'uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb', line 19

def location_uri
  @location_uri
end

- (Object) name

The name of the role.



22
23
24
# File 'uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb', line 22

def name
  @name
end

- (Object) organizational_unit_name

The name of the OU that this role is in.



25
26
27
# File 'uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb', line 25

def organizational_unit_name
  @organizational_unit_name
end

- (Object) organizational_unit_uri

The UES-URI of the OU that this role is in.



28
29
30
# File 'uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb', line 28

def organizational_unit_uri
  @organizational_unit_uri
end

- (Object) state_icon

The state icon of the role (as stored in the code table).



31
32
33
# File 'uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb', line 31

def state_icon
  @state_icon
end

- (Object) state_type

The state type of the role.



34
35
36
# File 'uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb', line 34

def state_type
  @state_type
end

- (Object) uri

The UES-URI of the role.



37
38
39
# File 'uu_os-0.29.16/lib/uu/os/role_search/role_search_result_item.rb', line 37

def uri
  @uri
end