toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'authentication': authentication,
'authenticationConfiguration': ?pulumi.Input.mapOptionalInputValue<WebhookAuthenticationConfiguration, Map<String, dynamic>>(authenticationConfiguration, (value) => value.toMap()),
'filters': pulumi.Input.mapInputValue<List<WebhookFilter>, List<Map<String, dynamic>>>(filters, (value) => pulumi.Input.encodeList<WebhookFilter, Map<String, dynamic>>(value, (value) => value.toMap())),
'name': ?name,
'region': ?region,
'tags': ?tags,
'targetAction': targetAction,
'targetPipeline': targetPipeline,
};
}