Class: UU::ObjectStore::ObjectSchema::ObjectSchemaSetAttributes

Inherits:
UU::OS::REST::DTO show all
Defined in:
uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_set_attributes.rb

Overview

DTO for updating of the existing object schema.

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from UU::OS::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

- (String) code

New code of the object schema. Code must be unique in scope of object store. Attribute is optional. If not set, code is not changed.

Returns:

  • (String)


18
19
20
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_set_attributes.rb', line 18

def code
  @code
end

- (String) description

New description of the object schema. Attribute is optional. If not set, description is not changed.

Returns:

  • (String)


23
24
25
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_set_attributes.rb', line 23

def description
  @description
end

- (String) name

New name of the object schema. Attribute is optional. If not set, name is not changed.

Returns:

  • (String)


13
14
15
# File 'uu_objectstore-0.6.5/lib/uu/object_store/object_schema/object_schema_set_attributes.rb', line 13

def name
  @name
end