Class: Nexpose::ReportSummary

Inherits:
Object
  • Object
show all
Defined in:
lib/nexpose.rb

Overview

Description

Object that represents the summary of a single report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, cfg_id, status, generated_on, report_uri) ⇒ ReportSummary

Returns a new instance of ReportSummary.



2299
2300
2301
2302
2303
2304
2305
2306
2307
# File 'lib/nexpose.rb', line 2299

def initialize(id, cfg_id, status, generated_on, report_uri)

	@id = id
	@cfg_id = cfg_id
	@status = status
	@generated_on = generated_on
	@report_uri = report_uri

end

Instance Attribute Details

#cfg_idObject (readonly)

The Report Configuration ID



2290
2291
2292
# File 'lib/nexpose.rb', line 2290

def cfg_id
  @cfg_id
end

#generated_onObject (readonly)

The date on which this report was generated



2295
2296
2297
# File 'lib/nexpose.rb', line 2295

def generated_on
  @generated_on
end

#idObject (readonly)

The Report ID



2288
2289
2290
# File 'lib/nexpose.rb', line 2288

def id
  @id
end

#report_uriObject (readonly)

The relative URI of the report



2297
2298
2299
# File 'lib/nexpose.rb', line 2297

def report_uri
  @report_uri
end

#statusObject (readonly)

The status of this report available | generating | failed



2293
2294
2295
# File 'lib/nexpose.rb', line 2293

def status
  @status
end