public class UpdateVenueRequestExecutor extends RequestExecutor<java.lang.String>
VenuesApi. Use this class if you want to update
 venues through fluent API in chained fashion. Example of use:
 
   
   KontaktCloud kontaktCloud = KontaktCloudFactory.create();
   // define updated venue object
   kontaktCloud.venues().update(ID)
      .with(updatedVenue)
      .execute();
   
 
 Keep in mind that venue must be specified so invocation of with method is mandatory.
 Otherwise an exception will be thrown.| Constructor and Description | 
|---|
| UpdateVenueRequestExecutor(VenuesService venuesService,
                          java.util.UUID id)Constructs request executor initialized with corresponding service class and venue unique 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. | 
| UpdateVenueRequestExecutor | with(Venue venue)Specifies venue data to update. | 
| UpdateVenueRequestExecutor | withImageFile(byte[] bytes)Specifies new image file. | 
| UpdateVenueRequestExecutor | withImageFile(java.io.File file)Specifies new image file. | 
public UpdateVenueRequestExecutor(VenuesService venuesService, java.util.UUID id)
venuesService - the venues API service.id - venue unique identifier.public UpdateVenueRequestExecutor with(Venue venue)
venue - updated venue data.public UpdateVenueRequestExecutor withImageFile(java.io.File file) throws java.io.IOException
file - the image file.java.io.IOException - instance of IOExceptionpublic UpdateVenueRequestExecutor withImageFile(byte[] bytes) throws java.io.IOException
bytes - the image file as a bytes stream.java.io.IOException - instance of IOExceptionpublic 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.