Class: UU::OS::Group::GroupSetAttributes

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



15
16
17
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_set_attributes.rb', line 15

def code
  @code
end

- (Object) description

The new description of the group. When null is set, the descriptionis not modified.



18
19
20
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_set_attributes.rb', line 18

def description
  @description
end

- (Object) grant_all_from_organizational_unit

Specifies if the group will be included among All roles from organizational unit. When true or null is set, the role will be included, otherwise it will not be included among All roles from organizational unit.



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

def grant_all_from_organizational_unit
  @grant_all_from_organizational_unit
end

- (Object) icon_uri

URI of the group's icon. When null is set, the icon is not modified.When NULL_URI value is set, the groupicon is removed and the group 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}<br>


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/group/group_set_attributes.rb', line 35

def icon_uri
  @icon_uri
end

- (Object) name

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



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

def name
  @name
end

- (Object) searchable_in_territory

Specifies if it is possible to search the group in its territory. When nullis set, this attribute on the group is not modified.



27
28
29
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_set_attributes.rb', line 27

def searchable_in_territory
  @searchable_in_territory
end

- (Object) security_level

The new security level of the group. When null is set, the securitylevel is not modified. If the meta artifact tSecurityLevel ishigher than the user's security clearance, the setAttributescommand fails.



23
24
25
# File 'uu_os_client-0.10.6/lib/uu/os/group/group_set_attributes.rb', line 23

def security_level
  @security_level
end