copyWithWrapped method

WebhookToolConfigInput copyWithWrapped({
  1. Wrapped<String?>? id,
  2. Wrapped<String>? name,
  3. Wrapped<String>? description,
  4. Wrapped<int?>? responseTimeoutSecs,
  5. Wrapped<String?>? type,
  6. Wrapped<WebhookToolApiSchemaConfigInput>? apiSchema,
  7. Wrapped<DynamicVariablesConfig?>? dynamicVariables,
})

Implementation

WebhookToolConfigInput copyWithWrapped(
    {Wrapped<String?>? id,
    Wrapped<String>? name,
    Wrapped<String>? description,
    Wrapped<int?>? responseTimeoutSecs,
    Wrapped<String?>? type,
    Wrapped<WebhookToolApiSchemaConfigInput>? apiSchema,
    Wrapped<DynamicVariablesConfig?>? dynamicVariables}) {
  return WebhookToolConfigInput(
      id: (id != null ? id.value : this.id),
      name: (name != null ? name.value : this.name),
      description:
          (description != null ? description.value : this.description),
      responseTimeoutSecs: (responseTimeoutSecs != null
          ? responseTimeoutSecs.value
          : this.responseTimeoutSecs),
      type: (type != null ? type.value : this.type),
      apiSchema: (apiSchema != null ? apiSchema.value : this.apiSchema),
      dynamicVariables: (dynamicVariables != null
          ? dynamicVariables.value
          : this.dynamicVariables));
}