Class: UU::OS::Shortcut::ShortcutCreate
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::Shortcut::ShortcutCreate
- Defined in:
- uu_os_client-0.10.6/lib/uu/os/shortcut/shortcut_create.rb
Instance Attribute Summary (collapse)
-
- (Object) artifact_uri
UESURI of the referenced artifact.
-
- (Object) code
Code of the new shortcut.
-
- (Object) name
Name of the new shortcut.
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. Cannot be null.
23 24 25 |
# File 'uu_os_client-0.10.6/lib/uu/os/shortcut/shortcut_create.rb', line 23 def artifact_uri @artifact_uri end |
- (Object) code
Code of the new shortcut. When null is set, the code is generated automatically using the system sequence. The code must be unique in a given territory, otherwise the create command fails.
20 21 22 |
# File 'uu_os_client-0.10.6/lib/uu/os/shortcut/shortcut_create.rb', line 20 def code @code end |
- (Object) name
Name of the new shortcut. When null is set, the name of the referenced artifact is used (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_create.rb', line 15 def name @name end |