URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicy.fromMap constructor
URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicy.fromMap()
Implementation
factory URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicy.fromMap(Map<String, dynamic> map) {
return URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicy(
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(URLMapPathMatcherPathRuleRouteActionCachePolicyNegativeCachingPolicyTtl.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
);
}