HttpRouteRuleMatchResponse.fromMap constructor

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

Implementation

factory HttpRouteRuleMatchResponse.fromMap(Map<String, dynamic> map) {
  return HttpRouteRuleMatchResponse(
    fullPathMatch: pulumi.Input.fromValue(map['fullPathMatch'] as String),
    headerMatches: pulumi.Input.fromValue(pulumi.Input.decodeList<HttpHeaderMatchResponse>(map['headerMatches']!, (value) => HttpHeaderMatchResponse.fromMap((value as Map).cast<String, dynamic>()))),
    ignoreCase: pulumi.Input.fromValue(map['ignoreCase'] as bool),
    metadataFilters: pulumi.Input.fromValue(pulumi.Input.decodeList<MetadataFilterResponse>(map['metadataFilters']!, (value) => MetadataFilterResponse.fromMap((value as Map).cast<String, dynamic>()))),
    pathTemplateMatch: pulumi.Input.fromValue(map['pathTemplateMatch'] as String),
    prefixMatch: pulumi.Input.fromValue(map['prefixMatch'] as String),
    queryParameterMatches: pulumi.Input.fromValue(pulumi.Input.decodeList<HttpQueryParameterMatchResponse>(map['queryParameterMatches']!, (value) => HttpQueryParameterMatchResponse.fromMap((value as Map).cast<String, dynamic>()))),
    regexMatch: pulumi.Input.fromValue(map['regexMatch'] as String),
  );
}