BlockItem#

class BlockItem(block_id=None, rack_name=None, *args, **kwargs)[source]#

Bases: object

Block item containing block serial and rack name

Parameters:
  • block_id – (block_id) Rackable unit serial name

  • rack_name – (rack_name) Rack name

property block_id#

Rackable unit serial name

Type:

str

property rack_name#

Rack name

Type:

str

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model