OperationRequestInfo interface
Metadata that is used to properly parse a response.
Properties
operation |
Used to encode the request. |
operation |
A function that returns the proper OperationResponseMap for the given OperationSpec and PipelineResponse combination. If this is undefined, then a simple status code lookup will be used. |
operation |
Used to parse the response. |
should |
Whether or not the PipelineResponse should be deserialized. Defaults to true. |
Property Details
operationArguments
Used to encode the request.
operationArguments?: OperationArguments
Property Value
operationResponseGetter
A function that returns the proper OperationResponseMap for the given OperationSpec and PipelineResponse combination. If this is undefined, then a simple status code lookup will be used.
operationResponseGetter?: (operationSpec: OperationSpec, response: PipelineResponse) => undefined | OperationResponseMap
Property Value
(operationSpec: OperationSpec, response: PipelineResponse) => undefined | OperationResponseMap
operationSpec
shouldDeserialize
Whether or not the PipelineResponse should be deserialized. Defaults to true.
shouldDeserialize?: boolean | (response: PipelineResponse) => boolean
Property Value
boolean | (response: PipelineResponse) => boolean