Class: UU::OS::Property::PropertyCreateCollection

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os_client-0.10.6/lib/uu/os/property/property_create_collection.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

Code of the new property collection. When null is set, the code is generated automatically using the system sequence. The code must be unique in a given artifact, otherwise the create command fails.



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

def code
  @code
end

- (Object) description

Description of the new property collection. When null is set, the description is left empty.



21
22
23
# File 'uu_os_client-0.10.6/lib/uu/os/property/property_create_collection.rb', line 21

def description
  @description
end

- (Object) name

Name of the new property collection. When null is set the create command fails.



12
13
14
# File 'uu_os_client-0.10.6/lib/uu/os/property/property_create_collection.rb', line 12

def name
  @name
end