DigitalTwinInvokeRootLevelCommandHeaders Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.service.digitaltwin.generated.models.DigitalTwinInvokeRootLevelCommandHeaders

public class DigitalTwinInvokeRootLevelCommandHeaders

Defines headers for InvokeRootLevelCommand operation.

Method Summary

Modifier and Type Method and Description
DigitalTwinInvokeRootLevelCommandHeaders withXMsCommandStatuscode(Integer xMsCommandStatuscode)

Set device Generated Status Code for this Operation.

DigitalTwinInvokeRootLevelCommandHeaders withXMsRequestId(String xMsRequestId)

Set server Generated Request Id (GUID), to uniquely identify this request in the service.

Integer xMsCommandStatuscode()

Get device Generated Status Code for this Operation.

String xMsRequestId()

Get server Generated Request Id (GUID), to uniquely identify this request in the service.

Method Details

withXMsCommandStatuscode

public DigitalTwinInvokeRootLevelCommandHeaders withXMsCommandStatuscode(Integer xMsCommandStatuscode)

Set device Generated Status Code for this Operation.

Parameters:

xMsCommandStatuscode - the xMsCommandStatuscode value to set

Returns:

the DigitalTwinInvokeRootLevelCommandHeaders object itself.

withXMsRequestId

public DigitalTwinInvokeRootLevelCommandHeaders withXMsRequestId(String xMsRequestId)

Set server Generated Request Id (GUID), to uniquely identify this request in the service.

Parameters:

xMsRequestId - the xMsRequestId value to set

Returns:

the DigitalTwinInvokeRootLevelCommandHeaders object itself.

xMsCommandStatuscode

public Integer xMsCommandStatuscode()

Get device Generated Status Code for this Operation.

Returns:

the xMsCommandStatuscode value

xMsRequestId

public String xMsRequestId()

Get server Generated Request Id (GUID), to uniquely identify this request in the service.

Returns:

the xMsRequestId value

Applies to