docs: public GetDeviceMethodsResult withDeviceMethods(DeviceMethod... deviceMethods) {
          if (this.deviceMethods == null) {
              setDeviceMethods(new java.util.ArrayList<DeviceMethod>(deviceMethods.length));
          }
          for (DeviceMethod ele : deviceMethods) {
              this.deviceMethods.add(ele);
          }
          return this;
      }