# codegen: do not edit
defmodule GenLSP.Structures.DiagnosticServerCancellationData do
  @moduledoc """
  Cancellation data returned from a diagnostic request.

  @since 3.17.0
  """

  import SchematicV, warn: false

  use TypedStruct

  @doc """
  ## Fields

  * retrigger_request
  """

  typedstruct do
    field(:retrigger_request, boolean(), enforce: true)
  end

  @doc false
  @spec schematic() :: SchematicV.t()
  def schematic() do
    schema(__MODULE__, %{
      {"retriggerRequest", :retrigger_request} => bool()
    })
  end
end
