Skip to content

[F] getOperationResponse

function getOperationResponse(program, operation): undefined | Model

Get the main success response from an operation

Parameters

ParameterTypeDescription
programProgramGet success responses for an operation
operationOperationThe operation to process

Returns

undefined | Model

A model, if there is a 2xx response, or nothing otherwise