code: public void setThingGroups(java.util.Collection<ThingGroupDocument> thingGroups) {
          if (thingGroups == null) {
              this.thingGroups = null;
              return;
          }
  
          this.thingGroups = new java.util.ArrayList<ThingGroupDocument>(thingGroups);
      }
docs: <p>
  The thing groups that match the search query.
  </p>
  
  @param thingGroups
  The thing groups that match the search query.