models.node_hardware_info module

class models.node_hardware_info.NodeHardwareInfo(cpu=None, memory_size_bytes=None, network=None)[source]

Bases: object

Implementation of the ‘NodeHardwareInfo’ model.

NodeHardwareInfo provides the information regarding the hardware.

Attributes:

cpu (string): Cpu provides the information regarding the CPU. memory_size_bytes (long|int): MemorySizeBytes provides the memory size

in bytes.

network (string): Network provides the information regarding the

network cards.

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.