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)



1873
1874
1875
1876
1877
1878
1879
1880
1881
# File 'lib/nexpose.rb', line 1873

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



1865
1866
1867
# File 'lib/nexpose.rb', line 1865

def format
  @format
end

#idObject (readonly)

The Report Configuration ID



1861
1862
1863
# File 'lib/nexpose.rb', line 1861

def id
  @id
end

#last_generated_onObject (readonly)

The date of the last report generation



1867
1868
1869
# File 'lib/nexpose.rb', line 1867

def last_generated_on
  @last_generated_on
end

#last_generated_uriObject (readonly)

Relative URI of the last generated report



1869
1870
1871
# File 'lib/nexpose.rb', line 1869

def last_generated_uri
  @last_generated_uri
end

#nameObject (readonly)

A unique name for the Report



1863
1864
1865
# File 'lib/nexpose.rb', line 1863

def name
  @name
end