toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceType.gpu:
      return 'GPU';
    case ResourceType.inferenceAccelerator:
      return 'InferenceAccelerator';
  }
}