HttpHeaderMatchResponseComputeBeta.fromMap constructor

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

Implementation

factory HttpHeaderMatchResponseComputeBeta.fromMap(Map<String, dynamic> map) {
  return HttpHeaderMatchResponseComputeBeta(
    exactMatch: pulumi.Input.fromValue(map['exactMatch'] as String),
    headerName: pulumi.Input.fromValue(map['headerName'] as String),
    invertMatch: pulumi.Input.fromValue(map['invertMatch'] as bool),
    prefixMatch: pulumi.Input.fromValue(map['prefixMatch'] as String),
    presentMatch: pulumi.Input.fromValue(map['presentMatch'] as bool),
    rangeMatch: pulumi.Input.fromValue(Int64RangeMatchResponseComputeBeta.fromMap((map['rangeMatch']! as Map).cast<String, dynamic>())),
    regexMatch: pulumi.Input.fromValue(map['regexMatch'] as String),
    suffixMatch: pulumi.Input.fromValue(map['suffixMatch'] as String),
  );
}