toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'fullPathMatch': ?fullPathMatch,
    'headerMatches': ?pulumi.Input.mapOptionalInputValue<List<URLMapPathMatcherRouteRuleMatchRuleHeaderMatch>, List<Map<String, dynamic>>>(headerMatches, (value) => pulumi.Input.encodeList<URLMapPathMatcherRouteRuleMatchRuleHeaderMatch, Map<String, dynamic>>(value, (value) => value.toMap())),
    'ignoreCase': ?ignoreCase,
    'metadataFilters': ?pulumi.Input.mapOptionalInputValue<List<URLMapPathMatcherRouteRuleMatchRuleMetadataFilter>, List<Map<String, dynamic>>>(metadataFilters, (value) => pulumi.Input.encodeList<URLMapPathMatcherRouteRuleMatchRuleMetadataFilter, Map<String, dynamic>>(value, (value) => value.toMap())),
    'pathTemplateMatch': ?pathTemplateMatch,
    'prefixMatch': ?prefixMatch,
    'queryParameterMatches': ?pulumi.Input.mapOptionalInputValue<List<URLMapPathMatcherRouteRuleMatchRuleQueryParameterMatch>, List<Map<String, dynamic>>>(queryParameterMatches, (value) => pulumi.Input.encodeList<URLMapPathMatcherRouteRuleMatchRuleQueryParameterMatch, Map<String, dynamic>>(value, (value) => value.toMap())),
    'regexMatch': ?regexMatch,
  };
}