WebhookAuthenticationConfiguration.fromMap constructor
WebhookAuthenticationConfiguration.fromMap(
- Map<String, dynamic> map
)
Implementation
factory WebhookAuthenticationConfiguration.fromMap(Map<String, dynamic> map) {
return WebhookAuthenticationConfiguration(
allowedIpRange: (() { final guardedValue = map['allowedIpRange']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
secretToken: (() { final guardedValue = map['secretToken']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}