Class: Nexpose::External::ImportResult
- Defined in:
- lib/nexpose/external.rb
Overview
Result object returned from an import_assets call, used to correlate the supplied scannable identifier with the resulting asset ID or any error messages from a problematic import.
Instance Attribute Summary collapse
-
#asset ⇒ Object
readonly
The asset created by the import.
-
#asset_id ⇒ Object
readonly
Resulting asset ID of the created asset, if any.
-
#error_message ⇒ Object
readonly
Any error messages associated with the import of the asset.
-
#name ⇒ Object
readonly
IP or hostname provided during import.
Method Summary
Methods inherited from APIObject
Instance Attribute Details
#asset ⇒ Object (readonly)
The asset created by the import. [Lazy]
204 205 206 |
# File 'lib/nexpose/external.rb', line 204 def asset @asset end |
#asset_id ⇒ Object (readonly)
Resulting asset ID of the created asset, if any.
202 203 204 |
# File 'lib/nexpose/external.rb', line 202 def asset_id @asset_id end |
#error_message ⇒ Object (readonly)
Any error messages associated with the import of the asset.
206 207 208 |
# File 'lib/nexpose/external.rb', line 206 def @error_message end |
#name ⇒ Object (readonly)
IP or hostname provided during import.
200 201 202 |
# File 'lib/nexpose/external.rb', line 200 def name @name end |