toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OperationTargetType.namespace:
      return 'NAMESPACE';
    case OperationTargetType.service:
      return 'SERVICE';
    case OperationTargetType.instance:
      return 'INSTANCE';
  }
}