UpdateTargetRequest constructor
UpdateTargetRequest({})
Implementation
factory UpdateTargetRequest({
$core.String? id,
$core.String? name,
$1.RESTWebhook? restWebhook,
$1.RESTCall? restCall,
$1.RESTAsync? restAsync,
$2.Duration? timeout,
$core.String? endpoint,
$2.Duration? expirationSigningKey,
}) {
final result = create();
if (id != null) result.id = id;
if (name != null) result.name = name;
if (restWebhook != null) result.restWebhook = restWebhook;
if (restCall != null) result.restCall = restCall;
if (restAsync != null) result.restAsync = restAsync;
if (timeout != null) result.timeout = timeout;
if (endpoint != null) result.endpoint = endpoint;
if (expirationSigningKey != null)
result.expirationSigningKey = expirationSigningKey;
return result;
}