Class: UU::OS::AppMetaModel::AppMetaModelSetAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/app_meta_model/app_meta_model_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 meta model. When nil is set, the code is not modified. The code must be unique in a given territory, otherwise thesetAttributes command fails.



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

def code
  @code
end

- (Object) description

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



21
22
23
# File 'uu_os_client-0.10.6/lib/uu/os/app_meta_model/app_meta_model_set_attributes.rb', line 21

def description
  @description
end

- (Object) icon_uri

URI of the app meta model's icon. When nil is set, the icon is not modified. When NULL_URI value is set, the app meta model icon is removed and the app meta model 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



34
35
36
# File 'uu_os_client-0.10.6/lib/uu/os/app_meta_model/app_meta_model_set_attributes.rb', line 34

def icon_uri
  @icon_uri
end

- (Object) name

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



12
13
14
# File 'uu_os_client-0.10.6/lib/uu/os/app_meta_model/app_meta_model_set_attributes.rb', line 12

def name
  @name
end

- (Object) security_level

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



26
27
28
# File 'uu_os_client-0.10.6/lib/uu/os/app_meta_model/app_meta_model_set_attributes.rb', line 26

def security_level
  @security_level
end