Class: UU::OS::OrganizationalUnit::OrganizationalUnitAttributes
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::OrganizationalUnit::OrganizationalUnitAttributes
- Defined in:
- uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb
Instance Attribute Summary (collapse)
-
- (Object) artifact_type
Artifact type.
-
- (Object) code
Code of the organizational unit.
-
- (Object) company_uri
URI of the company where the organizational unit is located.
-
- (Object) competent_role_uri
URI of the competent role.
-
- (Object) creation_stamp
Creation stamp of the organizational unit.
-
- (Object) creation_time
Creation time of the organizational unit.
-
- (Object) description
Description of the organizational unit.
-
- (Object) entity_type_uri
UESURI of the entity type of the organizational unit.
-
- (Object) icon_uri
URI of the organizational unit's icon.
-
- (Object) location_uri
URI of the organizational unit's container.
-
- (Object) meta_artifact_uri
URI of the meta artifact.
-
- (Object) modification_stamp
Modification stamp of the organizational unit.
-
- (Object) modification_time
Modification time of the organizational unit.
-
- (Object) name
Name of the organizational unit.
-
- (Object) organizational_unit_uri
URI of the parent organizational unit.
-
- (Object) security_level
Security level of the organizational unit.
-
- (Object) uri
Normalized UESURI of the organizational unit.
-
- (Object) version
Version of the organizational unit.
Instance Method Summary (collapse)
-
- (Object) revision
deprecated
Deprecated.
Use #version instead.
-
- (Object) revision=(val)
deprecated
Deprecated.
Use #version= instead.
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) artifact_type
Artifact type. Always returns UESArtifactType#ORGANIZATIONAL.
40 41 42 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 40 def artifact_type @artifact_type end |
- (Object) code
Code of the organizational unit. Never nil.
16 17 18 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 16 def code @code end |
- (Object) company_uri
URI of the company where the organizational unit is located.
31 32 33 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 31 def company_uri @company_uri end |
- (Object) competent_role_uri
URI of the competent role. Never nil.
37 38 39 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 37 def competent_role_uri @competent_role_uri end |
- (Object) creation_stamp
Creation stamp of the organizational unit.
46 47 48 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 46 def creation_stamp @creation_stamp end |
- (Object) creation_time
Creation time of the organizational unit.
49 50 51 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 49 def creation_time @creation_time end |
- (Object) description
Description of the organizational unit. Never nil.
19 20 21 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 19 def description @description end |
- (Object) entity_type_uri
UESURI of the entity type of the organizational unit. Never nil.
67 68 69 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 67 def entity_type_uri @entity_type_uri end |
- (Object) icon_uri
URI of the organizational unit's icon. When nil is set, the organizational
unit uses icon from meta artifact.
Allowed format URI of icon:
ues:#system:#.CodeTable_Icons:#CODE_OF_ICON
For example:
ues:#system:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons
}:#ART_077
64 65 66 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 64 def icon_uri @icon_uri end |
- (Object) location_uri
URI of the organizational unit's container. Returns nil if the organizational unit is the root of a territory (therefore there is no superior folder, organizational unit etc.).
24 25 26 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 24 def location_uri @location_uri end |
- (Object) meta_artifact_uri
URI of the meta artifact. Never nil.
34 35 36 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 34 def @meta_artifact_uri end |
- (Object) modification_stamp
Modification stamp of the organizational unit.
52 53 54 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 52 def modification_stamp @modification_stamp end |
- (Object) modification_time
Modification time of the organizational unit.
55 56 57 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 55 def modification_time @modification_time end |
- (Object) name
Name of the organizational unit. Never nil.
13 14 15 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 13 def name @name end |
- (Object) organizational_unit_uri
URI of the parent organizational unit. Returns nil if the organizational unit is the root of a territory (therefore there is no superior organizational unit).
28 29 30 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 28 def organizational_unit_uri @organizational_unit_uri end |
- (Object) security_level
Security level of the organizational unit. Never nil.
43 44 45 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 43 def security_level @security_level end |
- (Object) uri
Normalized UESURI of the organizational unit. Never nil.
10 11 12 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 10 def uri @uri end |
- (Object) version
Version of the organizational unit.
58 59 60 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 58 def version @version end |
Instance Method Details
- (Object) revision
Use #version instead.
213 214 215 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 213 def revision attributes[:version] end |
- (Object) revision=(val)
Use #version= instead.
218 219 220 |
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_attributes.rb', line 218 def revision=(val) attributes[:version] = val end |