models_v2.host_information module

class models_v2.host_information.HostInformation(id=None, name=None, environment=None)[source]

Bases: object

Implementation of the ‘HostInformation’ model.

Specifies the host information for a objects. This is mainly populated in case of App objects where app object is hosted by another object such as VM or physical server.

Attributes:

id (string): Specifies the id of the host object. name (string): Specifies the name of the host object. environment (EnvironmentEnum): Specifies the environment of the

object.

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.