public void setThingGroups(java.util.Collection<ThingGroupDocument> thingGroups) {
        if (thingGroups == null) {
            this.thingGroups = null;
            return;
        }

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

@param thingGroups
The thing groups that match the search query.