Infoblox::Grid::Discovery::StatusInfo - the discovery status information.
The object provides information about the discovery status.
my $object = Infoblox::Grid::Discovery::StatusInfo->new( 'message' => $string, # Required 'status' => 'OK' | 'ERROR' | 'NON_REACHABLE', # Required 'timestamp' => $epoch, # Required );
The object does not support any session methods.
This section describes all the methods that you can use to set or retrieve the attribute values of the object.
Use this method to set or retrieve the detailed message.
The detailed message in string format.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
# Get attribute value my $value = $object->message(); # Modify attribute value $object->message('text');
Use this method to set or retrieve the status of the device.
Valid value is 'OK', 'ERROR' or 'NON_REACHABLE'.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
# Get attribute value my $value = $object->status(); # Modify attribute value $object->status('OK');
Use this method to set or retrieve the timestamp when status was generated.
The date and time in the ISO 8601 extended format (e.g. 2008-10-21T10:56:33Z or 2008-10-21T10:56:33.001Z).
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
# Get attribute value my $value = $object->timestamp(); # Modify attribute value $object->timestamp('2008-10-21T10:56:33Z');
Infoblox Inc. http://www.infoblox.com/
Copyright (c) 2017 Infoblox Inc.