toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ModificationResourceEnum.rootVolume:
      return 'ROOT_VOLUME';
    case ModificationResourceEnum.userVolume:
      return 'USER_VOLUME';
    case ModificationResourceEnum.computeType:
      return 'COMPUTE_TYPE';
  }
}