models_v2.pre_post_script_host module

class models_v2.pre_post_script_host.PrePostScriptHost(hostname=None, username=None, host_type=None)[source]

Bases: object

Implementation of the ‘Pre/Post Script Host’ model.

Specifies the params for the host of a pre / post script.

Attributes:
hostname (string): Specifies the Hostname or IP address of the host

where the pre and post script will be run.

username (string): Specifies the username for the host. host_type (HostTypeEnum): Specifies the Operating system type of the

host.

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.