Class: Nexpose::ReportConfigSummary

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

Overview

Description

Object that represents the summary of a Report Configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, name, format, last_generated_on, last_generated_uri) ⇒ ReportConfigSummary

Constructor ReportConfigSummary(id, name, format, last_generated_on, last_generated_uri)



2350
2351
2352
2353
2354
2355
2356
2357
2358
# File 'lib/nexpose.rb', line 2350

def initialize(id, name, format, last_generated_on, last_generated_uri)

	@id = id
	@name = name
	@format = format
	@last_generated_on = last_generated_on
	@last_generated_uri = last_generated_uri

end

Instance Attribute Details

#formatObject (readonly)

The report format



2342
2343
2344
# File 'lib/nexpose.rb', line 2342

def format
  @format
end

#idObject (readonly)

The Report Configuration ID



2338
2339
2340
# File 'lib/nexpose.rb', line 2338

def id
  @id
end

#last_generated_onObject (readonly)

The date of the last report generation



2344
2345
2346
# File 'lib/nexpose.rb', line 2344

def last_generated_on
  @last_generated_on
end

#last_generated_uriObject (readonly)

Relative URI of the last generated report



2346
2347
2348
# File 'lib/nexpose.rb', line 2346

def last_generated_uri
  @last_generated_uri
end

#nameObject (readonly)

A unique name for the Report



2340
2341
2342
# File 'lib/nexpose.rb', line 2340

def name
  @name
end