toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ApiKeySourceType.header:
      return 'HEADER';
    case ApiKeySourceType.authorizer:
      return 'AUTHORIZER';
  }
}