Class: UU::OS::AppPackage::AppPackageSetAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/app_package/app_package_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 app package. When null 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.



19
20
21
# File 'uu_os_client-0.10.6/lib/uu/os/app_package/app_package_set_attributes.rb', line 19

def code
  @code
end

- (Object) description

The new description of the app package. When null is set, the description is not modified.



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

def description
  @description
end

- (Object) icon_uri

URI of the app package's icon. When null is set, the app package uses icon from meta artifact.

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}



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

def icon_uri
  @icon_uri
end

- (Object) name

The new name of the app package. When null is set, the name is not modified.



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

def name
  @name
end

- (Object) security_level

The new security level of the app package. When null is set, the security level is not modified. If the app package dictionary security level 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/app_package/app_package_set_attributes.rb', line 27

def security_level
  @security_level
end