models_v2.rack_specific_response module

class models_v2.rack_specific_response.RackSpecificResponse(id=None, name=None, location=None, chassis_ids=None)[source]

Bases: object

Implementation of the ‘Rack specific response.’ model.

Specifies information about rack.

Attributes:

id (long|int): Specifies unique id of the rack. name (string): Specifies name of the rack location (string): Specifies location of the rack. chassis_ids (list of long|int): List of chassis ids that are part of

the rack.

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.