models.host_result module¶
-
class
models.host_result.
HostResult
(message=None)[source]¶ Bases:
object
Implementation of the ‘HostResult’ model.
Specifies the response received after requesting a PUT, POST, or DELETE method on the /network/hosts endpoint.
- Attributes:
- message (string): Specifies a message describing the status of the
Hosts request.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.