toValue method
Implementation
String toValue() {
switch (this) {
case RequestCancelActivityTaskFailedCause.activityIdUnknown:
return 'ACTIVITY_ID_UNKNOWN';
case RequestCancelActivityTaskFailedCause.operationNotPermitted:
return 'OPERATION_NOT_PERMITTED';
}
}