Class: UU::OS::AccessRole::AccessRoleSetAttributes Deprecated

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

Overview

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) code

The new code of the access role. When nil is set, the code is not modified. When blank string is set, the code is generated automatically using the system sequence. The code must be unique in a given territory, otherwise the setAttributes command fails.



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

def code
  @code
end

- (Object) description

The new description of the access role. When nil is set, the description is not modified.



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

def description
  @description
end

- (Object) first_name

The new first name of the access role. When nil is set, the first name is not modified.



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

def first_name
  @first_name
end

- (Object) grant_all_from_organizational_unit

Specifies if the access role will be included among All roles from organizational unit. When nil is set, this attribute on the access role is not modified.



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

def grant_all_from_organizational_unit
  @grant_all_from_organizational_unit
end

- (Object) icon_uri

UESURI of the access role's icon. When nil is set, the access role is not modified. When nil_URI value is set, the role icon is removed and the role uses icon from metaartifact.

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}


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

def icon_uri
  @icon_uri
end

- (Object) searchable_in_territory

Specifies if it is possible to search the access role in its territory. When nil is set, this attribute on the access role is not modified.



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

def searchable_in_territory
  @searchable_in_territory
end

- (Object) security_clearance

Security clearance of the new access role. When nil is set, the security clearance is not modified.



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

def security_clearance
  @security_clearance
end

- (Object) security_level

Security level of the new access role. When nil is set, security level is taken from the meta artifact SecurityLevel. If the meta artifact SecurityLevel is higher than the user's security clearance, the create command fails.



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

def security_level
  @security_level
end

- (Object) surname

The new surname of the access role. When nil is set, the surname is not modified.



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

def surname
  @surname
end