toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'fullPathMatch': fullPathMatch,
    'headerMatches': pulumi.Input.mapInputValue<List<HttpHeaderMatchResponse>, List<Map<String, dynamic>>>(headerMatches, (value) => pulumi.Input.encodeList<HttpHeaderMatchResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
    'ignoreCase': ignoreCase,
    'metadataFilters': pulumi.Input.mapInputValue<List<MetadataFilterResponse>, List<Map<String, dynamic>>>(metadataFilters, (value) => pulumi.Input.encodeList<MetadataFilterResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
    'pathTemplateMatch': pathTemplateMatch,
    'prefixMatch': prefixMatch,
    'queryParameterMatches': pulumi.Input.mapInputValue<List<HttpQueryParameterMatchResponse>, List<Map<String, dynamic>>>(queryParameterMatches, (value) => pulumi.Input.encodeList<HttpQueryParameterMatchResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
    'regexMatch': regexMatch,
  };
}