toValue method
Implementation
String toValue() {
switch (this) {
case AllowedOperation.createGrant:
return 'CreateGrant';
case AllowedOperation.checkoutLicense:
return 'CheckoutLicense';
case AllowedOperation.checkoutBorrowLicense:
return 'CheckoutBorrowLicense';
case AllowedOperation.checkInLicense:
return 'CheckInLicense';
case AllowedOperation.extendConsumptionLicense:
return 'ExtendConsumptionLicense';
case AllowedOperation.listPurchasedLicenses:
return 'ListPurchasedLicenses';
case AllowedOperation.createToken:
return 'CreateToken';
}
}