toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OriginProtocolPolicyEnum.httpOnly:
      return 'http-only';
    case OriginProtocolPolicyEnum.httpsOnly:
      return 'https-only';
  }
}