code: public DeviceTypesInfoEnvelope updateDeviceTypesInfo(String dtid, DeviceTypesInfo deviceTypeInfo) throws ApiException {
          ApiResponse<DeviceTypesInfoEnvelope> resp = updateDeviceTypesInfoWithHttpInfo(dtid, deviceTypeInfo);
          return resp.getData();
      }
docs: Updates a device type information
  Updates a device type information
  @param dtid Device type ID. (required)
  @param deviceTypeInfo Device type info object to be set (required)
  @return DeviceTypesInfoEnvelope
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body