Class: UU::OS::Shortcut::ShortcutSetAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/shortcut/shortcut_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) artifact_uri

UESURI of the referenced artifact. When null is set, the reference is not modified.



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

def artifact_uri
  @artifact_uri
end

- (Object) code

The new code of the shortcut. When null is set, the code is not modified. The code must be unique in a given artifact, otherwise the setAttributes command fails.



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

def code
  @code
end

- (Object) name

The new name of the shortcut. When null is set, the name is not modified. When empty string is set, the name is set the same as the name of referenced artifact (and this equality is kept from now on for a shortcut referencing an artifact in the same territory).



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

def name
  @name
end