toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case HECEndpointType.raw:
      return 'Raw';
    case HECEndpointType.event:
      return 'Event';
  }
}