Params

Param name Description
id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

device_type
required

Validations:

  • Must be a Hash

device_type[model]
optional

Validations:

  • Must be a String

device_type[manufacturer_id]
optional , nil allowed

Manufacturer ID

Validations:

  • Must be a number.

device_type[u_height]
optional , nil allowed

U Height

Validations:

  • Must be a number.

device_type[is_full_depth]
optional , nil allowed

is_full_depth

Validations:

  • Must be one of: true, false, 1, 0.

device_type[is_pdu]
optional , nil allowed

is_pdu

Validations:

  • Must be one of: true, false, 1, 0.

device_type[is_network_device]
optional , nil allowed

is_network_device

Validations:

  • Must be one of: true, false, 1, 0.

device_type[subdevice_role]
optional , nil allowed

subdevice_role

Validations:

  • Must be a String