models_v2.chassis_specific_response module

class models_v2.chassis_specific_response.ChassisSpecificResponse(id=None, hardware_model=None, name=None, serial_number=None, node_ids=None, rack_id=None)[source]

Bases: object

Implementation of the ‘Chassis specific response.’ model.

Specifies information about hardware chassis.

Attributes:
id (long|int): Specifies the id of the chassis used to uniquely

identify a chassis.

hardware_model (string): Specifies the hardware model of the chassis. name (string): Specifies the name of the chassis. serial_number (string): Specifies the serial number of the chassis. node_ids (list of long|int): Specifies list of ids of all the nodes in

chassis.

rack_id (long|int): Rack Id that this chassis belong to

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.