toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ImageBuilderStateChangeReasonCode.internalError:
      return 'INTERNAL_ERROR';
    case ImageBuilderStateChangeReasonCode.imageUnavailable:
      return 'IMAGE_UNAVAILABLE';
  }
}