Class: UU::OS::OrganizationalUnit::OrganizationalUnitSetAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_set_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) code

The new code of the organizational unit. When null is set, the code is not modified. The code must be unique in a given territory, otherwise the setAttributes command fails.



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

def code
  @code
end

- (Object) description

The new description of the organizational unit. When null is set, the description is not modified.



22
23
24
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_set_attributes.rb', line 22

def description
  @description
end

- (Object) icon_uri

URI of the organizational unit's icon. When null is set, the icon is not modified. When NULL_URI value is set, the organizational unit icon is removed and 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



35
36
37
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_set_attributes.rb', line 35

def icon_uri
  @icon_uri
end

- (Object) name

The new name of the organizational unit. When null is set, the name is not modified.



13
14
15
# File 'uu_os_client-0.10.6/lib/uu/os/organizational_unit/organizational_unit_set_attributes.rb', line 13

def name
  @name
end

- (Object) security_level

The new security level of the organizational unit. When null is set, the security level is not modified. If the meta artifact tSecurityLevel is higher than the user's security clearance, the setAttributes command fails.



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

def security_level
  @security_level
end