Class: UU::OS::AccessRole::AccessRoleAttributes Deprecated

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

Overview

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 ORGANIZATIONAL.



45
46
47
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 45

def artifact_type
  @artifact_type
end

- (Object) code

Code of the personal access role. Never nil.



21
22
23
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 21

def code
  @code
end

- (Object) company_uri

URI of the compay in which the personal access role lies. Never nil.



33
34
35
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 33

def company_uri
  @company_uri
end

- (Object) competent_role_uri

URI of the competent role. Never nil.



42
43
44
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 42

def competent_role_uri
  @competent_role_uri
end

- (Object) creation_stamp

Creation stamp of the access role.



54
55
56
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 54

def creation_stamp
  @creation_stamp
end

- (Object) creation_time

Creation time of the access role.



57
58
59
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 57

def creation_time
  @creation_time
end

- (Object) description

Description of the personal access role. Never nil.



24
25
26
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 24

def description
  @description
end

- (Object) entity_type_uri

UESURI of the entity type of the access role. Never null.



85
86
87
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 85

def entity_type_uri
  @entity_type_uri
end

- (Object) first_name

First name of the personal access role. Never nil.



15
16
17
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 15

def first_name
  @first_name
end

- (Object) grant_all_from_organizational_unit

Specifies if the access role is be included among All roles fromorganizational unit. Never nil.



82
83
84
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 82

def grant_all_from_organizational_unit
  @grant_all_from_organizational_unit
end

- (Object) icon_uri

URI of the access role's icon. When nil is set, the role uses icon from meta artifact.

Examples:

Allowed format URI of icon:

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

For example:

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


78
79
80
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 78

def icon_uri
  @icon_uri
end

- (Object) location_uri

URI of the personal access role's container. Never nil.



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

def location_uri
  @location_uri
end

- (Object) meta_artifact_uri

URI of the meta artifact. Never nil.



36
37
38
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 36

def meta_artifact_uri
  @meta_artifact_uri
end

- (Object) modification_stamp

Modification stamp of the access role.



60
61
62
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 60

def modification_stamp
  @modification_stamp
end

- (Object) modification_time

Modification time of the access role.



63
64
65
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 63

def modification_time
  @modification_time
end

- (Object) organizational_unit_uri

URI of the organizational unit in which the personal access role lies. Never nil.



30
31
32
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 30

def organizational_unit_uri
  @organizational_unit_uri
end

- (Object) searchable_in_territory

Specifies if it is possible to search the access role in its territory.



69
70
71
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 69

def searchable_in_territory
  @searchable_in_territory
end

- (Object) security_clearance

Security clearance of the access role. Never nil.



51
52
53
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 51

def security_clearance
  @security_clearance
end

- (Object) security_level

Security level of the access role. Never nil.



48
49
50
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 48

def security_level
  @security_level
end

- (Object) surname

Surname of the personal access role. Never nil.



18
19
20
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 18

def surname
  @surname
end

- (Object) universe_id

Universe identifier of the user. Never nil.



39
40
41
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 39

def universe_id
  @universe_id
end

- (Object) uri

Normalized UESURI of the personal access role. Never nil.



12
13
14
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 12

def uri
  @uri
end

- (Object) version

Version of the access role.



66
67
68
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 66

def version
  @version
end

Instance Method Details

- (Object) revision

Deprecated.

Use #version instead.



255
256
257
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 255

def revision
  attributes[:version]
end

- (Object) revision=(val)

Deprecated.

Use #version= instead.



260
261
262
# File 'uu_os_client-0.10.6/lib/uu/os/access_role/access_role_attributes.rb', line 260

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