toAccountLimitType method
Implementation
AccountLimitType toAccountLimitType() {
switch (this) {
case 'MAX_HEALTH_CHECKS_BY_OWNER':
return AccountLimitType.maxHealthChecksByOwner;
case 'MAX_HOSTED_ZONES_BY_OWNER':
return AccountLimitType.maxHostedZonesByOwner;
case 'MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER':
return AccountLimitType.maxTrafficPolicyInstancesByOwner;
case 'MAX_REUSABLE_DELEGATION_SETS_BY_OWNER':
return AccountLimitType.maxReusableDelegationSetsByOwner;
case 'MAX_TRAFFIC_POLICIES_BY_OWNER':
return AccountLimitType.maxTrafficPoliciesByOwner;
}
throw Exception('$this is not known in enum AccountLimitType');
}