class Transformers {

   static Optional<String> modelToGoogleType(Model m) {
      if(m == null) {
         return Optional.empty();
      }
      if(m.supports(DeviceCapability.NAMESPACE)) {
         return devTypeHintToGoogleType(DeviceModel.getDevtypehint(m));
      }
      if(m.supports(SceneCapability.NAMESPACE)) {
         return Optional.of(Constants.Type.SCENE);
      }
      return Optional.empty();
   }

   private  Transformers();

}