Class: UU::OS::PropertyTemplate::PropertyTemplateCreate

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os-0.29.16/lib/uu/os/property_template/property_template_create.rb

Overview

See Also:

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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



14
15
16
# File 'uu_os-0.29.16/lib/uu/os/property_template/property_template_create.rb', line 14

def code
  @code
end

- (Object) description



17
18
19
# File 'uu_os-0.29.16/lib/uu/os/property_template/property_template_create.rb', line 17

def description
  @description
end

- (Object) name



11
12
13
# File 'uu_os-0.29.16/lib/uu/os/property_template/property_template_create.rb', line 11

def name
  @name
end

- (Object) type



20
21
22
# File 'uu_os-0.29.16/lib/uu/os/property_template/property_template_create.rb', line 20

def type
  @type
end

- (Object) value



23
24
25
# File 'uu_os-0.29.16/lib/uu/os/property_template/property_template_create.rb', line 23

def value
  @value
end

- (Object) value_restriction



26
27
28
# File 'uu_os-0.29.16/lib/uu/os/property_template/property_template_create.rb', line 26

def value_restriction
  @value_restriction
end

Instance Method Details

- (Object) template_uri



52
53
54
# File 'uu_os-0.29.16/lib/uu/os/property_template/property_template_create.rb', line 52

def template_uri 
  attributes[:templateUri]
end

- (Object) template_uri=(val)



56
57
58
59
60
61
62
# File 'uu_os-0.29.16/lib/uu/os/property_template/property_template_create.rb', line 56

def template_uri=(val) 
  if val
    attributes[:templateUri] = UU::OS::UESURI.new(val)
  else
    attributes[:templateUri] = nil
  end
end