Class: UU::ADK::App::AppSetAttributes Deprecated

Inherits:
OS::REST::DTO show all
Defined in:
uu_adk-0.28.16/lib/uu/adk/app/app_set_attributes.rb

Overview

App Set Attributes DTO.

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from 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 app. When nil is set, the code is not modified. The code must be unique in a given territory, otherwise thesetAttributes command fails.



19
20
21
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_set_attributes.rb', line 19

def code
  @code
end

- (Object) description

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



23
24
25
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_set_attributes.rb', line 23

def description
  @description
end

- (Object) icon_uri

URI of the app's icon. When nil is set, the icon is not modified. When nil URI ("ues:[-1]:[-1]:") value is set, the app icon is removed and the app uses icon from meta artifact.

Examples:

Allowed format of icon URI:

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

An example of icon URI:

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


39
40
41
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_set_attributes.rb', line 39

def icon_uri
  @icon_uri
end

- (Object) name

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



14
15
16
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_set_attributes.rb', line 14

def name
  @name
end

- (Object) security_level

The new security level of the app. When nil 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.



28
29
30
# File 'uu_adk-0.28.16/lib/uu/adk/app/app_set_attributes.rb', line 28

def security_level
  @security_level
end