Пример #1
0
 @Override
 protected void fromMap(String key, Object value) {
   if ("query".equals(key) && value instanceof String) {
     query((String) value);
     return;
   }
   super.fromMap(key, value);
 }
 /**
  * Indicates a potential Action, which describes an idealized action in which this thing would
  * play an 'object' role.
  */
 @NotNull
 public Builder potentialAction(@NotNull Action.Builder action) {
   putValue("potentialAction", action.build());
   return this;
 }