Webhook constructor
Webhook({
- String? name,
- String? displayName,
- Webhook_GenericWebService? genericWebService,
- bool? disabled,
- Duration? timeout,
Implementation
factory Webhook({
$core.String? name,
$core.String? displayName,
Webhook_GenericWebService? genericWebService,
$core.bool? disabled,
$22.Duration? timeout,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (displayName != null) {
_result.displayName = displayName;
}
if (genericWebService != null) {
_result.genericWebService = genericWebService;
}
if (disabled != null) {
_result.disabled = disabled;
}
if (timeout != null) {
_result.timeout = timeout;
}
return _result;
}