toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case WebhookAuthenticationType.githubHmac:
      return 'GITHUB_HMAC';
    case WebhookAuthenticationType.ip:
      return 'IP';
    case WebhookAuthenticationType.unauthenticated:
      return 'UNAUTHENTICATED';
  }
}