Class: UU::OS::Sheet::SheetVersionAttributes

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

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

Code of the sheet version. Empty by default and filled only when the code differs from the version before.



13
14
15
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_version_attributes.rb', line 13

def code
  @code
end

- (Object) creation_stamp

Creation stamp of the sheet version.



31
32
33
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_version_attributes.rb', line 31

def creation_stamp
  @creation_stamp
end

- (Object) creation_time

Creation time of the sheet version.



28
29
30
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_version_attributes.rb', line 28

def creation_time
  @creation_time
end

- (Object) label

Description of the sheet version.



25
26
27
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_version_attributes.rb', line 25

def label
  @label
end

- (Object) name

Name of the sheet version. Empty by default and filled only when the name differs from the version before.



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

def name
  @name
end

- (Object) sheet_uri

Normalized UESURI of the sheet.



22
23
24
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_version_attributes.rb', line 22

def sheet_uri
  @sheet_uri
end

- (Object) version

Number of the sheet version.



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

def version
  @version
end

- (Object) version_id

ID of the sheet version.



10
11
12
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_version_attributes.rb', line 10

def version_id
  @version_id
end

Instance Method Details

- (Object) revision

Deprecated.

Use #version instead.



58
59
60
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_version_attributes.rb', line 58

def revision 
  attributes[:version]
end

- (Object) revision=(val)

Deprecated.

Use #version instead.



63
64
65
# File 'uu_os-0.29.16/lib/uu/os/sheet/sheet_version_attributes.rb', line 63

def revision=(val) 
  attributes[:version] = val
end