DigitalTwinInvokeComponentCommandHeaders Class

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

public class DigitalTwinInvokeComponentCommandHeaders

Defines headers for InvokeComponentCommand operation.

Method Summary

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

Set device Generated Status Code for this Operation.

DigitalTwinInvokeComponentCommandHeaders 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 DigitalTwinInvokeComponentCommandHeaders withXMsCommandStatuscode(Integer xMsCommandStatuscode)

Set device Generated Status Code for this Operation.

Parameters:

xMsCommandStatuscode - the xMsCommandStatuscode value to set

Returns:

the DigitalTwinInvokeComponentCommandHeaders object itself.

withXMsRequestId

public DigitalTwinInvokeComponentCommandHeaders 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 DigitalTwinInvokeComponentCommandHeaders 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