toIntegrationType method
Implementation
IntegrationType toIntegrationType() {
switch (this) {
case 'HTTP':
return IntegrationType.http;
case 'AWS':
return IntegrationType.aws;
case 'MOCK':
return IntegrationType.mock;
case 'HTTP_PROXY':
return IntegrationType.httpProxy;
case 'AWS_PROXY':
return IntegrationType.awsProxy;
}
throw Exception('$this is not known in enum IntegrationType');
}