Target constructor
Target({
- String? targetId,
- Details? details,
- String? name,
- SetRESTWebhook? restWebhook,
- SetRESTRequestResponse? restRequestResponse,
- Duration? timeout,
- bool? isAsync,
- bool? interruptOnError,
Implementation
factory Target({
$core.String? targetId,
$1.Details? details,
$core.String? name,
SetRESTWebhook? restWebhook,
SetRESTRequestResponse? restRequestResponse,
$2.Duration? timeout,
$core.bool? isAsync,
$core.bool? interruptOnError,
}) {
final $result = create();
if (targetId != null) {
$result.targetId = targetId;
}
if (details != null) {
$result.details = details;
}
if (name != null) {
$result.name = name;
}
if (restWebhook != null) {
$result.restWebhook = restWebhook;
}
if (restRequestResponse != null) {
$result.restRequestResponse = restRequestResponse;
}
if (timeout != null) {
$result.timeout = timeout;
}
if (isAsync != null) {
$result.isAsync = isAsync;
}
if (interruptOnError != null) {
$result.interruptOnError = interruptOnError;
}
return $result;
}