toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SamplingStrategyName.partialScan:
      return 'PartialScan';
    case SamplingStrategyName.fixedRate:
      return 'FixedRate';
  }
}