public class UpdateReceiverRequestExecutor extends RequestExecutor<java.lang.String>
ReceiversApi. Use this class if you want to update
 receivers through fluent API in chained fashion. Example of use:
 
   
   KontaktCloud kontaktCloud = KontaktCloudFactory.create();
   // define updated receiver object
   kontaktCloud.receivers().update(ID)
      .with(updatedReceiver)
      .execute();
   
 
 Keep in mind that receiver must be specified so invocation of with method is mandatory.
 Otherwise an exception will be thrown.| Constructor and Description | 
|---|
| UpdateReceiverRequestExecutor(ReceiversService receiversService,
                             java.util.UUID id)Constructs request executor initialized with corresponding service class and receiver ID. | 
| 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. | 
| UpdateReceiverRequestExecutor | with(Receiver receiver)Specifies receiver data to update. | 
public UpdateReceiverRequestExecutor(ReceiversService receiversService, java.util.UUID id)
receiversService - the receivers API service.id - the receiver's identifier.public UpdateReceiverRequestExecutor with(Receiver receiver)
receiver - updated receiver data.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.