Class MethodRequest
java.lang.Object
com.azure.media.videoanalyzer.edge.models.MethodRequest
- Direct Known Subclasses:
ItemNonSetRequestBase
,LivePipelineListRequest
,LivePipelineSetRequest
,LivePipelineSetRequestBody
,MethodRequestEmptyBodyBase
,OnvifDeviceDiscoverRequest
,OnvifDeviceGetRequest
,PipelineTopologyListRequest
,PipelineTopologySetRequest
,PipelineTopologySetRequestBody
,RemoteDeviceAdapterListRequest
,RemoteDeviceAdapterSetRequest
,RemoteDeviceAdapterSetRequestBody
Base class for direct method calls.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the apiVersion property: Video Analyzer API version.Get the payload as JSON: the serialized form of the request body
-
Constructor Details
-
MethodRequest
public MethodRequest()Creates an instance of MethodRequest class.
-
-
Method Details
-
getApiVersion
Get the apiVersion property: Video Analyzer API version.- Returns:
- the apiVersion value.
-
getPayloadAsJson
Get the payload as JSON: the serialized form of the request body- Returns:
- the payload as JSON
- Throws:
UnsupportedEncodingException
- UnsupportedEncodingException UnsupportedEncodingException
-