Class: Nis::Struct::AuditInfo

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

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

Instance Attribute Details

#elapsedTimeInteger Also known as: elapsed_time


8
9
10
# File 'lib/nis/struct/audit_info.rb', line 8

def elapsedTime
  @elapsedTime
end

#hostString


8
9
10
# File 'lib/nis/struct/audit_info.rb', line 8

def host
  @host
end

#idString


8
9
10
# File 'lib/nis/struct/audit_info.rb', line 8

def id
  @id
end

#pathString


8
9
10
# File 'lib/nis/struct/audit_info.rb', line 8

def path
  @path
end

#startTimeInteger Also known as: start_time


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