Class: UU::OS::Group::GroupAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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/group/group_attributes.rb', line 40

def artifact_type
  @artifact_type
end

- (Object) code

Code of the group. Never null.



17
18
19
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 17

def code
  @code
end

- (Object) company_uri

Normalized UESURI of the organizational unit where the group is located.Never null.



31
32
33
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 31

def company_uri
  @company_uri
end

- (Object) competent_role_uri

Normalized UESURI of the competent role. Never null.



37
38
39
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 37

def competent_role_uri
  @competent_role_uri
end

- (Object) creation_stamp

Creation stamp of the group.



46
47
48
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 46

def creation_stamp
  @creation_stamp
end

- (Object) creation_time

Creation time of the group.



49
50
51
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 49

def creation_time
  @creation_time
end

- (Object) description

Description of the group Never null.



20
21
22
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 20

def description
  @description
end

- (Object) entity_type_uri

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



74
75
76
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 74

def entity_type_uri
  @entity_type_uri
end

- (Object) grant_all_from_organizational_unit

Specifies if the group is included among All roles from organizational unit.



71
72
73
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 71

def grant_all_from_organizational_unit
  @grant_all_from_organizational_unit
end

- (Object) icon_uri

URI of the group's icon. When null is set, the group uses icon frommeta artifact.

Allowed format URI of icon:

ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{CODE_OF_ICON}



Forexample:

ues:#{system}:#{ues_v5.core_v1.codetable_v1.base_v1.CodeTable_Icons}:#{ART_077}


68
69
70
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 68

def icon_uri
  @icon_uri
end

- (Object) location_uri

Normalized UESURI of the container where the group is located. Never null.



23
24
25
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 23

def location_uri
  @location_uri
end

- (Object) meta_artifact_uri

Normalized UESURI of the meta artifact. Never null.



34
35
36
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 34

def meta_artifact_uri
  @meta_artifact_uri
end

- (Object) modification_stamp

Modification stamp of the group.



52
53
54
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 52

def modification_stamp
  @modification_stamp
end

- (Object) modification_time

Modification time of the group.



55
56
57
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 55

def modification_time
  @modification_time
end

- (Object) name

Name of the group. Never null.



14
15
16
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 14

def name
  @name
end

- (Object) organizational_unit_uri

Normalized UESURI of the organizational unit where the group is located.Never null.



27
28
29
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 27

def organizational_unit_uri
  @organizational_unit_uri
end

- (Object) searchable_in_territory

Specifies if it is possible to search the group in its territory. Nevernull.



61
62
63
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 61

def searchable_in_territory
  @searchable_in_territory
end

- (Object) security_level

Security level of the group. Never null.



43
44
45
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 43

def security_level
  @security_level
end

- (Object) uri

Normalized UESURI of the group. Never null.



11
12
13
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 11

def uri
  @uri
end

- (Object) version

Version of the group.



58
59
60
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 58

def version
  @version
end

Instance Method Details

- (Object) revision

Deprecated.

Use #version instead.



220
221
222
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 220

def revision 
  attributes[:version]
end

- (Object) revision=(val)

Deprecated.

Use #version= instead.



225
226
227
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_attributes.rb', line 225

def revision=(val) 
  attributes[:version] = val
end