public class DevicesRequestExecutor extends PaginatedRequestExecutor<Devices>
DevicesApi. Use this class if you want to fetch
 devices through fluent API in chained fashion, for example:
 
   
   KontaktCloud kontaktCloud = KontaktCloudFactory.create();
   Devices devices = kontaktCloud.devices().fetch()
      .managerIds(managerId)
      .type(DeviceType.BEACON)
      .profile(DeviceProfile.IBEACON)
      .startIndex(5)
      .maxResult(10)
      .filter("major>=155")
      .execute();
   
 | Constructor and Description | 
|---|
| DevicesRequestExecutor(DevicesService devicesService)Constructs request executor initialized with corresponding service class. | 
| Modifier and Type | Method and Description | 
|---|---|
| DevicesRequestExecutor | access(Access... access)Specifies access parameter. | 
| DevicesRequestExecutor | eTag(java.lang.String eTag)Specifies HTTP entity tag purposed for caching REST API calls. | 
| DevicesRequestExecutor | filter(java.lang.String query)Specifies the filter for requested data. | 
| DevicesRequestExecutor | managerIds(java.util.List<java.util.UUID> managerIds)Specifies managers for whom devices are assigned to. | 
| DevicesRequestExecutor | managerIds(java.util.UUID... managerIds)Specifies managers for whom devices are assigned to. | 
| DevicesRequestExecutor | maxResult(int maxResult)Specifies the maximum size of response data collection. | 
| DevicesRequestExecutor | orderBy(OrderBy orderBy,
       Order order)Specifies the ordering of response data elements. | 
| DevicesRequestExecutor | profile(DeviceProfile profile)Specifies device profile. | 
| DevicesRequestExecutor | startIndex(int startIndex)Specifies the start index of requested data. | 
| DevicesRequestExecutor | type(DeviceType type)Specifies device type. | 
| DevicesRequestExecutor | unassignedFor(java.util.UUID managerId)Use that method if you want to fetch devices that are assigned to the given manager
 and not assigned to any venue. | 
| DevicesRequestExecutor | withIds(java.util.List<java.lang.String> uniqueIds)Specifies device unique IDs. | 
| DevicesRequestExecutor | withIds(java.lang.String... uniqueIds)Specifies device unique IDs. | 
execute, executepublic DevicesRequestExecutor(DevicesService devicesService)
devicesService - the devices API service.public DevicesRequestExecutor withIds(java.lang.String... uniqueIds)
uniqueIds - device unique identifiers.public DevicesRequestExecutor withIds(java.util.List<java.lang.String> uniqueIds)
uniqueIds - device unique identifiers.public DevicesRequestExecutor type(DeviceType type)
type - the device type.public DevicesRequestExecutor profile(DeviceProfile profile)
profile - the device profile.public DevicesRequestExecutor unassignedFor(java.util.UUID managerId)
managerId - the manager unique identifier.public DevicesRequestExecutor startIndex(int startIndex)
startIndex in class PaginatedRequestExecutor<Devices>startIndex - the start index.public DevicesRequestExecutor maxResult(int maxResult)
maxResult in class PaginatedRequestExecutor<Devices>maxResult - the maximum response size value.public DevicesRequestExecutor filter(java.lang.String query)
filter in class PaginatedRequestExecutor<Devices>query - the query filter.public DevicesRequestExecutor access(Access... access)
access - the access.public DevicesRequestExecutor managerIds(java.util.UUID... managerIds)
managerIds - manager unique identifiers.public DevicesRequestExecutor managerIds(java.util.List<java.util.UUID> managerIds)
managerIds - manager unique identifiers.public DevicesRequestExecutor orderBy(OrderBy orderBy, Order order)
orderBy in class PaginatedRequestExecutor<Devices>orderBy - the field type that specifies the order by column.order - ascending or descending.public DevicesRequestExecutor eTag(java.lang.String eTag)
eTag in class PaginatedRequestExecutor<Devices>eTag - the entity tag value.