toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConfigurationItemStatus.ok:
      return 'OK';
    case ConfigurationItemStatus.resourceDiscovered:
      return 'ResourceDiscovered';
    case ConfigurationItemStatus.resourceNotRecorded:
      return 'ResourceNotRecorded';
    case ConfigurationItemStatus.resourceDeleted:
      return 'ResourceDeleted';
    case ConfigurationItemStatus.resourceDeletedNotRecorded:
      return 'ResourceDeletedNotRecorded';
  }
}