toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ThingConnectivityIndexingMode.off:
      return 'OFF';
    case ThingConnectivityIndexingMode.status:
      return 'STATUS';
  }
}