Class: Nis::Struct::NemAsyncTimerVisitor
- Inherits:
-
Object
- Object
- Nis::Struct::NemAsyncTimerVisitor
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/nem_async_timer_visitor.rb
Overview
Instance Attribute Summary collapse
-
#average_operation_time ⇒ String
The current value of average_operation_time.
-
#executions ⇒ String
The current value of executions.
-
#failures ⇒ String
The current value of failures.
-
#is_executing ⇒ String
The current value of is_executing.
-
#last_delay_time ⇒ String
The current value of last_delay_time.
-
#last_operation_start_time ⇒ String
The current value of last_operation_start_time.
-
#last_operation_time ⇒ String
The current value of last_operation_time.
-
#name ⇒ String
The current value of name.
-
#successes ⇒ String
The current value of successes.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
26 27 28 |
# File 'lib/nis/struct/nem_async_timer_visitor.rb', line 26 def executing? @is_executing == 1 end |