Class: UU::OS::MetaGroup::MetaGroupSetAttributes

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



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

def code
  @code
end

- (Object) default_artifact_type

Specifies new default artifact type of the created group according to meta group. When nil is set, the default artifact type is not modified.



47
48
49
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_set_attributes.rb', line 47

def default_artifact_type
  @default_artifact_type
end

- (Object) default_code

Specifies new default code of the created group according to meta group. When nil is set, the default code is not modified.



43
44
45
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_set_attributes.rb', line 43

def default_code
  @default_code
end

- (Object) default_icon_uri

Specifies new default icon of the created group according to meta group (specified in metaGroupUri). When nil is set, the default icon is not modified.

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}


60
61
62
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_set_attributes.rb', line 60

def default_icon_uri
  @default_icon_uri
end

- (Object) default_name

Specifies new default name of the created group according to meta group. When nil is set, the default name is not modified.



39
40
41
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_set_attributes.rb', line 39

def default_name
  @default_name
end

- (Object) default_searchable_in_territory

Specifies if it is possible to search for the group created according to the meta group in its territory. When nil is set, the attribute is not modified.



64
65
66
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_set_attributes.rb', line 64

def default_searchable_in_territory
  @default_searchable_in_territory
end

- (Object) default_security_level

Specifies new default security level of the created group according to meta group. When nil is set, the default security is not modified.



51
52
53
# File 'uu_os_client-0.10.6/lib/uu/os/meta_group/meta_group_set_attributes.rb', line 51

def default_security_level
  @default_security_level
end

- (Object) description

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



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

def description
  @description
end

- (Object) icon_uri

UESURI of the new meta group's icon. When nil is set, the icon is not modified. When NULL_URI value is set, the meta group icon is removed and the meta group uses icon from it's source 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}


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

def icon_uri
  @icon_uri
end

- (Object) name

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



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

def name
  @name
end

- (Object) security_level

The new security level of the meta group. When nil is set, the security level is not modified. If the meta group security level is higher than the user's security clearance, the setAttributes command fails.



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

def security_level
  @security_level
end