UptimeCheckConfigContentMatcherJsonPathMatcher.fromMap constructor

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

Implementation

factory UptimeCheckConfigContentMatcherJsonPathMatcher.fromMap(Map<String, dynamic> map) {
  return UptimeCheckConfigContentMatcherJsonPathMatcher(
    jsonMatcher: (() { final guardedValue = map['jsonMatcher']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    jsonPath: pulumi.Input.fromValue(map['jsonPath'] as String),
  );
}