DistributionTenantCustomizationsGeoRestriction.fromMap constructor
DistributionTenantCustomizationsGeoRestriction.fromMap(
- Map<String, dynamic> map
)
Implementation
factory DistributionTenantCustomizationsGeoRestriction.fromMap(Map<String, dynamic> map) {
return DistributionTenantCustomizationsGeoRestriction(
locations: (() { final guardedValue = map['locations']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
restrictionType: (() { final guardedValue = map['restrictionType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}