class Nem::Model::Timer

Attributes

average_operation_time[R]
executions[R]
failures[R]
is_executing[R]
last_delay_time[R]
last_operation_start_time[R]
name[R]
operation_time[R]
successes[R]

Public Class Methods

new_from_timer(hash) click to toggle source
# File lib/nem/model/timer.rb, line 16
def self.new_from_timer(hash)
  new(
    last_delay_time: hash[:'last-delay-time'],
    executions: hash[:executions],
    failures: hash[:failures],
    successes: hash[:successes],
    last_operation_start_time: hash[:'last-operation-start-time'],
    is_executing: hash[:'is-executing'],
    name: hash[:name],
    average_operation_time: hash[:'average-operation-time'],
    operation_time: hash[:'operation-time']
  )
end