toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LifecyclePolicyPreviewStatus.inProgress:
      return 'IN_PROGRESS';
    case LifecyclePolicyPreviewStatus.complete:
      return 'COMPLETE';
    case LifecyclePolicyPreviewStatus.expired:
      return 'EXPIRED';
    case LifecyclePolicyPreviewStatus.failed:
      return 'FAILED';
  }
}