toMap method

Map<String, dynamic> toMap()

Implementation

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