toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case IntegrationType.aws:
      return 'AWS';
    case IntegrationType.http:
      return 'HTTP';
    case IntegrationType.mock:
      return 'MOCK';
    case IntegrationType.httpProxy:
      return 'HTTP_PROXY';
    case IntegrationType.awsProxy:
      return 'AWS_PROXY';
  }
}