A list of devices in the definition version.

@param devices
A list of devices in the definition version.
964276
public void setDevices(java.util.Collection<Device> devices) {
        if (devices == null) {
            this.devices = null;
            return;
        }

        this.devices = new java.util.ArrayList<Device>(devices);
    }
135785
public void setItems(java.util.Collection<BasePathMapping> items) {
        if (items == null) {
            this.items = null;
            return;
        }

        this.items = new java.util.ArrayList<BasePathMapping>(items);
    }
296667
public void setDeviceManufacturers(com.google.api.ads.admanager.axis.v201808.Technology[] deviceManufacturers) {
        this.deviceManufacturers = deviceManufacturers;
    }
430917
public static void setNoDbDevices(final String[] devices, final String className) {
        DatabaseFactory.useDb = false;
        DatabaseFactory.fileDatabase = new FileTangoDB(Arrays.copyOf(devices, devices.length), className);
    }
141896
def show_devices(verbose=False, **kwargs):
    
    kwargs["find_all"] = True
    devices = find(**kwargs)
    strings = ""
    for device in devices:
        if not verbose:
            strings +=  "%s, %s\n" % (device._str(), _try_lookup(
                _lu.device_classes, device.bDeviceClass))
        else:
            strings += "%s\n\n" % str(device)

    return _DescriptorInfo(strings)
338185
public void setMFADevices(java.util.Collection<MFADevice> mFADevices) {
        if (mFADevices == null) {
            this.mFADevices = null;
            return;
        }

        this.mFADevices = new com.amazonaws.internal.SdkInternalList<MFADevice>(mFADevices);
    }
896216
public void setVirtualNodes(java.util.Collection<VirtualNodeRef> virtualNodes) {
        if (virtualNodes == null) {
            this.virtualNodes = null;
            return;
        }

        this.virtualNodes = new java.util.ArrayList<VirtualNodeRef>(virtualNodes);
    }
41348
static void removeOurDevice(OmemoDevice userDevice, Collection<OmemoDevice> devices) {
        if (devices.contains(userDevice)) {
            devices.remove(userDevice);
        }
    }
1169533
def devices():
    
    udids = [udid.strip() for udid in idevice('_id', '-l').splitlines() if udid.strip()]
    return {udid: idevice('name', '-u', udid).decode('utf-8').strip() for udid in udids}
964977
public void setThingTypes(java.util.Collection<ThingTypeDefinition> thingTypes) {
        if (thingTypes == null) {
            this.thingTypes = null;
            return;
        }

        this.thingTypes = new java.util.ArrayList<ThingTypeDefinition>(thingTypes);
    }
1034983
def obtain_all_devices(my_devices):
    """"""
    new_devices = {}
    for device_name, device_or_group in my_devices.items():
        # Skip any groups
        if not isinstance(device_or_group, list):
            new_devices[device_name] = device_or_group
    return new_devices
68039
public void setCompatibleDevices(java.util.Collection<DevicePoolCompatibilityResult> compatibleDevices) {
        if (compatibleDevices == null) {
            this.compatibleDevices = null;
            return;
        }

        this.compatibleDevices = new java.util.ArrayList<DevicePoolCompatibilityResult>(compatibleDevices);
    }
81691
def refresh_devices(self):
        ''''''
        try:
            response = self.api.get("/api/v2/devices", {'properties':'all'})
            for device_data in response['DeviceList']:
                self.devices.append(Device(device_data, self))
        except APIError as e:
            print("API error: ")
            for key,value in e.data.iteritems:
                print(str(key) + ": " + str(value))
995950
public void setSmartHomeAppliances(java.util.Collection<SmartHomeAppliance> smartHomeAppliances) {
        if (smartHomeAppliances == null) {
            this.smartHomeAppliances = null;
            return;
        }

        this.smartHomeAppliances = new java.util.ArrayList<SmartHomeAppliance>(smartHomeAppliances);
    }
218049
public void setProcessors(java.util.Collection<Processor> processors) {
        if (processors == null) {
            this.processors = null;
            return;
        }

        this.processors = new java.util.ArrayList<Processor>(processors);
    }
26668
public void setItems(java.util.Collection<Model> items) {
        if (items == null) {
            this.items = null;
            return;
        }

        this.items = new java.util.ArrayList<Model>(items);
    }
1079257
public void setHostIds(java.util.Collection<String> hostIds) {
        if (hostIds == null) {
            this.hostIds = null;
            return;
        }

        this.hostIds = new com.amazonaws.internal.SdkInternalList<String>(hostIds);
    }