Class: Nis::Struct::NemAsyncTimerVisitor

Inherits:
Object
  • Object
show all
Includes:
Util::Assignable
Defined in:
lib/nis/struct/nem_async_timer_visitor.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_hash, #to_json

Instance Attribute Details

#average_operation_time ⇒ String

Returns the current value of average_operation_time.

Returns:

  • (String) —

    the current value of average_operation_time



12
13
14
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 12

def average_operation_time
  @average_operation_time
end

#executions ⇒ String

Returns the current value of executions.

Returns:

  • (String) —

    the current value of executions



12
13
14
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 12

def executions
  @executions
end

#failures ⇒ String

Returns the current value of failures.

Returns:

  • (String) —

    the current value of failures



12
13
14
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 12

def failures
  @failures
end

#is_executing ⇒ String

Returns the current value of is_executing.

Returns:

  • (String) —

    the current value of is_executing



12
13
14
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 12

def is_executing
  @is_executing
end

#last_delay_time ⇒ String

Returns the current value of last_delay_time.

Returns:

  • (String) —

    the current value of last_delay_time



12
13
14
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 12

def last_delay_time
  @last_delay_time
end

#last_operation_start_time ⇒ String

Returns the current value of last_operation_start_time.

Returns:

  • (String) —

    the current value of last_operation_start_time



12
13
14
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 12

def last_operation_start_time
  @last_operation_start_time
end

#last_operation_time ⇒ String

Returns the current value of last_operation_time.

Returns:

  • (String) —

    the current value of last_operation_time



12
13
14
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 12

def last_operation_time
  @last_operation_time
end

#name ⇒ String

Returns the current value of name.

Returns:

  • (String) —

    the current value of name



12
13
14
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 12

def name
  @name
end

#successes ⇒ String

Returns the current value of successes.

Returns:

  • (String) —

    the current value of successes



12
13
14
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 12

def successes
  @successes
end

Class Method Details

.build(attrs) ⇒ Object



16
17
18
19
20
21
22
23
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 16

def self.build(attrs)
  attrs[:last_delay_time] = attrs[:'last-delay-time']
  attrs[:last_operation_start_time] = attrs[:'last-operation-start-time']
  attrs[:is_executing] = attrs[:'is-executing']
  attrs[:average_operation_time] = attrs[:'average-operation-time']
  attrs[:last_operation_time] = attrs[:'last-operation-time']
  new(attrs)
end

Instance Method Details

#executing? ⇒ Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 26

def executing?
  @is_executing == 1
end