URLMapPathMatcherRouteRuleRouteActionCachePolicyServeWhileStale.fromMap constructor

URLMapPathMatcherRouteRuleRouteActionCachePolicyServeWhileStale.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory URLMapPathMatcherRouteRuleRouteActionCachePolicyServeWhileStale.fromMap(Map<String, dynamic> map) {
  return URLMapPathMatcherRouteRuleRouteActionCachePolicyServeWhileStale(
    nanos: (() { final guardedValue = map['nanos']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
    seconds: pulumi.Input.fromValue(map['seconds'] as String),
  );
}