Casts this RestrictedPeriods as a RestrictedPeriodList and retrieves its kotlin.collections.List value. Throws an exception if the RestrictedPeriods is not a RestrictedPeriodList.