<p>
The devices returned in the list devices response.
</p>

@param devices
The devices returned in the list devices response.
542733
public void setDevices(java.util.Collection<DeviceType> devices) {
        if (devices == null) {
            this.devices = null;
            return;
        }

        this.devices = new java.util.ArrayList<DeviceType>(devices);
    }
402108
def devices(self):
		""""""

		response = self._call(
			mc_calls.DeviceManagementInfo
		)
		registered_devices = response.body.get('data', {}).get('items', [])

		return registered_devices
429333
public void setItems(java.util.Collection<ApiMapping> items) {
        if (items == null) {
            this.items = null;
            return;
        }

        this.items = new java.util.ArrayList<ApiMapping>(items);
    }
690489
public void setDevices(java.util.Collection<DeviceSummary> devices) {
        if (devices == null) {
            this.devices = null;
            return;
        }

        this.devices = new java.util.ArrayList<DeviceSummary>(devices);
    }
1189691
public void setDeviceMethods(java.util.Collection<DeviceMethod> deviceMethods) {
        if (deviceMethods == null) {
            this.deviceMethods = null;
            return;
        }

        this.deviceMethods = new java.util.ArrayList<DeviceMethod>(deviceMethods);
    }
1114964
public void setInputChannels(java.util.Collection<Integer> inputChannels) {
        if (inputChannels == null) {
            this.inputChannels = null;
            return;
        }

        this.inputChannels = new java.util.ArrayList<Integer>(inputChannels);
    }
826984
public void setConnectors(java.util.Collection<Connector> connectors) {
        if (connectors == null) {
            this.connectors = null;
            return;
        }

        this.connectors = new java.util.ArrayList<Connector>(connectors);
    }
374782
public List<String> getDeviceIDs() {
        final List<String> ids = new ArrayList<>();
        for (final File deviceDir : getDeviceDirs()) {
            ids.add(deviceDir.getName());
        }
        /*
         * //for (final W1Device device: devices) { ids.add(device.getId());
         */
        return ids;
    }
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
302349
public void setItems(java.util.Collection<UsagePlanKey> items) {
        if (items == null) {
            this.items = null;
            return;
        }

        this.items = new java.util.ArrayList<UsagePlanKey>(items);
    }
144211
public void setItems(java.util.Collection<VpcLink> items) {
        if (items == null) {
            this.items = null;
            return;
        }

        this.items = new java.util.ArrayList<VpcLink>(items);
    }
785116
public GetDevicesInPlacementResult withDevices(java.util.Map<String, String> devices) {
        setDevices(devices);
        return this;
    }
81100
def devices
      devices = @adb.devices.map { |d|
        serial = d.serial_number
        (@devices.has_key?(serial) && same_jobject?(@devices[serial].jobject, d)) \
          ? @devices[serial] : Device.new(d)
      }
      @devices = DeviceList.new(devices)
      return @devices
    end
1048535
private static List<WebcamDevice> getDevices(List<Webcam> webcams) {
		List<WebcamDevice> devices = new ArrayList<WebcamDevice>();
		for (Webcam webcam : webcams) {
			devices.add(webcam.getDevice());
		}
		return devices;
	}
950130
public void setItems(java.util.Collection<RequestValidator> items) {
        if (items == null) {
            this.items = null;
            return;
        }

        this.items = new java.util.ArrayList<RequestValidator>(items);
    }
1227282
def list_devices():
    
    output = {}
    for device_id, device in devices.items():
        output[device_id] = {
            'host': device.host,
            'state': device.state
        }
    return jsonify(devices=output)
333040
def listDevices(self, interface_id):
        """"""
        LOG.debug("RPCFunctions.listDevices: interface_id = %s, _devices_raw = %s" % (
            interface_id, str(self._devices_raw)))
        remote = interface_id.split('-')[-1]
        if remote not in self._devices_raw:
            self._devices_raw[remote] = []
        if self.systemcallback:
            self.systemcallback('listDevices', interface_id)
        return self._devices_raw[remote]