Class: Nis::Struct::AuditInfo
- Inherits:
-
Object
- Object
- Nis::Struct::AuditInfo
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/audit_info.rb
Overview
Instance Attribute Summary collapse
-
#elapsedTime ⇒ Integer
(also: #elapsed_time)
The current value of elapsedTime.
-
#host ⇒ String
The current value of host.
-
#id ⇒ String
The current value of id.
-
#path ⇒ String
The current value of path.
-
#startTime ⇒ Integer
(also: #start_time)
The current value of startTime.
Class Method Summary collapse
Methods included from Util::Assignable
#[], #initialize, #to_hash, #to_json
Instance Attribute Details
#elapsedTime ⇒ Integer Also known as: elapsed_time
Returns the current value of elapsedTime.
8 9 10 |
# File 'lib/nis/struct/audit_info.rb', line 8 def elapsedTime @elapsedTime end |
#host ⇒ String
Returns the current value of host.
8 9 10 |
# File 'lib/nis/struct/audit_info.rb', line 8 def host @host end |
#id ⇒ String
Returns the current value of id.
8 9 10 |
# File 'lib/nis/struct/audit_info.rb', line 8 def id @id end |
#path ⇒ String
Returns the current value of path.
8 9 10 |
# File 'lib/nis/struct/audit_info.rb', line 8 def path @path end |
#startTime ⇒ Integer Also known as: start_time
Returns the current value of startTime.
8 9 10 |
# File 'lib/nis/struct/audit_info.rb', line 8 def startTime @startTime end |
Class Method Details
.build(attrs) ⇒ Object
17 18 19 20 21 |
# File 'lib/nis/struct/audit_info.rb', line 17 def self.build(attrs) attrs[:startTime] = attrs[:'start-time'] attrs[:elapsedTime] = attrs[:'elapsed-time'] new(attrs) end |