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]
209 210 211 |
# File 'lib/nexpose/external.rb', line 209 def asset @asset end |
#asset_id ⇒ Object (readonly)
Resulting asset ID of the created asset, if any.
207 208 209 |
# File 'lib/nexpose/external.rb', line 207 def asset_id @asset_id end |
#error_message ⇒ Object (readonly)
Any error messages associated with the import of the asset.
211 212 213 |
# File 'lib/nexpose/external.rb', line 211 def @error_message end |
#name ⇒ Object (readonly)
IP or hostname provided during import.
205 206 207 |
# File 'lib/nexpose/external.rb', line 205 def name @name end |