toLicenseCountingType method
Implementation
LicenseCountingType toLicenseCountingType() {
switch (this) {
case 'vCPU':
return LicenseCountingType.vcpu;
case 'Instance':
return LicenseCountingType.instance;
case 'Core':
return LicenseCountingType.core;
case 'Socket':
return LicenseCountingType.socket;
}
throw Exception('$this is not known in enum LicenseCountingType');
}