Class RemoteDeviceAdapterSetRequest
java.lang.Object
com.azure.media.videoanalyzer.edge.models.MethodRequest
com.azure.media.videoanalyzer.edge.models.RemoteDeviceAdapterSetRequest
Creates a new remote device adapter or updates an existing one.
-
Constructor Summary
ConstructorDescriptionRemoteDeviceAdapterSetRequest
(RemoteDeviceAdapter remoteDeviceAdapter) Creates an instance of RemoteDeviceAdapterSetRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the methodName property: method name.Get the payload as JSON: the serialized form of the request bodyGet the remoteDeviceAdapter property: The Video Analyzer edge module can act as a transparent gateway for video, enabling IoT devices to send video to the cloud from behind a firewall.Methods inherited from class com.azure.media.videoanalyzer.edge.models.MethodRequest
getApiVersion
-
Constructor Details
-
RemoteDeviceAdapterSetRequest
Creates an instance of RemoteDeviceAdapterSetRequest class.- Parameters:
remoteDeviceAdapter
- the remoteDeviceAdapter value to set.
-
-
Method Details
-
getRemoteDeviceAdapter
Get the remoteDeviceAdapter property: The Video Analyzer edge module can act as a transparent gateway for video, enabling IoT devices to send video to the cloud from behind a firewall. A remote device adapter should be created for each such IoT device. Communication between the cloud and IoT device would then flow via the Video Analyzer edge module.- Returns:
- the remoteDeviceAdapter value.
-
getMethodName
Get the methodName property: method name.- Returns:
- the methodName value.
-
getPayloadAsJson
Get the payload as JSON: the serialized form of the request body- Overrides:
getPayloadAsJson
in classMethodRequest
- Returns:
- the payload as JSON
- Throws:
UnsupportedEncodingException
- UnsupportedEncodingException UnsupportedEncodingException
-