Class: UU::OS::RoleInterface::RoleInterfaceSetAttributes

Inherits:
UU::OS::REST::DTO show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/role_interface/role_interface_set_attributes.rb

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from UU::OS::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 role interface. When null is set, the code is notmodified. The code must be unique in a given territory, otherwisethe setAttributes command fails.



16
17
18
# File 'uu_os_client-0.10.6/lib/uu/os/role_interface/role_interface_set_attributes.rb', line 16

def code
  @code
end

- (Object) description

The new description of the role interface. When null is set, thedescription is not modified.



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

def description
  @description
end

- (Object) icon_uri

URI of the role interface's icon. When null is set, the icon is notmodified. When NULL_URI value is set, theorganizational unit icon is removed and the organizational unituses icon from meta artifact.

Allowed formatURI 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}



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

def icon_uri
  @icon_uri
end

- (Object) name

The new name of the role interface. When null is set, the name is notmodified.



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

def name
  @name
end

- (Object) security_level

The new security level of the role interface. When null is set, thesecurity level is not modified. If the role interface securitylevel is higher than the user's security clearance, thesetAttributes command fails.



25
26
27
# File 'uu_os_client-0.10.6/lib/uu/os/role_interface/role_interface_set_attributes.rb', line 25

def security_level
  @security_level
end