toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BusinessReportFailureCode.accessDenied:
      return 'ACCESS_DENIED';
    case BusinessReportFailureCode.noSuchBucket:
      return 'NO_SUCH_BUCKET';
    case BusinessReportFailureCode.internalFailure:
      return 'INTERNAL_FAILURE';
  }
}