URLMapPathMatcherDefaultRouteActionCachePolicyNegativeCachingPolicy.fromMap constructor
URLMapPathMatcherDefaultRouteActionCachePolicyNegativeCachingPolicy.fromMap()
Implementation
factory URLMapPathMatcherDefaultRouteActionCachePolicyNegativeCachingPolicy.fromMap(Map<String, dynamic> map) {
return URLMapPathMatcherDefaultRouteActionCachePolicyNegativeCachingPolicy(
code: (() { final guardedValue = map['code']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
ttl: (() { final guardedValue = map['ttl']; if (guardedValue == null) return null; return pulumi.Input.fromValue(URLMapPathMatcherDefaultRouteActionCachePolicyNegativeCachingPolicyTtl.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
);
}