toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'cacheBypassRequestHeaderNames': ?cacheBypassRequestHeaderNames,
    'cacheKeyPolicy': ?pulumi.Input.mapOptionalInputValue<URLMapPathMatcherRouteRuleRouteActionCachePolicyCacheKeyPolicy, Map<String, dynamic>>(cacheKeyPolicy, (value) => value.toMap()),
    'cacheMode': ?cacheMode,
    'clientTtl': ?pulumi.Input.mapOptionalInputValue<URLMapPathMatcherRouteRuleRouteActionCachePolicyClientTtl, Map<String, dynamic>>(clientTtl, (value) => value.toMap()),
    'defaultTtl': ?pulumi.Input.mapOptionalInputValue<URLMapPathMatcherRouteRuleRouteActionCachePolicyDefaultTtl, Map<String, dynamic>>(defaultTtl, (value) => value.toMap()),
    'maxTtl': ?pulumi.Input.mapOptionalInputValue<URLMapPathMatcherRouteRuleRouteActionCachePolicyMaxTtl, Map<String, dynamic>>(maxTtl, (value) => value.toMap()),
    'negativeCaching': ?negativeCaching,
    'negativeCachingPolicies': ?pulumi.Input.mapOptionalInputValue<List<URLMapPathMatcherRouteRuleRouteActionCachePolicyNegativeCachingPolicy>, List<Map<String, dynamic>>>(negativeCachingPolicies, (value) => pulumi.Input.encodeList<URLMapPathMatcherRouteRuleRouteActionCachePolicyNegativeCachingPolicy, Map<String, dynamic>>(value, (value) => value.toMap())),
    'requestCoalescing': ?requestCoalescing,
    'serveWhileStale': ?pulumi.Input.mapOptionalInputValue<URLMapPathMatcherRouteRuleRouteActionCachePolicyServeWhileStale, Map<String, dynamic>>(serveWhileStale, (value) => value.toMap()),
  };
}