UpdateTargetRequest constructor

UpdateTargetRequest({
  1. String? id,
  2. String? name,
  3. RESTWebhook? restWebhook,
  4. RESTCall? restCall,
  5. RESTAsync? restAsync,
  6. Duration? timeout,
  7. String? endpoint,
  8. Duration? expirationSigningKey,
})

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;
}