你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MethodRequest Class

Represents a request to invoke a direct method.

Initializer for a MethodRequest.

Inheritance
builtins.object
MethodRequest

Constructor

MethodRequest(request_id, name, payload)

Parameters

Name Description
request_id
Required
str

The request id.

name
Required
str

The name of the method to be invoked

payload
Required

The JSON payload being sent with the request.

Variables

Name Description
request_id
str

The request id.

name
str

The name of the method to be invoked.

payload

The JSON payload being sent with the request.

Attributes

name

payload

request_id