Class: UU::OS::Attachment::AttachmentSetAttributes

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os-0.29.16/lib/uu/os/attachment/attachment_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 attachment. When nil is set, the code is not modified. The code must be unique in a given artifact, otherwise the setAttributes command fails.



12
13
14
# File 'uu_os-0.29.16/lib/uu/os/attachment/attachment_set_attributes.rb', line 12

def code
  @code
end

- (Object) description

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



19
20
21
# File 'uu_os-0.29.16/lib/uu/os/attachment/attachment_set_attributes.rb', line 19

def description
  @description
end

- (Object) name

The new name of the attachment. When nil is set, the name is taken from the attachment file name. The name must be unique in a given artifact, otherwise the setAttributes command fails.



16
17
18
# File 'uu_os-0.29.16/lib/uu/os/attachment/attachment_set_attributes.rb', line 16

def name
  @name
end