public class MoveDeviceRequestExecutor extends RequestExecutor<java.lang.String>
DevicesApi. Use this class if you want to move
 devices to manager (even from other company) through fluent API in chained fashion. Example of use:
 
   
   KontaktCloud kontaktCloud = KontaktCloudFactory.create();
   kontaktCloud.devices().move(IDs)
      .toManager(managerId)
      .toCompany(companyId)
      .execute();
   
 
 Keep in mind that at least manager must be specified so invocation of toManager method
 is mandatory. Otherwise an exception will be thrown.| Constructor and Description | 
|---|
| MoveDeviceRequestExecutor(DevicesService devicesService,
                         java.util.List<java.lang.String> uniqueIds)Constructs request executor initialized with corresponding service class and device unique IDs. | 
| MoveDeviceRequestExecutor(DevicesService devicesService,
                         java.lang.String... uniqueIds)Constructs request executor initialized with corresponding service class and device unique IDs. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | execute()Executes created request synchronously. | 
| void | execute(CloudCallback<java.lang.String> callback)Executes created request asynchronously and invokes callback with the result. | 
| MoveDeviceRequestExecutor | toCompany(java.util.UUID companyId)Specifies the company. | 
| MoveDeviceRequestExecutor | toManager(java.lang.String managerEmail)Specifies the manager. | 
public MoveDeviceRequestExecutor(DevicesService devicesService, java.lang.String... uniqueIds)
devicesService - the devices API service.uniqueIds - device unique identifiers.public MoveDeviceRequestExecutor(DevicesService devicesService, java.util.List<java.lang.String> uniqueIds)
devicesService - the devices API service.uniqueIds - device unique identifiers.public MoveDeviceRequestExecutor toManager(java.lang.String managerEmail)
managerEmail - manager email address.public MoveDeviceRequestExecutor toCompany(java.util.UUID companyId)
companyId - company unique identifier.public java.lang.String execute()
                         throws java.io.IOException,
                                KontaktCloudException
execute in class RequestExecutor<java.lang.String>java.io.IOException - exceptionKontaktCloudException - exceptionpublic void execute(CloudCallback<java.lang.String> callback)
execute in class RequestExecutor<java.lang.String>callback - the callback object.