models.append_hosts_parameters module

class models.append_hosts_parameters.AppendHostsParameters(hosts=None)[source]

Bases: object

Implementation of the ‘AppendHostsParameters’ model.

Specifies the parameters needed for an append hosts request.

hosts (list of HostEntry): Specifies the list of host entries to be

added to the Cluster’s etc/hosts file.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.