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

Returns the current value of elapsedTime.

Returns:

  • (Integer)

    the current value of elapsedTime



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

def elapsedTime
  @elapsedTime
end

#hostString

Returns the current value of host.

Returns:

  • (String)

    the current value of host



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

def host
  @host
end

#idString

Returns the current value of id.

Returns:

  • (String)

    the current value of id



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

def id
  @id
end

#pathString

Returns the current value of path.

Returns:

  • (String)

    the current value of path



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

def path
  @path
end

#startTimeInteger Also known as: start_time

Returns the current value of startTime.

Returns:

  • (Integer)

    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