Class: GbDataReading

Inherits:
Object
  • Object
show all
Defined in:
lib/ce-greenbutton/model/gb_data_reading.rb

Overview

Represents an IntervalReading structure.

Author ahmed.seddiq Version 1.0

Instance Attribute Summary collapse

Instance Attribute Details

#costObject

Represents the cost element in the IntervalReading structure



21
22
23
# File 'lib/ce-greenbutton/model/gb_data_reading.rb', line 21

def cost
  @cost
end

#time_durationObject

Represents the duration value from the IntervalReading -> timePeriod structure



15
16
17
# File 'lib/ce-greenbutton/model/gb_data_reading.rb', line 15

def time_duration
  @time_duration
end

#time_startObject

Represents the start time (local) value from the IntervalReading -> timePeriod structure



11
12
13
# File 'lib/ce-greenbutton/model/gb_data_reading.rb', line 11

def time_start
  @time_start
end

#valueObject

Represents the value element in the IntervalReading structure



18
19
20
# File 'lib/ce-greenbutton/model/gb_data_reading.rb', line 18

def value
  @value
end