docs: public void marshall(Device device, ProtocolMarshaller protocolMarshaller) {
  
          if (device == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(device.getDeviceArn(), DEVICEARN_BINDING);
              protocolMarshaller.marshall(device.getDeviceSerialNumber(), DEVICESERIALNUMBER_BINDING);
              protocolMarshaller.marshall(device.getDeviceType(), DEVICETYPE_BINDING);
              protocolMarshaller.marshall(device.getDeviceName(), DEVICENAME_BINDING);
              protocolMarshaller.marshall(device.getSoftwareVersion(), SOFTWAREVERSION_BINDING);
              protocolMarshaller.marshall(device.getMacAddress(), MACADDRESS_BINDING);
              protocolMarshaller.marshall(device.getRoomArn(), ROOMARN_BINDING);
              protocolMarshaller.marshall(device.getDeviceStatus(), DEVICESTATUS_BINDING);
              protocolMarshaller.marshall(device.getDeviceStatusInfo(), DEVICESTATUSINFO_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }