DigitalTwins.updateDigitalTwinAsync 方法

定义

重载

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch)

Updates a digital twin.

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, final ServiceCallback<Void> serviceCallback)

Updates a digital twin.

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, String ifMatch)

Updates a digital twin.

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, String ifMatch, final ServiceCallback<Void> serviceCallback)

Updates a digital twin.

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch)

Updates a digital twin.

public Observable<Void> updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch)

参数

id
String

Digital Twin ID.

digitalTwinPatch
List<Object>

json-patch contents to update.

返回

Observable<Void>

the ServiceResponseWithHeaders object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, final ServiceCallback<Void> serviceCallback)

Updates a digital twin.

public ServiceFuture<Void> updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, final ServiceCallback<Void> serviceCallback)

参数

id
String

Digital Twin ID.

digitalTwinPatch
List<Object>

json-patch contents to update.

serviceCallback
final ServiceCallback<Void>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<Void>

the ServiceFuture object

例外

IllegalArgumentException

thrown if parameters fail the validation

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, String ifMatch)

Updates a digital twin.

public Observable<Void> updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, String ifMatch)

参数

id
String

Digital Twin ID.

digitalTwinPatch
List<Object>

json-patch contents to update.

ifMatch
String

the String value

返回

Observable<Void>

the ServiceResponseWithHeaders object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, String ifMatch, final ServiceCallback<Void> serviceCallback)

Updates a digital twin.

public ServiceFuture<Void> updateDigitalTwinAsync(String id, List<Object> digitalTwinPatch, String ifMatch, final ServiceCallback<Void> serviceCallback)

参数

id
String

Digital Twin ID.

digitalTwinPatch
List<Object>

json-patch contents to update.

ifMatch
String

the String value

serviceCallback
final ServiceCallback<Void>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<Void>

the ServiceFuture object

例外

IllegalArgumentException

thrown if parameters fail the validation

适用于