code: public ListThingTypesResult withThingTypes(ThingTypeDefinition... thingTypes) {
          if (this.thingTypes == null) {
              setThingTypes(new java.util.ArrayList<ThingTypeDefinition>(thingTypes.length));
          }
          for (ThingTypeDefinition ele : thingTypes) {
              this.thingTypes.add(ele);
          }
          return this;
      }
docs: <p>
  The thing types.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setThingTypes(java.util.Collection)} or {@link #withThingTypes(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param thingTypes
  The thing types.
  @return Returns a reference to this object so that method calls can be chained together.