code: public ApiResponse<DeviceTypesInfoEnvelope> updateDeviceTypesInfoWithHttpInfo(String dtid, DeviceTypesInfo deviceTypeInfo) throws ApiException {
          com.squareup.okhttp.Call call = updateDeviceTypesInfoValidateBeforeCall(dtid, deviceTypeInfo, null, null);
          Type localVarReturnType = new TypeToken<DeviceTypesInfoEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
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 ApiResponse&lt;DeviceTypesInfoEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body