Class: UU::OS::PersonalRole::TerritoryAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os-0.29.16/lib/uu/os/personal_role/territory_attributes.rb

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from 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) access_role_uri

Access role into the territory, that make accessible the territory to the user of the personal role. Never nil.



26
27
28
# File 'uu_os-0.29.16/lib/uu/os/personal_role/territory_attributes.rb', line 26

def access_role_uri
  @access_role_uri
end

- (Object) code

Code of the territory. Never nil.



17
18
19
# File 'uu_os-0.29.16/lib/uu/os/personal_role/territory_attributes.rb', line 17

def code
  @code
end

- (Object) entity_type_uri

UESURI of the entity type of the territory. Never null.



29
30
31
# File 'uu_os-0.29.16/lib/uu/os/personal_role/territory_attributes.rb', line 29

def entity_type_uri
  @entity_type_uri
end

- (Object) name

Name of the territory. Never nil.



14
15
16
# File 'uu_os-0.29.16/lib/uu/os/personal_role/territory_attributes.rb', line 14

def name
  @name
end

- (Object) preferred

Specifies if this territory is the preferred territory of the personal role's user. Never nil.



23
24
25
# File 'uu_os-0.29.16/lib/uu/os/personal_role/territory_attributes.rb', line 23

def preferred
  @preferred
end

- (Object) type

Type of the territory. Never nil.



20
21
22
# File 'uu_os-0.29.16/lib/uu/os/personal_role/territory_attributes.rb', line 20

def type
  @type
end

- (Object) uri

Normalized UESURI of the territory. Never nil.



11
12
13
# File 'uu_os-0.29.16/lib/uu/os/personal_role/territory_attributes.rb', line 11

def uri
  @uri
end