models.oracle_host module¶
-
class
models.oracle_host.
OracleHost
(cpu_count=None, ip_addresses=None, ports=None, sessions=None)[source]¶ Bases:
object
Implementation of the ‘OracleHost’ model.
Specifies information about an Oracle Host.
- Attributes:
cpu_count (int): Specifies the count of CPU available on the host. ip_addresses (list of string): Specifies the IP address of the host. ports (list of long|int): Specifies ports available for this host. sessions (list of OracleSession): Specifies multiple session
configurations available for this 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.